Hi guys,
Lately i've trying to change from arduino to idf, but i'm stuck with a problem with OTA.
The problem is, if i have one firmware made using arduino and try to update it with OTA using another firmware made via arduino, it's work fine. The same happens if i try the OTA update on a ESP-IDF based application. But i cant seem to upload a firmware made with esp-idf on a application running an Arduino one.
The .bin file download good, but after the restart i got the following error:
[Codebox]rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee[/Codebox]
I already change the partition table to match each other. Is there a way to make this happen?
Best regards
ESP32 OTA from arduino to idf
Re: ESP32 OTA from arduino to idf
Theres an arduino bootloader that is incompatible with IDF code.
For example, if you have an arduino program with that that "bad" arduino bootloader in the ESP32, and then OTA to an IDF-build, it will soft-brick the ESP32.
Are you using the latest arduino bootloader when you flash the ESP32? I forget which of the arduino bootloaders is incompatible with IDF builds...ill try to search through my notes, its been quite a while.
For example, if you have an arduino program with that that "bad" arduino bootloader in the ESP32, and then OTA to an IDF-build, it will soft-brick the ESP32.
Are you using the latest arduino bootloader when you flash the ESP32? I forget which of the arduino bootloaders is incompatible with IDF builds...ill try to search through my notes, its been quite a while.
Re: ESP32 OTA from arduino to idf
Does anybody have followup on this?
Might it be possible to do it in two stages?
First Ota and saving the esp-idf bootloader in some partition and than a second Ota use it for the next binary?
Might it be possible to do it in two stages?
First Ota and saving the esp-idf bootloader in some partition and than a second Ota use it for the next binary?
-
- Posts: 4
- Joined: Sun Apr 03, 2022 11:56 am
Re: ESP32 OTA from arduino to idf
Does anyone have update on this topic?
I also got stuck on this problem now.
I also got stuck on this problem now.
Who is online
Users browsing this forum: No registered users and 122 guests