From: Gerhard Sittig Date: Sun, 2 Aug 2020 19:17:16 +0000 (+0200) Subject: avr_isp: catch up with warning class for "unknown command" message X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3afd4d70eecb7d6d0a2eb78a5ab4d159d8655f34;p=sigrok-test.git avr_isp: catch up with warning class for "unknown command" message The decoder implementation moved the "Unknown command" message from the PE annotation class (programming enable instruction) to warnings. Adjust the test expectation. --- diff --git a/decoder/test/avr_isp/atmega88_erase_chip.output b/decoder/test/avr_isp/atmega88_erase_chip.output index 39b06ca..5e0e120 100644 --- a/decoder/test/avr_isp/atmega88_erase_chip.output +++ b/decoder/test/avr_isp/atmega88_erase_chip.output @@ -13,10 +13,10 @@ 5264650-5265998 avr_isp: refb: "Read extended fuse bits: 0xf9" 5281330-5282678 avr_isp: refb: "Read extended fuse bits: 0xf9" 5297338-5298687 avr_isp: refb: "Read extended fuse bits: 0xf9" -5312699-5314048 avr_isp: pe: "Unknown command: a0 01 fc 00 (reply: 00 a0 01 ff)!" -5329353-5330702 avr_isp: pe: "Unknown command: a0 01 fd 00 (reply: 00 a0 01 ff)!" -5344691-5346042 avr_isp: pe: "Unknown command: a0 01 fe 00 (reply: 00 a0 01 ff)!" -5360931-5362282 avr_isp: pe: "Unknown command: a0 01 ff 00 (reply: 00 a0 01 ff)!" +5312699-5314048 avr_isp: warning: "Unknown command: a0 01 fc 00 (reply: 00 a0 01 ff)!" +5329353-5330702 avr_isp: warning: "Unknown command: a0 01 fd 00 (reply: 00 a0 01 ff)!" +5344691-5346042 avr_isp: warning: "Unknown command: a0 01 fe 00 (reply: 00 a0 01 ff)!" +5360931-5362282 avr_isp: warning: "Unknown command: a0 01 ff 00 (reply: 00 a0 01 ff)!" 5376907-5378241 avr_isp: ce: "Chip erase" 5674961-5676308 avr_isp: pe: "Programming enable" 5674961-5676308 avr_isp: warning: "Warning: Unexpected bytes in reply!" diff --git a/decoder/test/avr_isp/atmega88_read_lfuse.output b/decoder/test/avr_isp/atmega88_read_lfuse.output index 39aa88f..86da65f 100644 --- a/decoder/test/avr_isp/atmega88_read_lfuse.output +++ b/decoder/test/avr_isp/atmega88_read_lfuse.output @@ -13,10 +13,10 @@ 6026034-6027382 avr_isp: refb: "Read extended fuse bits: 0xf9" 6041368-6042716 avr_isp: refb: "Read extended fuse bits: 0xf9" 6057592-6058940 avr_isp: refb: "Read extended fuse bits: 0xf9" -6073389-6074740 avr_isp: pe: "Unknown command: a0 01 fc 00 (reply: 00 a0 01 ff)!" -6090091-6091442 avr_isp: pe: "Unknown command: a0 01 fd 00 (reply: 00 a0 01 ff)!" -6106091-6107442 avr_isp: pe: "Unknown command: a0 01 fe 00 (reply: 00 a0 01 ff)!" -6121409-6122760 avr_isp: pe: "Unknown command: a0 01 ff 00 (reply: 00 a0 01 ff)!" +6073389-6074740 avr_isp: warning: "Unknown command: a0 01 fc 00 (reply: 00 a0 01 ff)!" +6090091-6091442 avr_isp: warning: "Unknown command: a0 01 fd 00 (reply: 00 a0 01 ff)!" +6106091-6107442 avr_isp: warning: "Unknown command: a0 01 fe 00 (reply: 00 a0 01 ff)!" +6121409-6122760 avr_isp: warning: "Unknown command: a0 01 ff 00 (reply: 00 a0 01 ff)!" 6138099-6139448 avr_isp: rfb: "Read fuse bits: 0xff" 6153440-6154789 avr_isp: rfb: "Read fuse bits: 0xff" 6170107-6171456 avr_isp: rfb: "Read fuse bits: 0xff" diff --git a/decoder/test/avr_isp/atmega88_scan.output b/decoder/test/avr_isp/atmega88_scan.output index 4369f69..b26abdd 100644 --- a/decoder/test/avr_isp/atmega88_scan.output +++ b/decoder/test/avr_isp/atmega88_scan.output @@ -13,10 +13,10 @@ 6604121-6605470 avr_isp: refb: "Read extended fuse bits: 0xf9" 6620800-6622149 avr_isp: refb: "Read extended fuse bits: 0xf9" 6636153-6637502 avr_isp: refb: "Read extended fuse bits: 0xf9" -6652190-6653540 avr_isp: pe: "Unknown command: a0 01 fc 00 (reply: 00 a0 01 ff)!" -6668387-6669738 avr_isp: pe: "Unknown command: a0 01 fd 00 (reply: 00 a0 01 ff)!" -6684163-6685514 avr_isp: pe: "Unknown command: a0 01 fe 00 (reply: 00 a0 01 ff)!" -6700843-6702194 avr_isp: pe: "Unknown command: a0 01 ff 00 (reply: 00 a0 01 ff)!" +6652190-6653540 avr_isp: warning: "Unknown command: a0 01 fc 00 (reply: 00 a0 01 ff)!" +6668387-6669738 avr_isp: warning: "Unknown command: a0 01 fd 00 (reply: 00 a0 01 ff)!" +6684163-6685514 avr_isp: warning: "Unknown command: a0 01 fe 00 (reply: 00 a0 01 ff)!" +6700843-6702194 avr_isp: warning: "Unknown command: a0 01 ff 00 (reply: 00 a0 01 ff)!" 6716410-6717759 avr_isp: rfb: "Read fuse bits: 0xff" 6732620-6733969 avr_isp: rfb: "Read fuse bits: 0xff" 6748623-6749972 avr_isp: rfb: "Read fuse bits: 0xff"