From: Simon Ruderich Date: Sat, 10 Feb 2024 14:17:46 +0000 (+0100) Subject: avr_isp: add test for ATmega328/P X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=commitdiff_plain avr_isp: add test for ATmega328/P --- diff --git a/decoder/test/avr_isp/atmega328p_scan.output b/decoder/test/avr_isp/atmega328p_scan.output new file mode 100644 index 0000000..7ec7403 --- /dev/null +++ b/decoder/test/avr_isp/atmega328p_scan.output @@ -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" diff --git a/decoder/test/avr_isp/test.conf b/decoder/test/avr_isp/test.conf index f164fcc..3ef431a 100644 --- a/decoder/test/avr_isp/test.conf +++ b/decoder/test/avr_isp/test.conf @@ -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