SPI mode promotion?
Posted: Wed Jul 27, 2022 3:11 pm
The SPI mode (40/80 MHz, DOUT/QIO and so on) is compiled into the bootloader and also the app. Is that right?
I wonder if it is somehow possible to first boot into a fail-safe mode (40 MHz, DOUT) and later switch to the fastest possible mode.
Let's say of the devices in the field some are capable of QIO, some are DOUT only. The bootloaders are flashed accordingly.
So if I flash an app image (compiled with DOUT; because there is only one version for all devices) OTA on a device with a QIO compiled bootloader, what happens? Does the app run on QIO or DOUT? If DOUT, what is necessary to switch to QIO mode?
I wonder if it is somehow possible to first boot into a fail-safe mode (40 MHz, DOUT) and later switch to the fastest possible mode.
Let's say of the devices in the field some are capable of QIO, some are DOUT only. The bootloaders are flashed accordingly.
So if I flash an app image (compiled with DOUT; because there is only one version for all devices) OTA on a device with a QIO compiled bootloader, what happens? Does the app run on QIO or DOUT? If DOUT, what is necessary to switch to QIO mode?