Page 1 of 1

SPI Flash QIO mode

Posted: Mon Apr 11, 2022 6:49 pm
by hustenhabas
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?

Re: SPI Flash QIO mode

Posted: Tue Apr 12, 2022 4:22 am
by mikemoy
Have your tried the Flash Download Tool ?
https://www.espressif.com/en/support/do ... ther-tools

Re: SPI Flash QIO mode

Posted: Tue Apr 12, 2022 4:50 pm
by hustenhabas
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.