Hi all, this is a little tricky to explain, but my motivation is:
When I add wifi components to my project, the code size grows quite large and flashing takes a minute, instead of seconds. However the wifi addition is now completed, I will only need exactly what I have, so to me it seems reasonable to load these components into a separate partition in flash, so that I only need to flash this once.
This would allow me to update the application code without having to also flash the wifi components.
Is such a thing possible with ESP-IDF, or could it ever be?
Splitting program locations in flash
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Splitting program locations in flash
Not what you are asking about, but you know you can increase the serial speed during flashing? It's a menuconfig option, or you can do it on the commandline with e.g. 'idf.py flash -b 1000000' or 'make ESP_BAUD=1000000 flash'.
Re: Splitting program locations in flash
I had tried to set the flasher via menuconfig to use QIO as I figured this would be faster, but I am also using the vscode plugin and I can see in the console output that it is still using DIO.
I will give your option a go too, thank you.
For anyone not understanding, this may help
I will give your option a go too, thank you.
For anyone not understanding, this may help
Re: Splitting program locations in flash
Thanks, this helped a lot and cut down a 1MB flash that took 60 seconds, to 7 seconds.ESP_Sprite wrote: ↑Fri Oct 30, 2020 2:47 amNot what you are asking about, but you know you can increase the serial speed during flashing? It's a menuconfig option, or you can do it on the commandline with e.g. 'idf.py flash -b 1000000' or 'make ESP_BAUD=1000000 flash'.
I use the vscode extension and found that the flash speed is not easily configured, maybe it needs to be added to the sdkconfig
https://github.com/espressif/vscode-esp ... issues/207
Who is online
Users browsing this forum: MicroController and 67 guests