]> sigrok.org Git - sigrok-dumps.git/blame - avr_isp/atmega88/README
realtek_alc655: Add an even shorter snippet.
[sigrok-dumps.git] / avr_isp / atmega88 / README
CommitLineData
b0963b34
UH
1-------------------------------------------------------------------------------
2AVR ISP / Atmel ATmega88
3-------------------------------------------------------------------------------
4
5This is a set of example captures of the AVR in-system programming (ISP)
6protocol.
7
8The device used for ISP was a USBprog with AVRISP mkII compatible firmware.
9
10The target was a board with an Atmel ATmega88 chip.
11
12The PC software used for controlling the programmer was avrdude 5.11.1.
13
14Details:
15http://www.atmel.com/images/doc0943.pdf ("AVR910: In-System Programming")
16http://www.usbprog.org
17http://www.atmel.com/devices/atmega88.aspx
18http://www.nongnu.org/avrdude/
19
20
21Logic analyzer setup
22--------------------
23
24The logic analyzer used was a Saleae Logic (at 4MHz):
25
26 Probe AVR ISP header
27 -------------------------
28 1 (black) MOSI
29 2 (brown) RST
30 3 (red) SCK
31 4 (orange) MISO
32
33
34Data
35----
36
88eebacb
UH
37The following avrdude commands were captured:
38
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
43
44The respective avrdude output is available in avrdude_log*.txt and lfuse.hex.
45
b0963b34
UH
46The sigrok command line used was:
47
48 sigrok-cli -d fx2lafw:samplerate=4mhz -p 1=MOSI,2=RST,3=SCK,4=MISO \
49 -o <file> --time <time>
50