Hello,
I try to test OTA example, using the Ethernet instead WiFi and I get this error:
I (10124) ota: Starting OTA example...
E (10124) esp_ota_ops: ota data invalid, no current app. Assuming factory
I (10124) ota: Running partition type 0 subtype 0 (offset 0x00010000)
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unha
ndled.
Core 1 register dump:
Is possible to use OTA with Ethernet?
Update OTA example.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Update OTA example.
It should be possible; WiFi/Ethernet just are different transportation methods. What's the backtrace you're getting here?
Re: Update OTA example.
I resolved it already, but I have a question. How to recognise if the .bin file is newer than previously?
I want to update the app only when will apear the new version of it.
And second Q is where i can find SimpleHTTPSerwer file ( I mean about explorer ).
I want to update the app only when will apear the new version of it.
And second Q is where i can find SimpleHTTPSerwer file ( I mean about explorer ).
Re: Update OTA example.
I found info about esp_efuse_check_secure_version(new_app_info.secure_version) function but I don't know, where this function is included.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Update OTA example.
Suggest you put the question in a new topic, but you may want to look at esp_ota_get_app_description if your esp-idf version is new enough.
Who is online
Users browsing this forum: No registered users and 183 guests