]> sigrok.org Git - sigrok-dumps.git/blame - spi/mx25l1605d/README
Add a few OOK dumps.
[sigrok-dumps.git] / spi / mx25l1605d / README
CommitLineData
aae6295c
UH
1-------------------------------------------------------------------------------
2Macronix MX25L1605D (SPI flash chip)
3-------------------------------------------------------------------------------
4
5This is a set of example captures of a Macronix MX25L1605D (MX25L1605DPI-12G)
6SPI flash chip (16MBit == 2Mbyte; NOR flash) that is probed, being written to,
7read, or erased.
d83eec54
UH
8
9The SPI programmer hardware used is openbiosprog-spi, see
10
11 http://randomprojects.org/wiki/Openbiosprog-spi
12
13The software used for programming it is flashrom, see
14
15 http://flashrom.org/FT2232SPI_Programmer
16
d83eec54 17
aae6295c
UH
18Logic analyzer setup
19--------------------
d83eec54 20
47cd3c8f 21The logic analyzer used was a ChronoVu LA8 (at 25MHz):
d83eec54 22
47cd3c8f
UH
23 Probe MX25L1605D pin
24 --------------------------
f28b538f
UH
25 0 (green) CS#
26 1 (orange) SO/SIO1 (a.k.a MISO)
27 2 (white) SCLK
28 3 (red) SI/SIO0 (a.k.a MOSI)
29 4 (gray) WP#/ACC
30 5 (brown) HOLD#
d83eec54 31
aae6295c
UH
32
33Probing
34-------
35
36The flashrom command line used was:
37
38 flashrom -p ft2232_spi:type=2232H,port=A
39
40The sigrok command line used was:
41
42 sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \
43 -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \
44 --wait-trigger --triggers 3=1 \
ceb0837e 45 -o mx25l1605d_probe.sr
aae6295c
UH
46
47The capturing starts when the SCLK signal is high for the first time
48(it's low per default). We capture as many samples as fit into the 8MByte
49buffer of the logic analyzer.
50
51The capture might not contain the complete flashrom chip detection sequence.
52
53
54Writing
55-------
56
57The flashrom command line used was:
58
59 flashrom -p ft2232_spi:type=2232H,port=A -w filename
60
61where 'filename' is a 2MByte file filled with lots of consecutive "HelloWorld"
62ASCII character strings.
63
64The sigrok command line used was:
65
66 sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \
67 -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \
ceb0837e 68 -o mx25l1605d_write.sr
aae6295c 69
f28b538f 70The capture is only partial, it contains a small part of the write process
d83eec54 71(it does not contain the chip identification, chip erase, etc. which comes
f28b538f
UH
72before the actual write parts; it also does not contain anything after that,
73the flashrom command took quite a bit longer than what the capture shows).
d83eec54 74
aae6295c
UH
75
76Reading
77-------
78
79The flashrom command line used was:
80
81 flashrom -p ft2232_spi:type=2232H,port=A -r dump.dd
82
83The sigrok command line used was:
84
85 sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \
86 -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \
ceb0837e 87 -o mx25l1605d_read.sr
aae6295c
UH
88
89The capture only contains a small part of the read procedure. The data in
90the chip consists of consecutive "HelloWorld" ASCII strings.
91
92
93Erasing
94-------
95
96The flashrom command line used was:
97
98 flashrom -p ft2232_spi:type=2232H,port=A -E
99
100The sigrok command line used was:
101
102 sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \
103 -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \
ceb0837e 104 -o mx25l1605d_erase.sr
aae6295c
UH
105
106The capture does not contain the full erase process, only a small part of it.
107