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

    Core 2 bricked after attempting to install firmware

    Core 2
    8
    27
    12.9k
    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.
    • robskiR
      robski
      last edited by

      @Deckyon is your Core2 com port (com 5 you mentioned) vanishes from Windows Device Manager too?

      M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

      DeckyonD 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        Try removing the base, hold the reset button (next to the card slot), plug the USB cable in.

        Does windows report an error with any com ports?

        It is Very hard to fully brick any M5Stack controller as I have tried and recovered many, many times.

        One thing I did find is that the driver on the host computer is very unstable and prone to hard crashing. When you get a hard driver crash you need to do a hard shutdown of the computer. which means the host computer MUST be fully powered of for 30 seconds ignorer for the host computers ram to be wiped of data!

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        DeckyonD 1 Reply Last reply Reply Quote 0
        • DeckyonD
          Deckyon @robski
          last edited by

          @robski That is correct.

          1 Reply Last reply Reply Quote 0
          • DeckyonD
            Deckyon @ajb2k3
            last edited by

            @ajb2k3 No go. No errors and no lights on the Core2. It's just dead.

            1 Reply Last reply Reply Quote 0
            • K
              kristoffer @ajb2k3
              last edited by

              @ajb2k3 said in Core 2 bricked after attempting to install firmware:

              Failing that you will need to remove the base and connect a USB to UART adapter to the internal TX/RX pins and override the core2's onboard adapter

              Having a similar issue with one of my two Core2 v1.1's I am wondering how this works exactly? I assume we are talking about the 4pin connector with (DP, DM, GND, 5V)? In which case DP/DM is TX/RX - although I am not sure which would be which.

              @ajb2k3 said in Core 2 bricked after attempting to install firmware:

              Try removing the base, hold the reset button (next to the card slot), plug the USB cable in.

              Does not seem to do anything. Although I do seem to on rare orations be able to get it into some state where the computer recognises it as a serial port. But it also seems not to actually work when I try to write to it.

              @ajb2k3 said in Core 2 bricked after attempting to install firmware:

              One thing I did find is that the driver on the host computer is very unstable and prone to hard crashing. When you get a hard driver crash you need to do a hard shutdown of the computer. which means the host computer MUST be fully powered of for 30 seconds ignorer for the host computers ram to be wiped of data!

              Having two devices sort of rules that out. The other device works without issue for now.

              1 Reply Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3
                last edited by

                In windows 11, does the system control panel show any errors on the com ports?

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                DeckyonD 1 Reply Last reply Reply Quote 0
                • M
                  Mrmcquaid
                  last edited by

                  If you have a COM issue that when you hit the power button COM port connect and disconnects. Press the power button and when the port connects press and hold the reset button. Hold it until you start flashing the new files.

                  DeckyonD 1 Reply Last reply Reply Quote 0
                  • K
                    kristoffer
                    last edited by

                    None of the tricks with holding buttons does anything for the device I have that does not present a serial port over USB. While I'm mainly on macOS I can't make it do anything in Windows either. There I will just have an "Unknown USB Device (Device Descriptor Request Failed" entry in Device Manager.

                    So I'm more interested in how to connect directly to the internal TX/RX pins. But I am not entirely sure how to access them on this board.

                    Looking at the schematics more closely It seems the on-board connector is also for USB. But I am having a little trouble figuring out if any of the "M-BUS" pins connect. Maybe G1 and G18? G1 makes sense from the markings (TXD0). But G18 is marked as SCK (So a clock signal?) and G3 (marked RXD0) would make more sense.

                    1 Reply Last reply Reply Quote 0
                    • DeckyonD
                      Deckyon @ajb2k3
                      last edited by

                      @ajb2k3 No errors. The device itself has no lights that come on at all, even the blue on next to the SD slot. Win11 shows no COM errors when it is plugged in. Yes, multiple cables, multiple USB slots.

                      1 Reply Last reply Reply Quote 0
                      • DeckyonD
                        Deckyon @Mrmcquaid
                        last edited by

                        @mrmcquaid tried that many times - it just seems to be burnt out. It wont flash, no lights. There is the quick succession of beeps where the computer notices something has been plugged in, then the beep of it disconnecting. In the burner the COM port flashes a number then goes back to blank.

                        1 Reply Last reply Reply Quote 0
                        • ajb2k3A
                          ajb2k3
                          last edited by

                          Have you tried updating the CH9102 usb drivers?
                          yes, GPIO 1 and 3 are the pins you need to directly connect to.
                          if you look at the sticker on the base alt text

                          it sows which pins you need to use to bypass the CH9102.

                          If you have an arduino you need to program it as an ISP and then M5Burner should allow it to work instead of the CH9102 chip for programming.

                          Just remember that the Programmers TX must be connected G3 RXD and the programmers RX pin must be connected to G1 TXD pin along with the GND pin.

                          Connect 3v3 to the 3.3V pin or 5V to the 5V pin, do not connect both and do not have any other cables plugged in!

                          UIFlow, so easy an adult can learn it!
                          If I don't know it, be patient!
                          I've ether not learned it or am too drunk to remember it!
                          Author of the WIP UIFlow Handbook!
                          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                          K 3 Replies Last reply Reply Quote 1
                          • K
                            kristoffer @ajb2k3
                            last edited by

                            @ajb2k3 said in Core 2 bricked after attempting to install firmware:

                            Have you tried updating the CH9102 usb drivers?

                            No. For me I have two identical devices. One works without issue. The other does not. On both macOS and Windows 11.

                            @ajb2k3 said in Core 2 bricked after attempting to install firmware:

                            yes, GPIO 1 and 3 are the pins you need to directly connect to.

                            Ah okay. My confusion is from here. That could indicate 1 and 18. But I realise now the wire that hits G18 is not what is labeled U0RX.
                            0_1707314465389_Screenshot 2024-02-07 at 14.59.08.png

                            ajb2k3A 1 Reply Last reply Reply Quote 0
                            • ajb2k3A
                              ajb2k3 @kristoffer
                              last edited by

                              @kristoffer Its easy to get confused because the ESP32 does not have fixed pin function but has a function matrix. stick to the pins marked on the labels.

                              UIFlow, so easy an adult can learn it!
                              If I don't know it, be patient!
                              I've ether not learned it or am too drunk to remember it!
                              Author of the WIP UIFlow Handbook!
                              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                              1 Reply Last reply Reply Quote 0
                              • K
                                kristoffer @ajb2k3
                                last edited by kristoffer

                                @ajb2k3 said in Core 2 bricked after attempting to install firmware:

                                Just remember that the Programmers TX must be connected G3 RXD and the programmers RX pin must be connected to G1 TXD pin along with the GND pin.

                                Connect 3v3 to the 3.3V pin or 5V to the 5V pin, do not connect both and do not have any other cables plugged in!

                                Hmm. No go with two different FT232R adaptors. Maybe I did manage to damage it somehow. It still boots and runs the factory test though. So the chip and board does seem to be functional.

                                .. Or maybe something else it wrong. Trying to flash through the pins does not seem to work on my Core2 that works on USB.

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  kristoffer @kristoffer
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    kristoffer @ajb2k3
                                    last edited by

                                    @ajb2k3 said in Core 2 bricked after attempting to install firmware:

                                    Connect 3v3 to the 3.3V pin or 5V to the 5V pin, do not connect both and do not have any other cables plugged in!

                                    Just to clarify. You don't do anything specific to bring it into boot loader mode? ESP32 documentation seems to indicate one should bring GPIO 0 low (attach it to GND) to force this.

                                    Not I did once manage to make a FT232R programmer work with it as I was messing with some combination of that and a few other things. So I think I managed to erase it. But I am not having much success replicating and getting another connection.

                                    ajb2k3A 1 Reply Last reply Reply Quote 0
                                    • W
                                      willyam
                                      last edited by

                                      does anyone know how to hard reset with arduino cause my m5stack cardputer is showing the error with no serial data recived.... please help me i just got it

                                      1 Reply Last reply Reply Quote 0
                                      • ajb2k3A
                                        ajb2k3 @kristoffer
                                        last edited by ajb2k3

                                        @kristoffer The Stock adapter in the Core2 has the swiping electronics to pull gpis) low without user action.

                                        @willyam said in Core 2 bricked after attempting to install firmware:

                                        does anyone know how to hard reset with arduino cause my m5stack cardputer is showing the error with no serial data recived.... please help me i just got it

                                        What did you install and what OS are you using?

                                        Try opening M5Burner, switching on the card computer Press and hold BTNGO and press and release BTNrst.

                                        M5Burner should flash up a blue box with a port number.

                                        UIFlow, so easy an adult can learn it!
                                        If I don't know it, be patient!
                                        I've ether not learned it or am too drunk to remember it!
                                        Author of the WIP UIFlow Handbook!
                                        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          defsix
                                          last edited by

                                          I pulled the battery and pressed the Reset button whilst reconnecting to USB. This got the device to boot and be detected correctly. I couldn't erase the bad flash, but I flashed the stock firmware back using M5 Burner , this worked.

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