summaryrefslogtreecommitdiff
path: root/decoder/test/spiflash/test.conf
blob: 0b40ec7424d11ecaf5269ed8583f0e76eb15dc20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
test probe_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_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 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

test adesto_at45db161e_basic
	protocol-decoder spi channel clk=0 channel mosi=1 channel cs=2 channel miso=3
	protocol-decoder spiflash option format=ascii option chip=adesto_at45db161e
	stack spi spiflash
	input spi/spiflash/adesto_at45db161e/adesto_at45db161e_basic.sr
	output spiflash annotation match adesto_at45db161e_basic.output

test winbond_w25q80dv_ce_without_wren
	protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
	protocol-decoder spiflash option format=ascii option chip=winbond_w25q80dv
	stack spi spiflash
	input spi/spiflash/winbond_w25q80d/ce_without_wren.sr
	output spiflash annotation match winbond_w25q80dv_ce_without_wren.output

test winbond_w25q80dv_chip_erase_and_writes_start
	protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
	protocol-decoder spiflash option format=ascii option chip=winbond_w25q80dv
	stack spi spiflash
	input spi/spiflash/winbond_w25q80d/chip_erase_and_writes_start.sr
	output spiflash annotation match winbond_w25q80dv_chip_erase_and_writes_start.output

test winbond_w25q80dv_chip_erase_and_writes_end
	protocol-decoder spi channel cs=0 channel clk=1 channel mosi=2 channel miso=3
	protocol-decoder spiflash option format=ascii option chip=winbond_w25q80dv
	stack spi spiflash
	input spi/spiflash/winbond_w25q80d/chip_erase_and_writes_end.sr
	output spiflash annotation match winbond_w25q80dv_chip_erase_and_writes_end.output