Flash

Topics regarding the Uzebox hardware/AVCore/BaseBoard (i.e: PCB, resistors, connectors, part list, schematics, hardware issues, etc.) should go here.
Post Reply
User avatar
Angel
Posts: 55
Joined: Fri Oct 10, 2008 7:56 pm

Flash

Post by Angel »

Hi!

Can I rewrite memory flash while the program is running? :oops: :oops:

Thanks
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Flash

Post by uze6666 »

Hi Angel,

Yes, but there's a catch. The write instructions must be located in the bootloader section or otherwise the write will fail. The bootloader section is up to 8K, with the game loader taking 4K. Maybe you could put self-flash code in that 4K below the bootloader. That would need to be tested.

Get a look at this document, it explains the "self-flashing" on AVRs: http://www.atmel.com/dyn/resources/prod ... oc1644.pdf.

If you intend to use self flashing from games, be aware the the emulator does not support this right now.

-Uze
Post Reply