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

    M5Stack Core 2 appears to be bricked

    Core 2
    2
    7
    7.5k
    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.
    • D
      david-bethesda
      last edited by david-bethesda

      No response ( no display or sound) upon plugging in usb power. Was working fine until I tried uploading a sketch. Burn fails. I am getting a response to ls:

      ls /dev/tty.wch*
      /dev/tty.wchusbserial537E0144481

      File "/Applications/M5Burner.app/Contents/Resources/packages/tools/serial/serialposix.py", line 268, in open
      raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
      serial.serialutil.SerialException: [Errno 16] could not open port /dev/tty.wchusbserial537E0144481: [Errno 16] Resource busy: '/dev/tty.wchusbserial537E0144481'

      Any suggestions?

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

        You probably uploaded a sketch which is blocking the port.
        Try using M5Burner to wipe the Core2

        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!

        D 1 Reply Last reply Reply Quote 0
        • D
          david-bethesda @ajb2k3
          last edited by

          @ajb2k3 thanks but when you say “wipe” using Burner which operation are you talking about? In my post I show the output from an attempt to use M5Burner. I agree with your theory that The unit is running my sketch which is either holding up the serial connection or doing something similar. What I don’t understand about this unit is the apparent lack of a factory reset using the buttons somehow and starting from scratch with a boot strap or something similar. Is there no such function?

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3 @david-bethesda
            last edited by

            @david-bethesda no, there is no button press to factory reset.

            if you download and install m5burner which is an application used to flash firmwares to the core2.

            In the top right corner of the application in an "erase" button (you may need to resize the window) you can use this to remove any code running in the core2's memory.

            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!

            D 1 Reply Last reply Reply Quote 0
            • D
              david-bethesda @ajb2k3
              last edited by

              @ajb2k3 Thanks. I referenced my attempt with Burner in the original post. I tried a subsequent time and it finally worked. So I think I'm good now. It's not clear to me how Burner could ever work if a program is attached to the serial port -- does Burner not require the serial port itself?

              ajb2k3A 1 Reply Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3 @david-bethesda
                last edited by

                @david-bethesda programs can randomly block the port using m5burner sometimes resets the port (or something else strange ) and allows the boot loader to be over written resetting the device.

                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
                  david-bethesda
                  last edited by

                  I was finally able to Erase and get things back to normal.

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