summaryrefslogtreecommitdiff
path: root/decoder/test/spiflash
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2016-11-06 15:54:44 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2016-11-06 15:54:44 +0100
commitb70df1c171ffbd11e3abca027609e584065f734e (patch)
tree605f3ebee91187e73dfa8113e44331b4dda21175 /decoder/test/spiflash
parent7d40eaab03c846a7226728cb53e1bf179c152153 (diff)
downloadsigrok-test-b70df1c171ffbd11e3abca027609e584065f734e.tar.gz
sigrok-test-b70df1c171ffbd11e3abca027609e584065f734e.zip
spiflash: Enforce chip selection for all test-cases.
Diffstat (limited to 'decoder/test/spiflash')
-rw-r--r--decoder/test/spiflash/test.conf22
1 files changed, 12 insertions, 10 deletions
diff --git a/decoder/test/spiflash/test.conf b/decoder/test/spiflash/test.conf
index aa417ac..3b623bb 100644
--- a/decoder/test/spiflash/test.conf
+++ b/decoder/test/spiflash/test.conf
@@ -1,69 +1,71 @@
test probe_ascii
protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
- protocol-decoder spiflash option format=ascii
+ protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
stack spi spiflash
input spi/mx25l1605d/mx25l1605d_probe.sr
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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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