!
\XTCOM_UTIL. eagle.app.v6.irom0text.bin is all the functions of FLASH chip read
directly through the SPI by CPU CACHE in the ESP8266 program.
Run BinToArray.exe in SDIO communication demo\. Transfer
•
eagle.app.v6.flash.bin in SDIO communication demo
\esp_iot_sdk_v0.9.3_sdio_demo\ bin to ANSI C format array. The new array will be
saved in D:\. The target route of BinToArray.exe must be D:\. If there is not a D:\, you
can (1) use a virtual machine with a D:\; (2) connect the device to a U disk named D:\;
or (3) search online for a tool that can transfer bin to array.
If there is a D:\, name hexarray.c in D:\ as eagle_fw.h, and define the array name as
•
const unsigned char eagle_fw[] =....... Replace eagle_fw.h in SDIO communication
demo\STM32\ Eagle_Wifi_Driver\ egl_drv_simulation\ (you can copy the array
name and document name in the old eagle_fw.h, rename the hexarray.c and use it
to replace the old eagle_fw.h.). Before starting the chip, write eagle.app.v6.flash.bin
into the ESP8266 memory. eagle.app.v6.flash.bin should be transferred to array,
and be written into the ESP8266 through STM32.
Use the IAR platform to open EglWB.ewp.eww in SDIO communication demo
•
\STM32\IAR\ to compile the programs.
3.2.3. ESP8266 FLASH Software Downloading
1. Use the serial line to connect the ESP_IOT reference board and the computer, and
connect them with a 5V power supply. Connect J67 to the 2 pins on the right (enable
the FLASH chip in the HSPI interface), and J66 to the 2 pins on the left (disable the
FLASH chip in the SPI interface). Set MTD0, GPIO0 and GPIO2 to the UART mode 0,
0,1 (up, up, down).
2. Double-click XTCOM_UTIL.exe in SDIO communication demo\XTCOM_UTIL. Click
Tools -> Config Device, and choose Com interface. Baud Rate: 115200. Click Open,
and you will see open Success. Click Connect, and push the H Flash board power,
you will see the connection is completed.
3. Click API TEST(A)->(5) HSpiFlash Image Download, and choose
eagle.app.v6.irom0text.bin in SDIO communication demo\XTCOM_UTIL. Offset:
0x40000. Click Download, and the downloading will be completed.
3.2.4. ESP8266 FLASH Software Downloading
Use the pin header to connect the ESP_IOT reference board and the Red Dragon demo
board. The details are shown below:
In the Red Dragon demo board JP1:
J62 pin headers in the ESP_IOT reference board (bottom-up)
GND
SPI_CLK
Espressif
->
1
VSS/GND
->
4
SDIO_CLK
14 86
!
/!
3. SPI Compatibility Mode User Guide
2016.05
Need help?
Do you have a question about the ESP8266 and is the answer not in the manual?
Questions and answers