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

    (SOLVED)SD Uploader can't flash new code

    Arduino
    1
    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.
    • C
      cepics
      last edited by cepics

      Hi all,
      I was trying a code on a stack running SD Updater
      I forgot to put inside the bin file this part of code

      #include "M5StackUpdater.h"
      

      and

      
        if (digitalRead(BUTTON_A_PIN) == 0) {
          Serial.println("Will Load menu binary");
          updateFromFS(SD);
          ESP.restart();
        }
      

      now I really don't know how to exit the app...
      M5Burner don't do the job!! and say: timeout waiting for packet header

      please

      1 Reply Last reply Reply Quote 0
      • C
        cepics
        last edited by

        I solved like that:

        with M5Burner flash a different firmware in the stack like uiflow
        and than flash again lovian firmware..

        tnks

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