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

    M5StickC/ATOM on MacOS Catalina can't upload/ ESP32: Timed out waiting for packet header solution (Solved)

    Official Updates
    19
    44
    209.8k
    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.
    • m5stackM
      m5stack @nsfilho
      last edited by

      @nsfilho awesome.

      S 1 Reply Last reply Reply Quote 1
      • S
        sheepDog @m5stack
        last edited by sheepDog

        @m5stack Here are the same:

        1. I'm using MacOS Catalina (10.15.2), via USB-C -> Adapter USB-C to USB 3.0 -> M5-Stick-C USB to USB-C
        2. If I use the correct dev it worked. There are two device-driver for one M5StickC:
        • cu.usbserial-00001014 ttyvf
        • cu.usbserial-6D522008B6 ttyw0

        The first device-driver worked!

        1 Reply Last reply Reply Quote 0
        • R
          Redes.io @m5stack
          last edited by

          @m5stack Sorry ... Extremely new with a M5StickC. Having issues trying to connect M5StickC to UIFlow.
          I think this is the issue I am having , since I have MacOS (Catalina), downloaded Solution2 file, not familiar with terminal commands. I can't make this file to run... help

          File - Get Info
          -Sharing & Permissions

          • Everyone / Read and write

          Open terminal
          -cd ~/Downloads
          -chmod + x ch552Updater_FW20200102_BTV231
          -chmod: x: No such file or directory
          -chmod: ch552Updater_FW20200102_BTV231: No such file or directory

          What am I doing wrong?

          world101W 1 Reply Last reply Reply Quote 0
          • world101W
            world101 @Redes.io
            last edited by

            @redes-io said in M5StickC and ATOM on MacOS platform can't upload programs solustion:

            @m5stack Sorry ... Extremely new with a M5StickC. Having issues trying to connect M5StickC to UIFlow.
            I think this is the issue I am having , since I have MacOS (Catalina), downloaded Solution2 file, not familiar with terminal commands. I can't make this file to run... help

            File - Get Info
            -Sharing & Permissions

            • Everyone / Read and write

            Open terminal
            -cd ~/Downloads
            -chmod + x ch552Updater_FW20200102_BTV231
            -chmod: x: No such file or directory
            -chmod: ch552Updater_FW20200102_BTV231: No such file or directory

            What am I doing wrong?

            The instructions are incorrect. There should not be a space in between +x.

            cd ~/Downloads
            chmod +x ch552Updater_FW20200114_A2_BTV231.dms 
            

            Then follow the instructions as written above.

            R 1 Reply Last reply Reply Quote 0
            • R
              Redes.io @world101
              last edited by

              @world101 Thank you for the info.

              I did how you instructed and it just doesn't do any thing. The terminal just doesn't do anything the file doesn't open anything.

              Thanks.

              world101W 1 Reply Last reply Reply Quote 0
              • world101W
                world101 @Redes.io
                last edited by

                @redes-io

                All I did was show you how to change the executable permissions of the file. That was your issue. You still need to follow the rest of the instructions they provided....

                “Then connect the M5StickC device to the computer, double-click to open the tool, follow the operation prompts, press the Enter key to run, and wait for the burning to complete.”

                R C 2 Replies Last reply Reply Quote 0
                • R
                  Redes.io @world101
                  last edited by

                  @world101 Very much appreciated, thank you for the reply!

                  1 Reply Last reply Reply Quote 0
                  • C
                    cortado @world101
                    last edited by

                    @world101 Remember to remove the .dms file extension, which is wrongly added by Safari/MacOS. Then you should be able to execute the file by right-clicking and choosing "open in Terminal", then follow instructions.

                    1 Reply Last reply Reply Quote 0
                    • S
                      sergey.maysak
                      last edited by

                      Just want to confirm this solution as working for M5Stick-C and M5Atom... I'm on latest macOS 10.15.3 (19D76).

                      m5stackM 1 Reply Last reply Reply Quote 0
                      • m5stackM
                        m5stack @sergey.maysak
                        last edited by m5stack

                        @sergey-maysak Theoretically this solution applicable , and we already has test , you could try it.

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

                          @world101 said in M5StickC and ATOM on MacOS platform can't upload programs solustion:

                          chmod +x ch552Updater_FW20200114_A2_BTV231.dms

                          ==================== M5 Serial Converter Firmware Updater ====================

                          FW Version: FW20200114_A2
                          
                          This is only for update M5StickC or M5Atom Series USB Controller's Firmware 
                          

                          , using it for any other purpose may cause damage to your devices.

                          When you are using this software, make sure you have a reliable connection 
                          

                          to your device. Any disruption during the process will cause the device
                          not functioning.

                                              NO WARRANTIES
                          

                          To the extent permitted by applicable law, neither wsdot,
                          nor any person, either expressly or implicitly, warrants any aspect of
                          this software or program, including any output or results of this software
                          or program. Unless agreed to in writing. This software and program is
                          being provided "as is", without any warranty of any type or nature,
                          either express or implied, including, but not limited to, the implied
                          warranties of merchantability and fitness for a particular purpose,
                          and any warranty that this software or program is free from defects.

                          Press enter to continue . . .

                          Detecting M5Stack products.
                          Find M5Stack products.
                          Kernel driver deteched.
                          Apply magic success.

                          Fail to cast magic stage 2, please contact vendor.
                          Waiting for device in DFU mode.....................logout
                          Saving session...
                          ...copying shared history...
                          ...saving history...truncating history files...
                          ...completed.
                          Deleting expired sessions...153 completed.

                          [Process completed]

                          not working to me M5Atom LITE on osx 10.12.5

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

                            where is the G0 on M5Atom LITE??

                            m5stackM 1 Reply Last reply Reply Quote 0
                            • m5stackM
                              m5stack @cepics
                              last edited by

                              @cepics Why do you want to upgrade ... 10.12 can support the ATOM. This upgrade tool is for those systems that don't recognize the port such as MacOS Catalina

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

                                I have problems to upload code on M5StickC and M5Atom LITE.....
                                no serial port available in tools/port menu..

                                I have also burn with easyloader (on a win machine) to reset the modules

                                osx 10.12.5
                                arduino IDE 1.8.9

                                m5stackM 1 Reply Last reply Reply Quote 0
                                • m5stackM
                                  m5stack @cepics
                                  last edited by

                                  @cepics you could try setup the baud to 115200. then try again. or contact our store. we will help you solve it. as soon as possible

                                  C 1 Reply Last reply Reply Quote 0
                                  • H
                                    HerrLehmann @m5stack
                                    last edited by

                                    @m5stack

                                    I'm on macos 10.15.3 and I'm asking myself too, where is G0 on the M5Atom Matrix? Although I was able to apply the described firmware, I'm not able to connect via UIFlow IDE nor Arduino IDE (1.8.9).

                                    By the way: almost no image gets displayed on Safari from the documentation — neither iPad nor mac.

                                    m5stackM 1 Reply Last reply Reply Quote 0
                                    • m5stackM
                                      m5stack @HerrLehmann
                                      last edited by

                                      @herrlehmann M5Atom Matrix have not provided G0 Pin to outside. so the solustion 1 is for m5stickC. and could you use windows os test it again? maybe is the driver software problem .

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

                                        @m5stack said in M5StickC and ATOM on MacOS Catalina can't upload programs solustion:

                                        @cepics you could try setup the baud to 115200. then try again. or contact our store. we will help you solve it. as soon as possible

                                        no way!!! Atom serial port doesn't appear in the serial port list..... more than one cable tested....

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          HerrLehmann @m5stack
                                          last edited by

                                          @m5stack

                                          No, the is (un)fortunately no Windows machine. I'm a little confused about the fact, that the above mentioned firmware is running without any problem. So there needs to be a connection between mac to m5atom in some way — or how is it writing to the device?

                                          m5stackM 1 Reply Last reply Reply Quote 0
                                          • R
                                            RschDev
                                            last edited by

                                            My new m5stick-C are showing up on the MacOS (10.15.3) as M5 Serial Converter, and in the Arduino IDE (latest edition). I have applied the updater as suggested in this thread, and still get this response when trying to upload from the IDE to the device: "fork/exec /Applications/Arduino 2.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags: bad CPU type in executable
                                            Error compiling for board M5Stick-C."

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