Replies: 1 comment
-
I managed to workaround the web flashing issue so this is not critical anymore, but in case of interest it still seems like some compatibility issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to flash my application not through esp-flash, but using another web based flashing tool that is easier to use for end users, and that is very commonly used.
I created the
partition-table.bin
,app-firmware.bin
andbootloader.bin
(modified for flash size and SPI mode based on espflash files for the relevant chip) and flashed them using (espflash / esptool.py) to the proper addresses and the application worked except for some minor issue of the bootloader stating on boot (because I didn't update the SHA).But the key is that it worked.
Now, the bootloader files in espflash are pretty old -
ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader
in the logs and I want to check if that other flashing need a more up to date version of boot loader, so I used latest esp-idf to create bootloader.bin and verified it is working on my device with an esp-idf application.When I use that bootloader with the partition-table.bin and app-firmware.bin just like before, boot fails and keeps rebooting with the logs below (I generated bootloader with full debug logs), with key errors:
So next I also used esp-idf to generate the partition-table.bin file to make sure it is compatible with esp-idf. The issues stayed the same.
So it seems to me like the application binary created by espflash is not compatible with new version of esp-idf (ESP-IDF v5.5-dev-1050-gb5ac4fbdf9 2nd stage bootloader). Because it work with the old esp-idf bootloader but doesn't with the new. Unless there is some parameter I need to set to make the new bootloader compatible with the application binary.
Should it be this way? Or am I limited to using the old esp-idf bootloader with esp-hal applications?
Beta Was this translation helpful? Give feedback.
All reactions