]>
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 | ||
19 | The logic analyzer used for capturing is a Saleae Logic at a sample rate | |
20 | of 2MHz. The capture was done using sigrok (02/2011) via | |
21 | ||
22 | sigrok-cli -d 0:samplerate=2MHz --time 5s -o foo | |
23 | ||
24 | The Saleae Logic probes were connected like this to the MX25L1605D chip: | |
25 | ||
26 | Probe SPI chip pin | |
27 | ------------------------ | |
28 | 1 (black) CS# | |
29 | 2 (brown) SO/SIO1 (a.k.a MISO) | |
30 | 3 (red) SCLK | |
31 | 4 (orange) SI/SIO0 (a.k.a MOSI) | |
32 | 5 (yellow) WP#/ACC | |
33 | 6 (green) HOLD# | |
34 | GND GND | |
35 | ||
36 | The capture is only partial, it contains 5 seconds of the write process | |
37 | (it does not contain the chip identification, chip erase, etc. which comes | |
38 | before the actual write parts; it also does not contain anything after those | |
39 | 5 seconds, the flashrom command took quite a bit longer than 5 seconds). | |
40 |