summaryrefslogtreecommitdiff
path: root/spi/spiflash/fidelix_fm25q32/dualspi/README
blob: 541c9790268c50f360fa92ab16483a6085500207 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
-------------------------------------------------------------------------------
FIDELIX FM25Q32
-------------------------------------------------------------------------------

This is a set of example captures of a FIDELIX FM25Q32 SPI flash chip
(32MBit == 4Mbyte) that is read by ESP32.

The first part is the 2nd-stage bootloader loaded from SPI flash (using
QuadSPI @ 10MHz). Then the 2nd-stage bootloader writes 02_blink to SPI flash.

The SPI hardware used is ESP32 DevKitC (from ESPRESSIF).

Details:
https://espressif.com/sites/default/files/documentation/esp32-devkitc_getting_started_guide_en.pdf
https://github.com/espressif/esp-idf


Logic analyzer setup
--------------------

The logic analyzer used was a DreamSourceLab DSLogic (at 100MHz):

  Probe       FM25Q32 pin
  -----------------------
  0           CS
  1           CLK
  2           MISO
  3           MOSI


Data
----

Output of esptool.py during flash (esp/esp-idf/examples/02_blink$ make flash):

Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.0-dev
Connecting...
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Attaching SPI flash...
Configuring flash size...
Erasing flash...
Took 0.00s to erase flash block
Wrote 8192 bytes at 0x00001000 in 0.1 seconds (552.2 kbit/s)...
Hash of data verified.
Erasing flash...
Took 0.00s to erase flash block
Wrote 245760 bytes at 0x00010000 in 3.8 seconds (523.2 kbit/s)...
Hash of data verified.
Erasing flash...
Took 0.00s to erase flash block
Wrote 8192 bytes at 0x00004000 in 0.1 seconds (556.3 kbit/s)...
Hash of data verified.

Leaving...