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

    Cardputer COM Not Working

    FAQS
    18
    85
    61.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.
    • H
      HankTTTop
      last edited by

      Hello. I just bought a Cardputer (M5 Stack v0.9) and I'm trying to change the firmware to a custom version. I'm using Windows 11 (22631.3085) with M5Burner-v3-beta-win-x64. Just for the record, have Python 3.11.4.

      I want to install the "Nemo" firmware (https://github.com/n0xa/m5stick-nemo I am aware that it is an unofficial version) and I am following the following steps on the documentation: https://docs.m5stack.com/en/quick_start/m5stickc_plus/uiflow

      1. Installed FTDI drivers;
      2. Downloaded M5 Burner
      3. Downloaded Nemo 2.3.3 inside M5 Burner
      4. M5 Burner finds COM3.
      5. When trying to burn, I get stuck connecting to the device and get the following error:

      --chip auto --port COM3 --baud 115200 --before default_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x000 C:\Users\User\Downloads\M5Burner-v3-beta-win-x64\packages\firmware\e7fcb8d6a9c59e5db631bfd5e9d77227.bin
      esptool.py v4.6.2
      Serial port COM3
      Connecting...
      .
      .
      [...]
      .
      .
      A fatal error occurred: Failed to connect to Espressif device: No serial data received. For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

      1. I checked the troubleshooting page. The device is being powered via USB, I have tried all bauld rates available on the M5Burner. I tried using Arduino's IDE Serial Monitor to check the connection, but the device was not recognized. Error persists.

      Am I missing any details?
      Thanks in advance!

      D L 2 Replies Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        Hold bingo or BTNRST for 5 seconds to get it into bootloader mode while trying to connect

        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 1
        • H
          HankTTTop
          last edited by

          Hello, ajb2k3.

          Thank you for your help. Sorry if it's a simple question, I'm not very experienced in hardware. I tried both options, BTNRST and BTNGO, one at a time for five seconds, both together for the same time, the device starts normally. It also does not appear in the system's device management panel.

          Maybe it's a problem with my notebook? (I tried on all USB ports) How do I know that the device started in bootloader mode? Is it just an internal option or will it give signals on the interface such as not turning on the display, not playing sounds, etc?

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

            A green LED will come on inside the card computer when in boot mode.

            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!

            F 1 Reply Last reply Reply Quote 2
            • felmueF
              felmue
              last edited by

              Hello guys

              the M5Cardputer doesn't have that hold button until green LED lights up mechanism. To put M5Cardputer into download mode use the method described here.

              If you want to enter download mode, press and hold the G0 button on StampS3 before turning it on, then release it after powering it on.

              Thanks
              Felix

              GPIO translation table M5Stack / M5Core2
              Information about various M5Stack products.
              Code examples

              ajb2k3A 1 Reply Last reply Reply Quote 4
              • ajb2k3A
                ajb2k3 @felmue
                last edited by ajb2k3

                @felmue I beg to differ there as I just tested And holding BTNGo down while the card computer is turned off does actually put it in boot mode and turns a green light on in the top left corner.

                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 2
                • ajb2k3A
                  ajb2k3
                  last edited by

                  How to get the cardputer (card computer into boot loader mode.
                  https://youtube.com/shorts/F7Cj4vGHSDI?si=Eur5JIqNV2edqiim

                  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!

                  H 1 Reply Last reply Reply Quote 1
                  • H
                    HankTTTop @ajb2k3
                    last edited by HankTTTop

                    Thanks for the comentaries, guys.

                    It's incredible that I spent hours researching and didn't see a single simple video like this haha thank you. However, see what happens in my case. Even if turned off, the device starts with the factory firmware as soon as the USB cable is connected.

                    https://www.youtube.com/shorts/5S_2vVIJUac (Sorry for the blurry image)

                    ajb2k3A T 2 Replies Last reply Reply Quote 2
                    • ajb2k3A
                      ajb2k3 @HankTTTop
                      last edited by ajb2k3

                      @hanktttop Sorry, just recoded and uploaded it.
                      The Cardputer MUST be turned OFF before connecting the USB cable to into boot loader mode.

                      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!

                      H 1 Reply Last reply Reply Quote 1
                      • H
                        HankTTTop @ajb2k3
                        last edited by

                        @ajb2k3 Not complaining lol It helped a lot, thanks

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

                          @hanktttop Just updated my comment

                          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!

                          H 1 Reply Last reply Reply Quote 1
                          • H
                            HankTTTop @ajb2k3
                            last edited by

                            @ajb2k3 It is OFF. However, it still starts the moment the cable is connected. Even with the switch turned off.

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

                              @hanktttop It takes a bit of practice but on a Mac it should appear as a USB Modem if timed properly. It is difficult to do.

                              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!

                              H 1 Reply Last reply Reply Quote 1
                              • felmueF
                                felmue
                                last edited by

                                Hello @ajb2k3

                                my apologies - I only read the comment of the M5Cardputer documentation w/o trying it myself.

                                Thanks
                                Felix

                                GPIO translation table M5Stack / M5Core2
                                Information about various M5Stack products.
                                Code examples

                                1 Reply Last reply Reply Quote 2
                                • H
                                  HankTTTop @ajb2k3
                                  last edited by

                                  @ajb2k3 Nothing yet. Apparently it behaves as if it were connected to a charger, not a computer. I reinstalled all the drivers, restarted the machine, but it's still the same. And I don't know if it's normal behavior for it to turn on as soon as it's connected, even with the switch turned OFF.

                                  1 Reply Last reply Reply Quote 0
                                  • felmueF
                                    felmue
                                    last edited by

                                    Hello guys

                                    @ajb2k3 : hmm, I've just double-checked with my M5Cardputer following your video and the LED does not light up. Maybe it depends on what firmware it currently runs?

                                    @HankTTTop : yes, that is normal behaviour - at least my M5Cardputer does that as well - it starts up as soon as USB is connected - even when off. (It is my understanding that the ON/OFF switch is for the battery only.)

                                    BTW: have you tried a different USB cable?

                                    Thanks
                                    Felix

                                    GPIO translation table M5Stack / M5Core2
                                    Information about various M5Stack products.
                                    Code examples

                                    H 1 Reply Last reply Reply Quote 2
                                    • H
                                      HankTTTop @felmue
                                      last edited by

                                      @felmue I tried different USB ports, but now that you mention it, it could be the problem. I'm using a USB-C that came from a portable console, which doesn't allow data transfer over this connection.

                                      I'll see if I can get another one tomorrow when the local businesses are open. Thanks for the sugestion.

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        HankTTTop
                                        last edited by

                                        New cable, same error. In fact, I just tested it on Fedora 39 (fresh installed), I still haven't been able to put the device in download mode. Maybe I'm forgetting a drive, which makes the device "recognize" the computer as a charger. Still, I reinstalled them all again, with no result.

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

                                          OK next step is to VERY Gently pull the Stamp form the card keyboard (the pins are tiny) then with it removed you need to open M5Burner (after a fresh reboot of the computer) hold the button down hidden under the label, connect a USB cable in and wait for the led to turn green. I'm just digging out my old windows computer to make a video.
                                          And M5Burner should report as a USB Modem.

                                          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 1
                                          • robskiR
                                            robski @HankTTTop
                                            last edited by

                                            @hanktttop said in Cardputer COM Not Working:

                                            New cable, same error. In fact, I just tested it on Fedora 39 (fresh installed), I still haven't been able to put the device in download mode. Maybe I'm forgetting a drive, which makes the device "recognize" the computer as a charger. Still, I reinstalled them all again, with no result.

                                            I have M5Dial with StampS3 at the back...had to remove sticker to see and feel when "boot" button is pressed and hold before usb is plugged in - its almost hard to sense way different from pressing reset button where you can hear click.
                                            With my Dial when say com13 was unresponsive then going in to boot mode made com12 to be available so in short words diff com for programming and different for boot mode - thats my experience with StampS3 from my M5Dial - i had it few times in some unresponsive mode.

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

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