SPI Flash QIO mode

hustenhabas
Posts: 18
Joined: Tue Sep 14, 2021 2:18 pm

SPI Flash QIO mode

Postby hustenhabas » Mon Apr 11, 2022 6:49 pm

Hello guys, Im having trouble flashing a bin using "--fm qio". The flash completes but when i try to run the code, my esp32 says:

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:1
load:0x3fff0030,len:6936
load:0xffffffff,len:-1
ets Jul 29 2019 12:21:46

rst:0x10 (RTCWDT_RTC_RESET),boot:0x2 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_FEO_V2))
waiting for download
My flash chip is GD25Q64 and it can RUN on QIO mode but only if i flash the bin using "--fm dio"
How can I use esptool write_flash using QIO mode without breaking my app?

mikemoy
Posts: 622
Joined: Fri Jan 12, 2018 9:10 pm

Re: SPI Flash QIO mode

Postby mikemoy » Tue Apr 12, 2022 4:22 am

Have your tried the Flash Download Tool ?
https://www.espressif.com/en/support/do ... ther-tools

hustenhabas
Posts: 18
Joined: Tue Sep 14, 2021 2:18 pm

Re: SPI Flash QIO mode

Postby hustenhabas » Tue Apr 12, 2022 4:50 pm

mikemoy wrote:
Tue Apr 12, 2022 4:22 am
Have your tried the Flash Download Tool ?
https://www.espressif.com/en/support/do ... ther-tools
Im running on Ubuntu, is there a linux version? im using esptool.py and idf.py.

Who is online

Users browsing this forum: Google [Bot] and 256 guests