Hi everyone,
I am currently looking to update my Nina via Wifi using OTA.
However, the problem that confronts me is that when I build my project "idf.py build", 2 binaries are generated: The first "web-form.bin" including all the "C" code, and the second "storage .bin", including all html/css/js.
I am currently able to download a "web-form.bin" binary, and it downloads well in my card, and my product resets well on it, the update is therefore done correctly. However, how can I also download the “storage.bin” binary? Because if I modify my web page, I want to be able to update it via wifi too.
Below you can see my partition table :
# Name, Type, SubType, Offset, Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs, data, nvs, 0x9000, 0x4000,
otadata, data, ota, 0xd000, 0x2000
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1M,
storage, data, spiffs, , 0xF0000,
ota_0, app, ota_0, , 1M,
ota_1, app, ota_1, , 1M,
With factory partition, when i put "web-form.bin" (for the code C), and storage partition when i put "storage.bin" (for the web page code).
If you have ideas for how to update my product when I have 2 binaries, I'm interested.
Thank you so much
Sincerely,
Zapsalis
Download 2 binaries files with OTA on Nina W106
Who is online
Users browsing this forum: Google [Bot] and 104 guests