diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2016-06-22 19:55:19 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2016-06-22 22:34:07 +0200 |
commit | 5c1b6a10c6fc421a0e82a41c296a6cb93a8712cd (patch) | |
tree | 03e6baf568430490aa04c556d3ba9d39fc96d808 /decoder/test/spiflash/test.conf | |
parent | 291213046746b24519e2b44be54408dc597d8c7e (diff) | |
download | sigrok-test-5c1b6a10c6fc421a0e82a41c296a6cb93a8712cd.tar.gz sigrok-test-5c1b6a10c6fc421a0e82a41c296a6cb93a8712cd.zip |
spiflash: Add a few more test-cases.
Diffstat (limited to 'decoder/test/spiflash/test.conf')
-rw-r--r-- | decoder/test/spiflash/test.conf | 55 |
1 files changed, 52 insertions, 3 deletions
diff --git a/decoder/test/spiflash/test.conf b/decoder/test/spiflash/test.conf index 2f84fee..a901750 100644 --- a/decoder/test/spiflash/test.conf +++ b/decoder/test/spiflash/test.conf @@ -1,6 +1,55 @@ -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 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 + 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 + 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 + 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 + 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 + 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 + 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 + stack spi spiflash + input spi/mx25l1605d/mx25l1605d_erase.sr + output spiflash annotation match erase_hex.output |