]> sigrok.org Git - sigrok-test.git/blame - decoder/test/spiflash/test.conf
spiflash: Add an Adesto AT45DB161E test-case.
[sigrok-test.git] / decoder / test / spiflash / test.conf
CommitLineData
5c1b6a10 1test probe_ascii
dd37a782 2 protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
b70df1c1 3 protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
888e75d5 4 stack spi spiflash
dd37a782 5 input spi/mx25l1605d/mx25l1605d_probe.sr
5c1b6a10
UH
6 output spiflash annotation match probe_ascii.output
7
8test probe_hex
9 protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
b70df1c1 10 protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
5c1b6a10
UH
11 stack spi spiflash
12 input spi/mx25l1605d/mx25l1605d_probe.sr
13 output spiflash annotation match probe_hex.output
14
15test read_ascii
16 protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
b70df1c1 17 protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
5c1b6a10
UH
18 stack spi spiflash
19 input spi/mx25l1605d/mx25l1605d_read.sr
20 output spiflash annotation match read_ascii.output
21
22test read_hex
23 protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
b70df1c1 24 protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
5c1b6a10
UH
25 stack spi spiflash
26 input spi/mx25l1605d/mx25l1605d_read.sr
27 output spiflash annotation match read_hex.output
28
29test write_ascii
30 protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
b70df1c1 31 protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
5c1b6a10
UH
32 stack spi spiflash
33 input spi/mx25l1605d/mx25l1605d_write.sr
34 output spiflash annotation match write_ascii.output
35
36test write_hex
37 protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
b70df1c1 38 protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
5c1b6a10
UH
39 stack spi spiflash
40 input spi/mx25l1605d/mx25l1605d_write.sr
41 output spiflash annotation match write_hex.output
42
43test erase_ascii
44 protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
b70df1c1 45 protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
5c1b6a10
UH
46 stack spi spiflash
47 input spi/mx25l1605d/mx25l1605d_erase.sr
48 output spiflash annotation match erase_ascii.output
49
50test erase_hex
51 protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
b70df1c1 52 protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
5c1b6a10
UH
53 stack spi spiflash
54 input spi/mx25l1605d/mx25l1605d_erase.sr
55 output spiflash annotation match erase_hex.output
a6b63f40 56
b70df1c1 57# Note: The chip used here is unknown, but we force MX25L1605D for now.
a6b63f40
UH
58test dualioreads_ascii
59 protocol-decoder spi channel cs=2 channel miso=1 channel clk=0 channel mosi=3
b70df1c1 60 protocol-decoder spiflash option format=ascii option chip=macronix_mx25l1605d
a6b63f40
UH
61 stack spi spiflash
62 input spi/spiflash_dualio/dualioreads.sr
63 output spiflash annotation match dualioreads_ascii.output
64
b70df1c1 65# Note: The chip used here is unknown, but we force MX25L1605D for now.
a6b63f40
UH
66test dualioreads_hex
67 protocol-decoder spi channel cs=2 channel miso=1 channel clk=0 channel mosi=3
b70df1c1 68 protocol-decoder spiflash option format=hex option chip=macronix_mx25l1605d
a6b63f40
UH
69 stack spi spiflash
70 input spi/spiflash_dualio/dualioreads.sr
71 output spiflash annotation match dualioreads_hex.output
ffa3848b
UH
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
e8483d89
UH
80test 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