X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoder%2Ftest%2Fspiflash%2Ftest.conf;h=4595f4933a8ecd143c2e5aaeaeac8accf5d7cd02;hb=29901c5c6a35067230c34a2b513ee69113733988;hp=2f84feed26a82b9ebb811be100ae37ecb849d3ce;hpb=888e75d5b3440ea960c47c19c866b2b5b6062bb4;p=sigrok-test.git diff --git a/decoder/test/spiflash/test.conf b/decoder/test/spiflash/test.conf index 2f84fee..4595f49 100644 --- a/decoder/test/spiflash/test.conf +++ b/decoder/test/spiflash/test.conf @@ -1,6 +1,79 @@ -test probe +test probe_ascii protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3 - protocol-decoder spiflash + protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d stack spi spiflash input spi/mx25l1605d/mx25l1605d_probe.sr - output spiflash annotation match probe.output + output spiflash annotation match probe_ascii.output + +test probe_hex + protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3 + protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d + stack spi spiflash + input spi/mx25l1605d/mx25l1605d_probe.sr + output spiflash annotation match probe_hex.output + +test read_ascii + protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3 + protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d + stack spi spiflash + input spi/mx25l1605d/mx25l1605d_read.sr + output spiflash annotation match read_ascii.output + +test read_hex + protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3 + protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d + stack spi spiflash + input spi/mx25l1605d/mx25l1605d_read.sr + output spiflash annotation match read_hex.output + +test write_ascii + protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3 + protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d + stack spi spiflash + input spi/mx25l1605d/mx25l1605d_write.sr + output spiflash annotation match write_ascii.output + +test write_hex + protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3 + protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d + stack spi spiflash + input spi/mx25l1605d/mx25l1605d_write.sr + output spiflash annotation match write_hex.output + +test erase_ascii + protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3 + protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d + stack spi spiflash + input spi/mx25l1605d/mx25l1605d_erase.sr + output spiflash annotation match erase_ascii.output + +test erase_hex + protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3 + protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d + stack spi spiflash + input spi/mx25l1605d/mx25l1605d_erase.sr + output spiflash annotation match erase_hex.output + +# Note: The chip used here is unknown, but we force MX25L1605D for now. +test dualioreads_ascii + protocol-decoder spi channel cs=2 channel miso=1 channel clk=0 channel mosi=3 + protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d + stack spi spiflash + input spi/spiflash_dualio/dualioreads.sr + output spiflash annotation match dualioreads_ascii.output + +# Note: The chip used here is unknown, but we force MX25L1605D for now. +test dualioreads_hex + protocol-decoder spi channel cs=2 channel miso=1 channel clk=0 channel mosi=3 + protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d + stack spi spiflash + input spi/spiflash_dualio/dualioreads.sr + output spiflash annotation match dualioreads_hex.output + +# test fidelix_fm25q32_0x01_2bytes +# protocol-decoder spi channel cs=3 channel miso=1 channel clk=0 channel mosi=2 +# protocol-decoder spiflash option format=hex option chip=fidelix_fm25q32 +# stack spi spiflash +# input spi/spiflash/fidelix_fm25q32/commands +# output spiflash annotation match fidelix_fm25q32_0x01_2bytes.output +