background image

 

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  

Содержание AVR1605

Страница 1: ...designs evolve rapidly there is a growing need for being able to update Products which have already been shipped or sold It may prove difficult to make changes to the hardware especially if the produc...

Страница 2: ...2 AVR1605 8242A AVR 05 09 Figure 1 1 Purpose of Bootloader...

Страница 3: ...rts marked CAN Male Type and RS232 Female Type Connect a serial cable between the PC and the RS232 Female Type port of STK600 On STK600 connect the PD4 pin to the SW0 pin to use micro switch SW0 to en...

Страница 4: ...4 AVR1605 8242A AVR 05 09 Figure 2 2 1 PATH Configuration 1 Figure 2 2 2 PATH Configuration 2...

Страница 5: ...dio and run the application while keeping SW0 pressed on the STK600 Check the LED status of the Tool In Programming mode the program receives commands from AVROSP via the UART Each command executes an...

Страница 6: ...he device wait in bootloader section are done Press both External RESET and SW0 on STK600 and release the RESET first and then the SW0 In the current working folder double click run the batch program...

Страница 7: ...e batch file x128A1_flash_write_file bat The batch file runs the following command to program and verify the flash memory AVROSP dATxmega128A1 e ifflash hex pf vf Table 3 2 1 Command Description Comma...

Страница 8: ...ging session will perform a chip erase Now the application will wait for the letter E through USART0 To verify the application that was downloaded to the flash in the previous chapter we must write th...

Страница 9: ...ader 3 4 Write a file to 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 th...

Страница 10: ...er 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...

Страница 11: ...a tool for generating documentation from source code by analyzing the source code and using special keywords For more details about Doxygen please visit http www doxygen org Precompiled Doxygen docume...

Страница 12: ...STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIABLE...

Отзывы: