How to flash OTA directly from a binary?
How to flash OTA directly from a binary?
Can it be done with esptools.py?
-
- Posts: 829
- Joined: Mon Jul 22, 2019 3:20 pm
Re: How to flash OTA directly from a binary?
Sure, you need to know where the OTA partition is located, but you can flash the app0 partition normally located at 0x10000 by
Code: Select all
./esptool.py --baud 961200 write_flash 0x10000 firmware.ino.bin
Re: How to flash OTA directly from a binary?
I meant updating over OTA (Over The Air).lbernstone wrote: ↑Thu Jul 11, 2024 9:54 pmSure, you need to know where the OTA partition is located, but you can flash the app0 partition normally located at 0x10000 byCode: Select all
./esptool.py --baud 961200 write_flash 0x10000 firmware.ino.bin
Indeed it was easy and my PythonPatcher https://github.com/rin67630/ESP_Binary_patcher already integrates that possibility.
Enjoy!
-
- Posts: 829
- Joined: Mon Jul 22, 2019 3:20 pm
Re: How to flash OTA directly from a binary?
There are many ways to flash OTA. You will need to be more specific.
https://github.com/esp8266/Arduino/blob ... /espota.py
https://github.com/espressif/arduino-es ... e/examples
https://github.com/esp8266/Arduino/blob ... /espota.py
https://github.com/espressif/arduino-es ... e/examples
Re: How to flash OTA directly from a binary? [solved]
I already use espota.py from my PythonPatcher.lbernstone wrote: ↑Fri Jul 12, 2024 8:52 pmThere are many ways to flash OTA. You will need to be more specific.
https://github.com/esp8266/Arduino/blob ... /espota.py
https://github.com/espressif/arduino-es ... e/examples
Who is online
Users browsing this forum: Bing [Bot] and 43 guests