From: Uwe Hermann Date: Thu, 29 Aug 2019 23:24:38 +0000 (+0200) Subject: eeprom93xx: Add a test-case for the new format=ascii option. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1a19c393c8be8588e2e377dfdc7b70b1d24f8f31;p=sigrok-test.git eeprom93xx: Add a test-case for the new format=ascii option. --- diff --git a/decoder/test/eeprom93xx/st_m93c66_ascii.output b/decoder/test/eeprom93xx/st_m93c66_ascii.output new file mode 100644 index 0000000..87c91d1 --- /dev/null +++ b/decoder/test/eeprom93xx/st_m93c66_ascii.output @@ -0,0 +1,19 @@ +2530-2557 eeprom93xx: si-data: "Read word" "READ" +2557-2671 eeprom93xx: si-data: "Address: 0x0" "Addr: 0x0" "0x0" +2671-2908 eeprom93xx: so-data: "Data: BB" "BB" +3301-3329 eeprom93xx: si-data: "Read word" "READ" +3329-3443 eeprom93xx: si-data: "Address: 0x0" "Addr: 0x0" "0x0" +3443-3678 eeprom93xx: so-data: "Data: BB" "BB" +3678-3913 eeprom93xx: so-data: "Data: BB" "BB" +3913-4148 eeprom93xx: so-data: "Data: BB" "BB" +4148-4385 eeprom93xx: so-data: "Data: BB" "BB" +4749-4889 eeprom93xx: si-data: "Write enable" "WEN" +5254-5281 eeprom93xx: si-data: "Erase word" "ERASE" +5281-5394 eeprom93xx: si-data: "Address: 0x0" "Addr: 0x0" "0x0" +11136-11277 eeprom93xx: si-data: "Erase all memory" "Erase all" "ERAL" +17132-17159 eeprom93xx: si-data: "Write word" "WRITE" +17159-17273 eeprom93xx: si-data: "Address: 0x0" "Addr: 0x0" "0x0" +17273-17492 eeprom93xx: si-data: "Data: BB" "BB" +28751-28892 eeprom93xx: si-data: "Write all memory" "Write all" "WRAL" +28892-29112 eeprom93xx: si-data: "Data: BB" "BB" +40469-40610 eeprom93xx: si-data: "Write disable" "WDS" diff --git a/decoder/test/eeprom93xx/test.conf b/decoder/test/eeprom93xx/test.conf index 62861fc..955f694 100644 --- a/decoder/test/eeprom93xx/test.conf +++ b/decoder/test/eeprom93xx/test.conf @@ -4,3 +4,10 @@ test st_m93c66 stack microwire eeprom93xx input microwire/st_m93c66/st_m93c66.sr output eeprom93xx annotation match st_m93c66.output + +test st_m93c66_ascii + protocol-decoder microwire channel cs=1 channel sk=3 channel si=4 channel so=5 + protocol-decoder eeprom93xx option format=ascii + stack microwire eeprom93xx + input microwire/st_m93c66/st_m93c66.sr + output eeprom93xx annotation match st_m93c66_ascii.output