Open liebman opened 1 month ago
More info found here that confirms that the bootloader should be marked as DIO even for QIO.
For example, on ESP32 if ESP-IDF is configured for qio/qout mode then the IDF software bootloader is actually flashed with a dio/dout mode. When ROM code boots this bootloader from flash, the bootloader software checks the flash chip model and enables the correct Quad SPI mode for the rest of the boot process. This is because of the multiple different ways to enable Quad SPI on different chip models.
If you specify the flash mode or
qio
to espflash then it fails to boot:However If I build and copy a
bootloader.bin
from anesp-idf
project that specifies the QIO flash mode and just letespflash
flash as DIO it works. And the esp-idf bootloader switches to QIO.This section in the api guide includes:
Also esp-idf seems to mark the bootloader as DIO when you have specified QIO.