]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/eeprom24xx/test.conf
eeprom24xx: add glasgow-firmware-flash test case.
[sigrok-test.git] / decoder / test / eeprom24xx / test.conf
index 8ee5bce0d725bc1250c813139427f2375c0432f2..3c749324c4e3b369934b783d1d441c412398e27a 100644 (file)
@@ -38,3 +38,19 @@ test trekstor_ebr30_a_i2c_0x15
        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
+
+test x24c02_dual
+       protocol-decoder i2c channel scl=5 channel sda=4
+       protocol-decoder eeprom24xx option chip=xicor_x24c02
+       stack i2c eeprom24xx
+       input i2c/eeprom_24xx/xicor_x24c02/x24c02_dual.sr
+       output eeprom24xx annotation match x24c02_dual.output
+       output eeprom24xx binary class binary match x24c02_dual.bin_binary
+
+test glasgow-firmware-flash_snippet
+       protocol-decoder i2c channel scl=0 channel sda=1
+       protocol-decoder eeprom24xx option chip=onsemi_cat24c256
+       stack i2c eeprom24xx
+       input i2c/eeprom_24xx/onsemi_cat24c256/glasgow-firmware-flash_snippet.sr
+       output eeprom24xx annotation match glasgow-firmware-flash_snippet.output
+       output eeprom24xx binary class binary match glasgow-firmware-flash_snippet.bin_binary