t1.eep
Type avrdude -c usbasp -p m128 -P usb -U eeprom:r:"c:\test1.eep":i
********************************************************************************
****************************************
Eg 6. Read the contents of HFUSE and LFUSE and store them in files hfuse.hex and
lfuse.hex
Type avrdude -c usbasp -p m128 -P usb -U hfuse:r:"c:\hfuse.hex":i -U lfuse:r:"c:
\lfuse.hex":i
********************************************************************************
****************************************
Eg 7. Read device signature bytes and store them in a file called sig.hex
Type avrdude -c usbasp -p m128 -P usb -U signature:r:"c:\signature.hex":i
Note: - The signature bytes are fixed for a specific AVR device
********************************************************************************
****************************************
Eg 8. Read device lock bytes and store them in a file called lock.hex
Type avrdude -c usbasp -p m128 -P usb -U lock:r:"c:\lock.hex":i
********************************************************************************
****************************************
Eg 9.Read device RC oscillator calibration bytes and store them in a file called
calibration.hex
Type avrdude -c usbasp -p m128 -P usb -U calibration:r:"c:\calibration.hex":i
********************************************************************************
****************************************
Eg 10. Erase the chip
Type avrdude -c usbasp -p m128 -P usb -e
********************************************************************************
****************************************
Eg 11. Entering terminal mode
In this mode you can communicate with the AVR device in an interactive ma
nner. This mode is useful for Reading/Writing
single bytes into the devic
e
Type avrdude -c usbasp -P usb -p m128 -t
In this mode you can issue commands that read/write data from the AVR device.
********************************************************************************
****************************************
Eg 12. In the interactive mode dump contents of flash memory from location 0 to
location 128
Type dump flash 0 128
********************************************************************************
****************************************
Eg 13. In the interactive mode dump another N bytes of flash memory from where t
********************************************************************************
****************************************
Eg 22. Dump the contents of the EEPROM from location 0 to 9 (In interactive mode
)
Type dump eeprom 0 9
********************************************************************************
****************************************
Eg 23. Quit avrdude (In interactive mode)
Type quit
********************************************************************************
****************************************