]> sigrok.org Git - sigrok-test.git/commitdiff
eeprom93xx: Add a test-case for the new format=ascii option.
authorUwe Hermann <redacted>
Thu, 29 Aug 2019 23:24:38 +0000 (01:24 +0200)
committerUwe Hermann <redacted>
Thu, 29 Aug 2019 23:25:10 +0000 (01:25 +0200)
decoder/test/eeprom93xx/st_m93c66_ascii.output [new file with mode: 0644]
decoder/test/eeprom93xx/test.conf

diff --git a/decoder/test/eeprom93xx/st_m93c66_ascii.output b/decoder/test/eeprom93xx/st_m93c66_ascii.output
new file mode 100644 (file)
index 0000000..87c91d1
--- /dev/null
@@ -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"
index 62861fc199c5489f3ceb39f092fa0359620b62fe..955f69440a5f4daecca1554168545d47eceeba12 100644 (file)
@@ -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