]> sigrok.org Git - sigrok-test.git/blob - decoder/test/spiflash/test.conf
5b3ada6e01e453f7bad572e537de05c30b73f1c1
[sigrok-test.git] / decoder / test / spiflash / test.conf
1 test probe_ascii
2         protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
3         protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
4         stack spi spiflash
5         input spi/mx25l1605d/mx25l1605d_probe.sr
6         output spiflash annotation match probe_ascii.output
7
8 test probe_hex
9         protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
10         protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
11         stack spi spiflash
12         input spi/mx25l1605d/mx25l1605d_probe.sr
13         output spiflash annotation match probe_hex.output
14
15 test read_ascii
16         protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
17         protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
18         stack spi spiflash
19         input spi/mx25l1605d/mx25l1605d_read.sr
20         output spiflash annotation match read_ascii.output
21
22 test read_hex
23         protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
24         protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
25         stack spi spiflash
26         input spi/mx25l1605d/mx25l1605d_read.sr
27         output spiflash annotation match read_hex.output
28
29 test write_ascii
30         protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
31         protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
32         stack spi spiflash
33         input spi/mx25l1605d/mx25l1605d_write.sr
34         output spiflash annotation match write_ascii.output
35
36 test write_hex
37         protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
38         protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
39         stack spi spiflash
40         input spi/mx25l1605d/mx25l1605d_write.sr
41         output spiflash annotation match write_hex.output
42
43 test erase_ascii
44         protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
45         protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
46         stack spi spiflash
47         input spi/mx25l1605d/mx25l1605d_erase.sr
48         output spiflash annotation match erase_ascii.output
49
50 test erase_hex
51         protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
52         protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
53         stack spi spiflash
54         input spi/mx25l1605d/mx25l1605d_erase.sr
55         output spiflash annotation match erase_hex.output
56
57 # Note: The chip used here is unknown, but we force MX25L1605D for now.
58 test dualioreads_ascii
59         protocol-decoder spi channel cs=2 channel miso=1 channel clk=0 channel mosi=3
60         protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
61         stack spi spiflash
62         input spi/spiflash_dualio/dualioreads.sr
63         output spiflash annotation match dualioreads_ascii.output
64
65 # Note: The chip used here is unknown, but we force MX25L1605D for now.
66 test dualioreads_hex
67         protocol-decoder spi channel cs=2 channel miso=1 channel clk=0 channel mosi=3
68         protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
69         stack spi spiflash
70         input spi/spiflash_dualio/dualioreads.sr
71         output spiflash annotation match dualioreads_hex.output
72
73 # test fidelix_fm25q32_0x01_2bytes
74 #       protocol-decoder spi channel cs=3 channel miso=1 channel clk=0 channel mosi=2
75 #       protocol-decoder spiflash option format=hex option chip=fidelix_fm25q32
76 #       stack spi spiflash
77 #       input spi/spiflash/fidelix_fm25q32/commands
78 #       output spiflash annotation match fidelix_fm25q32_0x01_2bytes.output
79
80 test adesto_at45db161e_basic
81         protocol-decoder spi channel clk=0 channel mosi=1 channel cs=2 channel miso=3
82         protocol-decoder spiflash option format=ascii option chip=adesto_at45db161e
83         stack spi spiflash
84         input spi/spiflash/adesto_at45db161e/adesto_at45db161e_basic.sr
85         output spiflash annotation match adesto_at45db161e_basic.output