1 -------------------------------------------------------------------------------
2 AVR ISP / Atmel ATmega88
3 -------------------------------------------------------------------------------
5 This is a set of example captures of the AVR in-system programming (ISP)
8 The device used for ISP was a USBprog with AVRISP mkII compatible firmware.
10 The target was a board with an Atmel ATmega88 chip.
12 The PC software used for controlling the programmer was avrdude 5.11.1.
15 http://www.atmel.com/images/doc0943.pdf ("AVR910: In-System Programming")
16 http://www.usbprog.org
17 http://www.atmel.com/devices/atmega88.aspx
18 http://www.nongnu.org/avrdude/
24 The logic analyzer used was a Saleae Logic (at 4MHz):
27 -------------------------
37 The following avrdude commands were captured:
39 avrdude -c avrisp2 -P usb -p m88 -vvv
40 avrdude -c avrisp2 -P usb -p m88 -e -vvv
41 avrdude -c avrisp2 -P usb -p m88 -U lfuse:r:lfuse.hex:i -vvv
42 avrdude -c avrisp2 -P usb -p m88 -U flash:r:empty.dd:r -vvv
44 The respective avrdude output is available in avrdude_log*.txt and lfuse.hex.
46 The sigrok command line used was:
48 sigrok-cli -d fx2lafw:samplerate=4mhz -p 1=MOSI,2=RST,3=SCK,4=MISO \
49 -o <file> --time <time>