From 59c88d4fadb15931aa87ef035dec17752e6aa238 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 24 Dec 2015 02:27:46 +0100 Subject: Add OUTPUT_BINARY test-cases for all PDs. --- .../amfpga-cpld-board-fx2-init.bin_binary | 2 ++ .../lcsoft-mini-board-fx2-init.bin_binary | 2 ++ .../eeprom24xx/sla24c02-s-3_powerup.bin_binary | 3 ++ .../st_m24c02_powerup_and_reset.bin_binary | 5 +++ decoder/test/eeprom24xx/test.conf | 5 +++ .../trekstor_ebr30_a_i2c_0x15.bin_binary | 39 ++++++++++++++++++++++ 6 files changed, 56 insertions(+) create mode 100644 decoder/test/eeprom24xx/amfpga-cpld-board-fx2-init.bin_binary create mode 100644 decoder/test/eeprom24xx/lcsoft-mini-board-fx2-init.bin_binary create mode 100644 decoder/test/eeprom24xx/sla24c02-s-3_powerup.bin_binary create mode 100644 decoder/test/eeprom24xx/st_m24c02_powerup_and_reset.bin_binary create mode 100644 decoder/test/eeprom24xx/trekstor_ebr30_a_i2c_0x15.bin_binary (limited to 'decoder/test/eeprom24xx') diff --git a/decoder/test/eeprom24xx/amfpga-cpld-board-fx2-init.bin_binary b/decoder/test/eeprom24xx/amfpga-cpld-board-fx2-init.bin_binary new file mode 100644 index 0000000..0276793 --- /dev/null +++ b/decoder/test/eeprom24xx/amfpga-cpld-board-fx2-init.bin_binary @@ -0,0 +1,2 @@ +428410-430095 eeprom24xx: ff +430095-434271 eeprom24xx: 00 ff diff --git a/decoder/test/eeprom24xx/lcsoft-mini-board-fx2-init.bin_binary b/decoder/test/eeprom24xx/lcsoft-mini-board-fx2-init.bin_binary new file mode 100644 index 0000000..db2996c --- /dev/null +++ b/decoder/test/eeprom24xx/lcsoft-mini-board-fx2-init.bin_binary @@ -0,0 +1,2 @@ +358102-359806 eeprom24xx: ff +359806-363238 eeprom24xx: ff diff --git a/decoder/test/eeprom24xx/sla24c02-s-3_powerup.bin_binary b/decoder/test/eeprom24xx/sla24c02-s-3_powerup.bin_binary new file mode 100644 index 0000000..df07a0a --- /dev/null +++ b/decoder/test/eeprom24xx/sla24c02-s-3_powerup.bin_binary @@ -0,0 +1,3 @@ +3396089-3465359 eeprom24xx: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 01 01 00 ff ff fc ff +3468589-3473029 eeprom24xx: 01 +10710995-10717919 eeprom24xx: 00 diff --git a/decoder/test/eeprom24xx/st_m24c02_powerup_and_reset.bin_binary b/decoder/test/eeprom24xx/st_m24c02_powerup_and_reset.bin_binary new file mode 100644 index 0000000..c4d1e33 --- /dev/null +++ b/decoder/test/eeprom24xx/st_m24c02_powerup_and_reset.bin_binary @@ -0,0 +1,5 @@ +2946046-3015403 eeprom24xx: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff +3017360-3021800 eeprom24xx: 00 +10261337-10268223 eeprom24xx: 01 +10283350-10287436 eeprom24xx: 01 +10312208-10321188 eeprom24xx: 00 diff --git a/decoder/test/eeprom24xx/test.conf b/decoder/test/eeprom24xx/test.conf index bf8e026..8ee5bce 100644 --- a/decoder/test/eeprom24xx/test.conf +++ b/decoder/test/eeprom24xx/test.conf @@ -4,6 +4,7 @@ test lcsoft-mini-board-fx2-init stack i2c eeprom24xx input i2c/eeprom_24xx/atmel_at24c128/lcsoft-mini-board-fx2-init.sr output eeprom24xx annotation match lcsoft-mini-board-fx2-init.output + output eeprom24xx binary class binary match lcsoft-mini-board-fx2-init.bin_binary test amfpga-cpld-board-fx2-init protocol-decoder i2c channel scl=0 channel sda=1 @@ -11,6 +12,7 @@ test amfpga-cpld-board-fx2-init stack i2c eeprom24xx input i2c/eeprom_24xx/microchip_24lc64/amfpga-cpld-board-fx2-init.sr output eeprom24xx annotation match amfpga-cpld-board-fx2-init.output + output eeprom24xx binary class binary match amfpga-cpld-board-fx2-init.bin_binary test sla24c02-s-3_powerup protocol-decoder i2c channel scl=5 channel sda=4 @@ -18,6 +20,7 @@ test sla24c02-s-3_powerup stack i2c eeprom24xx input i2c/eeprom_24xx/siemens_sla24c02-s-3/sla24c02-s-3_powerup.sr output eeprom24xx annotation match sla24c02-s-3_powerup.output + output eeprom24xx binary class binary match sla24c02-s-3_powerup.bin_binary test st_m24c02_powerup_and_reset protocol-decoder i2c channel scl=5 channel sda=4 @@ -25,6 +28,7 @@ test st_m24c02_powerup_and_reset stack i2c eeprom24xx input i2c/eeprom_24xx/st_m24c02/st_m24c02_powerup_and_reset.sr output eeprom24xx annotation match st_m24c02_powerup_and_reset.output + output eeprom24xx binary class binary match st_m24c02_powerup_and_reset.bin_binary test trekstor_ebr30_a_i2c_0x15 protocol-decoder i2c channel scl=0 channel sda=1 @@ -33,3 +37,4 @@ test trekstor_ebr30_a_i2c_0x15 stack i2c i2cfilter eeprom24xx input i2c/trekstor_ebr30_a/trekstor_ebr30_a_i2c_0x15.sr output eeprom24xx annotation match trekstor_ebr30_a_i2c_0x15.output + output eeprom24xx binary class binary match trekstor_ebr30_a_i2c_0x15.bin_binary diff --git a/decoder/test/eeprom24xx/trekstor_ebr30_a_i2c_0x15.bin_binary b/decoder/test/eeprom24xx/trekstor_ebr30_a_i2c_0x15.bin_binary new file mode 100644 index 0000000..24d3589 --- /dev/null +++ b/decoder/test/eeprom24xx/trekstor_ebr30_a_i2c_0x15.bin_binary @@ -0,0 +1,39 @@ +2036167-2036604 eeprom24xx: 70 +2036682-2037100 eeprom24xx: ff +2037151-2037568 eeprom24xx: b2 +2037613-2038027 eeprom24xx: ed +2038073-2038489 eeprom24xx: 04 +2038543-2038964 eeprom24xx: 3d +2039011-2039426 eeprom24xx: 2d +2039474-2039891 eeprom24xx: 08 +2040079-2040499 eeprom24xx: ff +2040567-2040874 eeprom24xx: ff +2040943-2041361 eeprom24xx: 3d +2041410-2041826 eeprom24xx: ff +2041872-2042289 eeprom24xx: 00 +2042334-2042751 eeprom24xx: 00 +2042802-2043217 eeprom24xx: 00 +2043267-2043684 eeprom24xx: 00 +3716252-3716776 eeprom24xx: 3d 70 +3716836-3717536 eeprom24xx: 2d 05 00 00 +3717592-3718105 eeprom24xx: ed 04 +3718161-3718578 eeprom24xx: c8 +3718660-3719076 eeprom24xx: b2 +3719123-3719540 eeprom24xx: 03 +3719583-3720658 eeprom24xx: 00 00 0a 28 00 00 00 11 +6038449-6038895 eeprom24xx: 70 +6038967-6039382 eeprom24xx: ff +6039434-6039853 eeprom24xx: b2 +6039900-6040317 eeprom24xx: ed +6040361-6040775 eeprom24xx: 03 +6040828-6041246 eeprom24xx: 3d +6041294-6041712 eeprom24xx: 2d +6041758-6042175 eeprom24xx: 08 +6042368-6042790 eeprom24xx: ff +6042856-6043163 eeprom24xx: ff +6043226-6043644 eeprom24xx: 3d +6043690-6044106 eeprom24xx: ff +6044152-6044568 eeprom24xx: 00 +6044612-6045028 eeprom24xx: 00 +6045081-6045496 eeprom24xx: 00 +6045543-6045960 eeprom24xx: 00 -- cgit v1.2.3-54-g00ecf