gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > How to save data to main flash rom from GBA code

#23908 - jobim - Sat Jul 24, 2004 1:27 am

Hi.

I want to know how can we write data to main flash rom from GBA code.
I know similar topics by pbmtp (May, 2003) and nitro2k01 (Nov, 2003) to mine. but cannot find out answers I want.

I have a GBA and a flash2advance cart, and want use it as storage device for data logger.

Please tell me the sequence of writing data for F2A cart.

Thanks

#23909 - phonymike - Sat Jul 24, 2004 1:39 am

I haven't actually used it, but you can find source code under Sources -> Computer -> Sends Tools -> GBA Flinker 1.72. you're in luck cause it'll only work with visoly cards, other cards have different protocols. the cartlib.c has all the code to erase, write etc.

#23911 - jobim - Sat Jul 24, 2004 2:21 am

Thanks, phonymike.

I already have tried it, but could't.
Continuously, I'm now trying to use cartlib.c for F2A cart by modifying the code.

If you have more info, please help me.

Cheers.