Page 1 of 1

CPU ramdom do not run affter OTA update

Posted: Wed Jan 03, 2018 3:45 am
by quanvuee
Hi!
I use OTA update. It work fine. But affter that, when I turn off, turn on ESP or sofware restart ESP, ESP ramdom can not start. It hang in "Pro CPU start user code". It not happen everytime so I don't know why?
Hope someone can help me.

Re: CPU ramdom do not run affter OTA update

Posted: Wed Jan 03, 2018 4:27 am
by ESP_Angus
Does the same app work if you flash it directly (ie to clean device, not via OTA)?

What version of IDF was the new app built with? And what version of IDF was used for the bootloader that is on the device using OTA? (The bootloader version should be logged as part of booting).

There was a bug fixed recently for backwards compatibility of newer IDF apps with pre-v2.1 bootloaders.
It not happen everytime so I don't know why?
Do you mean every time you run the OTA update, or every time you reset with the same app on the flash?

Re: CPU ramdom do not run affter OTA update

Posted: Tue Jan 09, 2018 4:11 am
by quanvuee
ESP_Angus wrote:Does the same app work if you flash it directly (ie to clean device, not via OTA)?
Yes. Actually I use example in IDF for OTA app.
What version of IDF was the new app built with? And what version of IDF was used for the bootloader that is on the device using OTA? (The bootloader version should be logged as part of booting).
I have updated the lastest.
Do you mean every time you run the OTA update, or every time you reset with the same app on the flash?
It's not happen every time I reset with the same app on the flash. Just sometime.

New: If OTA app and factory app is the same, it not happen.