Error message in ESP32.getState()

Posted on
  • Calling ESP32.getState gives an error:
    E (240505) esp_ota_ops: ota data invalid, no current app. Assuming factory

  • Hi, this in prepartion for ota updates. The espruino_partition.bin contains these partitions:

    factory 0x10000
    ota_0   0x200000

    When there is a ota type partition the esp-idf checks to see if there is valid code in the partition. At this stage nothing is uploaded to 0x200000, and the data is 0xff.

    The esp_ota_get_boot_partition() call checks the ota partition and finds invalid data, so spits out this error.

    It could be suppressed and added back when the ota updates are sorted out, however it can be safely ignored.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Error message in ESP32.getState()

Posted by Avatar for JumJum @JumJum