How to flash OTA directly from a binary?
-
lbernstone
- Posts: 1132
- 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).Sure, 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!
-
lbernstone
- Posts: 1132
- 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.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
Who is online
Users browsing this forum: Qwantbot and 5 guests