]>
Commit | Line | Data |
---|---|---|
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 | ||
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 | |
21 | ||
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 | |
25 | ||
26 | The ChronoVu LA8 probes were connected like this to the MX25L1605D chip: | |
27 | ||
28 | Probe SPI chip pin | |
29 | ------------------------ | |
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# | |
36 | GND GND | |
37 | ||
38 | The capture is only partial, it contains a small part of the write process | |
39 | (it does not contain the chip identification, chip erase, etc. which comes | |
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). | |
42 |