10
AVR1605
8242A-AVR-05/09
Figure 3.4-1
writing a file to EEPROM
In AVR Studio start a debug session, select memory view from the View menu. Select
EEPROM and verify that the string is located at address 0x00 as in Figure 3.4-2
EEPROM visual verification to verify that the string from eeprom.hex was written
correctly.
Figure 3.4-2
EEPROM visual verification
3.5 File dump from memory
3.5.1 EEPROM
Ensure that the steps to make the device wait in bootloader section are done [Press
both External RESET and SW0 buttons on STK600 and release the RESET first and
then the SW0].
Run the batch file x128A1_eeprom_dump.bat which has the AVROSP command
given below to dump the contents of the EEPROM to the file edump.hex
AVROSP -dATxmega128A1 -re -oeedump.hex
3.5.2 FLASH
Ensure that the steps to make the device wait in bootloader section are done [Press
both External RESET and SW0 buttons on STK600 and release the RESET first and
then the SW0].
Run the batch file x128A1_flash_dump.bat which has the AVROSP command given
below to dump the contents of the FLASH to the file
fdump.hex
AVROSP -dATxmega128A1 -rf -offdump.hex