1 -------------------------------------------------------------------------------
2 Macronix MX25L1605D (SPI flash chip)
3 -------------------------------------------------------------------------------
5 This is a set of example captures of a Macronix MX25L1605D (MX25L1605DPI-12G)
6 SPI flash chip (16MBit == 2Mbyte; NOR flash) that is probed, being written to,
9 The SPI programmer hardware used is openbiosprog-spi, see
11 http://randomprojects.org/wiki/Openbiosprog-spi
13 The software used for programming it is flashrom, see
15 http://flashrom.org/FT2232SPI_Programmer
21 The logic analyzer used for capturing is a ChronoVu LA8 at a sample rate
24 The ChronoVu LA8 probes were connected to the MX25L1605D chip like this:
27 ------------------------
29 1 (orange) SO/SIO1 (a.k.a MISO)
31 3 (red) SI/SIO0 (a.k.a MOSI)
40 The flashrom command line used was:
42 flashrom -p ft2232_spi:type=2232H,port=A
44 The sigrok command line used was:
46 sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \
47 -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \
48 --wait-trigger --triggers 3=1 \
49 -o mx25l1605d_probe.sigrok
51 The capturing starts when the SCLK signal is high for the first time
52 (it's low per default). We capture as many samples as fit into the 8MByte
53 buffer of the logic analyzer.
55 The capture might not contain the complete flashrom chip detection sequence.
61 The flashrom command line used was:
63 flashrom -p ft2232_spi:type=2232H,port=A -w filename
65 where 'filename' is a 2MByte file filled with lots of consecutive "HelloWorld"
66 ASCII character strings.
68 The sigrok command line used was:
70 sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \
71 -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \
72 -o mx25l1605d_write_hello_world.sigrok
74 The capture is only partial, it contains a small part of the write process
75 (it does not contain the chip identification, chip erase, etc. which comes
76 before the actual write parts; it also does not contain anything after that,
77 the flashrom command took quite a bit longer than what the capture shows).
83 The flashrom command line used was:
85 flashrom -p ft2232_spi:type=2232H,port=A -r dump.dd
87 The sigrok command line used was:
89 sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \
90 -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \
91 -o mx25l1605d_read.sigrok
93 The capture only contains a small part of the read procedure. The data in
94 the chip consists of consecutive "HelloWorld" ASCII strings.
100 The flashrom command line used was:
102 flashrom -p ft2232_spi:type=2232H,port=A -E
104 The sigrok command line used was:
106 sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \
107 -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \
108 -o mx25l1605d_erase.sigrok
110 The capture does not contain the full erase process, only a small part of it.