]> sigrok.org Git - sigrok-test.git/commitdiff
avr_isp: add test for ATmega328/P master github/master
authorSimon Ruderich <redacted>
Sat, 10 Feb 2024 14:17:46 +0000 (15:17 +0100)
committerSoeren Apel <redacted>
Tue, 27 Feb 2024 19:29:51 +0000 (20:29 +0100)
decoder/test/avr_isp/atmega328p_scan.output [new file with mode: 0644]
decoder/test/avr_isp/test.conf

diff --git a/decoder/test/avr_isp/atmega328p_scan.output b/decoder/test/avr_isp/atmega328p_scan.output
new file mode 100644 (file)
index 0000000..7ec7403
--- /dev/null
@@ -0,0 +1,5 @@
+216006-220484 avr_isp: pe: "Programming enable"
+216006-220484 avr_isp: warning: "Warning: Unexpected bytes in reply!"
+343940-348418 avr_isp: rsb0: "Vendor code: 0x1e (Atmel)"
+471874-476352 avr_isp: rsb1: "Part family / memory size: 0x95"
+599805-604283 avr_isp: rsb2: "Part number: 0x0f"
index f164fcc9d19f3595c3e8060ffd3c561c5651f901..3ef431a051b4dae0aa8daf78b1580b04319ca299 100644 (file)
@@ -18,3 +18,10 @@ test atmega88_read_lfuse
        stack spi avr_isp
        input avr_isp/atmega88/isp_atmega88_read_lfuse.sr
        output avr_isp annotation match atmega88_read_lfuse.output
+
+test atmega328p_scan
+       protocol-decoder spi channel clk=2 channel mosi=0 channel miso=1
+       protocol-decoder avr_isp
+       stack spi avr_isp
+       input avr_isp/atmega328p/isp_atmega328p_buspirate_scan.sr
+       output avr_isp annotation match atmega328p_scan.output