Subversion Repositories usb_fpga_1_11
[/] [usb_fpga_1_11/] [trunk/] [examples/] [usb-xmega-1.0/] [flashdemo/] [Readme] - Rev 3
Compare with Previous | Blame | View Log
flashdemo---------This example demonstrates how data can be read and written to/from theFlash memory.During the start-up the firmware (defined in flashdemo.c) reads thenumber of last sector n from sector 0 (dword at position 0) andincrements it by one. If n is larger than or equal to the total amountof sectors, or if it is equal to 0, n is set to 1.Then n is written back to sector 0 and sector n is filled with thestring "Hello World!".The host software (defined in FlashDemo.java) reads out the string fromthe last sector of the flash memory.
