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 partition
    

    Anything I might be doing wrong? I've uploaded hundreds of releases before and never seen this before, nor am I doing anything differently.


  • Global Moderator

    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


Log in to reply
 

Pycom on Twitter