🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Core OTA issues

    General
    2
    2
    4.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rlkn4yrm
      last edited by rlkn4yrm

      I have M5 Core, which I understand to have 4MB flash.

      My firmware.bin is 1,065,552 bytes.

      It seems like after the OTA update after reboot, the old firmware still loads, and then I get an error that there's no room to OTA.

      Same code works fine on other ESP32 dev boards.

      Any ideas? Is something interfering with the self-reflashing?

      EDIT:

      In platformio I see the following when I build:

      Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
      RAM: [= ] 13.9% (used 45448 bytes from 327680 bytes)
      Flash: [======== ] 81.3% (used 1065286 bytes from 1310720 bytes)

      Why does it seem like I don't really have 4MB of flash, or that so much is being reserved for RAM?

      1 Reply Last reply Reply Quote 0
      • L
        Lewis-H
        last edited by

        OTA stands for Over the Air (FOTA – Firmware Over the Air). It refers to the wireless delivery of new or updated software or firmware to devices such as smartphones and tablets.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post