]>
Commit | Line | Data |
---|---|---|
d83eec54 UH |
1 | This is an example capture of a Macronix MX25L1605D (MX25L1605DPI-12G) |
2 | SPI flash chip (16MBit == 2Mbyte; NOR flash) that is being written to. | |
3 | ||
4 | The SPI programmer hardware used is openbiosprog-spi, see | |
5 | ||
6 | http://randomprojects.org/wiki/Openbiosprog-spi | |
7 | ||
8 | The software used for programming it is flashrom, see | |
9 | ||
10 | http://flashrom.org/FT2232SPI_Programmer | |
11 | ||
12 | The command line used was | |
13 | ||
14 | flashrom -p ft2232_spi:type=2232H,port=A -w filename | |
15 | ||
16 | where 'filename' is a 2MByte file filled with lots of consecutive "HelloWorld" | |
17 | ASCII character strings. | |
18 | ||
f28b538f UH |
19 | The logic analyzer used for capturing is a ChronoVu LA8 at a sample rate |
20 | of 25MHz. The capture was done using sigrok (11/2011) via | |
d83eec54 | 21 | |
f28b538f UH |
22 | sigrok-cli -d 0:samplerate=25mhz --samples 8388608 \ |
23 | -p '1=CS#,2=MISO,3=SCLK,4=MOSI,5=WP#,6=HOLD#' \ | |
24 | -o mx25l1605d_write_hello_world.sigrok | |
d83eec54 | 25 | |
f28b538f | 26 | The ChronoVu LA8 probes were connected like this to the MX25L1605D chip: |
d83eec54 UH |
27 | |
28 | Probe SPI chip pin | |
29 | ------------------------ | |
f28b538f UH |
30 | 0 (green) CS# |
31 | 1 (orange) SO/SIO1 (a.k.a MISO) | |
32 | 2 (white) SCLK | |
33 | 3 (red) SI/SIO0 (a.k.a MOSI) | |
34 | 4 (gray) WP#/ACC | |
35 | 5 (brown) HOLD# | |
d83eec54 UH |
36 | GND GND |
37 | ||
f28b538f | 38 | The capture is only partial, it contains a small part of the write process |
d83eec54 | 39 | (it does not contain the chip identification, chip erase, etc. which comes |
f28b538f UH |
40 | before the actual write parts; it also does not contain anything after that, |
41 | the flashrom command took quite a bit longer than what the capture shows). | |
d83eec54 | 42 |