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

    Installation .bin files to the M5StickC plus2 RAM

    ESP - IDF
    3
    3
    107
    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.
    • M
      MurzikYEET
      last edited by

      Hello, how do I install the firmware for M5StickC plus2 in RAM so that the old firmware is not deleted via esptool?

      R R 2 Replies Last reply Reply Quote 0
      • R
        rwijgman @MurzikYEET
        last edited by

        @MurzikYEET said in Installation .bin files to the M5StickC plus2 RAM:

        Hello, how do I install the firmware for M5StickC plus2 in RAM so that the old firmware is not deleted via esptool?

        hoi ben zelf ook nieuw ff voor de duidelijkheid heb je een opslag
        bv sd card die je er aan kan koppelen want je zit volgens mij met flash geheugen .
        vandaar met dat en een nog eentje das de antenne unit en dan heb je een toy en niet alleen voor je eigennet te testen
        maar ik kan me vergissen hoor.
        was maar een ideetje,

        1 Reply Last reply Reply Quote 0
        • R
          RPI25 @MurzikYEET
          last edited by

          @MurzikYEET I think that you cannot do this if you want the firmware to run while the device is on. The way all computers work is they load the program into RAM and then run it from there. The firmware just tells the computer what to do (in this case, open boot the device and then run the python file).
          I believe you can't flash two sets of firmware from M5Burner anyway because each time, it erases the whole device before starting again.
          With esptool the same applies. It can't load firmware into the RAM. What it does do is load the stub loader which helps the device and esptool install faster.

          However there is a way to do it. I myself am not familiar with it but I believe that you can create OTA slots that store firmware in different slots on the device and then you can boot into different firmware.
          Here is documentation on OTA: Espressif Docs
          Hope this helps,
          RPi

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