OTA release issue
-
I'm trying to deploy new OTA releases, but the Pycom does not accept it and spits out this message:
E (56) esp_image: image at 0x210000 has invalid magic byte Cannot load Firmware img in the active partition! .. Defaulting back to previous partitionAnything I might be doing wrong? I've uploaded hundreds of releases before and never seen this before, nor am I doing anything differently.
-
If I understand the OTA update correctly, there are two partitions (factory and OTA), and the OTA updater will automatically switch between them to decide which to update next, and which to run the firmware from (you can manually decide this using
pycom.bootmgr())What I think went wrong in your case, is that the partition to update, and the currently running partition are the same, causing this error, perhaps by accident or a fault in the OTA system. But as you clarify, you've done it hundreds of times, so I guess its cosmic radiation flipping the one bit :)
Best,
Gijs -
I have the same problem with the same byte 0x210000 , also I tried pycom.bootmgr(boot_partition=pycom.OTA_0, fs_type=pycom.LittleFS, safeboot=True, reset=True) and there's nothing change , is there any another solution ?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login