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

    M5Core2 - How to restore to pre-installed factory firmware

    Scheduled Pinned Locked Moved Core 2
    8 Posts 4 Posters 11.0k Views
    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 Offline
      caccum
      last edited by

      I have a 1 week old M5Core2 that is having display driver problems - but everything else seems to work.

      What is the procedure to re-flash my M5Core2 back to the pre-installed factory firmware. I see there is a github file on how to do this but only for the AWS version of the M5Core2.

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT Offline
        teastain @caccum
        last edited by

        @caccum What program do you use?
        Arduino IDE?

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        C 1 Reply Last reply Reply Quote 0
        • M Offline
          macsbug
          last edited by

          Hello@caccum

          M5Stack Core2 初期化(工場出荷状態に)してみた
          M5Stack Core2 I tried to initialize (factory settings)
          https://w-tori.net/wp/m5stack-core2-reset/

          M5Stack Core2を工場出荷時のファームに戻す
          Restore M5Stack Core2 to Factory Farm
          https://qiita.com/Toshiaki0315/items/407cd7b0ed87f7f50617

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            caccum @teastain
            last edited by

            @teastain Thanks for asking.
            I can use Arduino-IDE or UI-Flow-Desktop-IDE. I have also downloaded Thonny and ESPTools. So far the following has not worked to fix the display:

            1. M5 Burner ==> erase flash, and burn UI-Flow
            2. M5 Burner ==> erase and burn Core2FactoryTest
            3. M5 Burner ==> erase and burn M5Core2TouchPanelRecovery
            4. ESPTools ==> download 16MB flash image from a working m5core2 and flash to the problematic m5core2.
            5. Use "EasyLoader" to burn a program to test all core2 functions per the link on https://docs.m5stack.com/en/core/core2

            What is strange is that the only thing not working is the display. The backlight comes on. I can program the three buttons to send sounds to the speaker. I can create button on the touch screen that activate though I can't see them. If I print a label to the screen the device will freeze.

            teastainT 1 Reply Last reply Reply Quote 0
            • C Offline
              caccum @macsbug
              last edited by

              @macsbug Thanks for responding.
              I have tried those two solutions and it didn't work:

              1. M5Burner - erase flash, burn UI-Flow
              2. M5Burner - erase flash, burn Core2FactorTest; I actually think it was this program that initially killed my display driver; I have two new m5Core2's and I wonder if this programs is installing the wrong display drivers for my new Core2.
              3. M5Burner - erase flash, burn M5Core2TouchPanelRecovery; I also tried this program but it was hard to use as I couldn't see the display menu; I used the power button to blindly select each of the two firmware drivers and to load them.
              S 1 Reply Last reply Reply Quote 1
              • teastainT Offline
                teastain @caccum
                last edited by

                @caccum Well, speaking personally:
                I believe the BootLoader is deep inside and indestructible.
                I would use Arduino IDE to upload this basic LCD sketch:
                https://github.com/m5stack/M5Core2/blob/master/examples/Basics/display/display.ino

                Cheers, Terry!

                100% M5Stack addict with several drawers full of product!

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sbeeker @teastain
                  last edited by

                  @teastain Not sure if you or anybody still playing with this M5 Stack. I purchase one back around 2020 or so had bad car accident. Just now getting to play with it. I have experience with many devices but this is first M5 stack and requiring the UI Flow.

                  I was able to download what is called a "Factory Test" and it at the end of colorful screen give you ability to press buttons and see the letters {A,B,C} appear. Was hoping to do a bit more with device.

                  So I am comfortable with Arduino IDE. Pretty much everything I do results in an undefined GPIO_MUX_PIN type error. Every search I do gets me to M5 Stack AI help. Cannot get past this particular error. I realize liveries , boards changed in five years, but zero success.

                  Now when I do UI flow deal it is kind of new and IMHO very counter intuitive tool. Pretty much everything I try to do says I need and API Key. Well zero idea how to obtain one.

                  The tool itself has updated. When I try to upload the UIFlow or anything to the board I get the API required.

                  Device is odd to me. It is like you cannot turn it off, you cannot reset it, yet device sitting long Tim the battery low shutdown it down. You try to charge it from USB and you have to look at screen with buttons.

                  So this particular APP , it scrolls so fast it says something like Read 37 , expected 71. Honestly goes so fast hard to catch. It goes to a screen where it seems to find my 3 wifi SSIDs but cannot do anything before screen changes. Again, this is the "Factory Test"

                  So my really long story shorter.

                  Do you or anybody have a straight forward way to reset the device and get Arduion IDE to compile a basic demo. My real end goal is to port an application I already have working on WIO terminal that just talks to MQTT server.

                  However, I purchased some AI audio device that plugs to these devices and well concerned I cannot get a basic one working with nothing much less the AI.

                  The UI Flow I cannot get past the API Key . everything said to create account and the device would give me the key. Well if the device is not connecting to network (scrolls too fast) not sure how any API Key will help.

                  If you have any how to urls etc. that may help? wold appreciate. As. said I ordered a gray M5 with and AI attachment. Should be here in a week and well am concerned cannot get this one to do hello world. Well that is not true, the Factory Test did that. I cannot change it.

                  By far most complicated device have played with. I have quite a few NAON, XIAO, WIO, Arduino Q but never have I had the issues this little one has.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sbeeker @caccum
                    last edited by

                    @caccum Did you have any luck ? Little late to party . I cannot do anything because keeps saying I need an API Key. No idea where / how to get the to do the factory reset. Every search I do sends me to an M5 AI bot that does not actually tell you how to get the key. Just says device screen will give it to you.

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post

                    Looks like your connection to M5Stack Community was lost, please wait while we try to reconnect.