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

    M5Burner does not work in MacOX 12.3.

    Bug Report
    m5 burner uiflow
    12
    18
    24.2k
    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.
    • L
      lmartu68
      last edited by

      Hello,

      I tried re installing python 3 and running the executable from the command line but I get a Java error
      Has anyone got this to work?
      Its frustrating!

      1 Reply Last reply Reply Quote 0
      • L
        lmartu68
        last edited by

        this is the error I get

        Uncaught Exception:
        Error: spawn python ENOENT
        at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
        at onErrorNT (internal/child_process.js:456:16)
        at processTicksAndRejections (internal/process/task_queues.js:80:21)

        1 Reply Last reply Reply Quote 0
        • Y
          yopita
          last edited by

          I had the same problem.
          I referred to joshrhyked's post, and I succeed burn with the following steps.

          1. Start Terminal App.

          2. Install homebrew.
            Please refer to the installation on the page.
            https://brew.sh/

          3. Install python3
            Please type the command.
            $ brew install python3

          4. Put a symbolic link
            $ sudo ln -s /usr/local/bin/python3 /usr/local/bin/python

          5. Start M5Burner on Terminal
            $ /Applications/M5Burner.app/Contents/MacOS/electron-m5burner-v2-eletron

          best of luck to you!

          ajb2k3A W 2 Replies Last reply Reply Quote 3
          • ajb2k3A
            ajb2k3 @yopita
            last edited by

            @yopita said in M5Burner does not work in MacOX 12.3.:

            I had the same problem.
            I referred to joshrhyked's post, and I succeed burn with the following steps.

            1. Start Terminal App.

            2. Install homebrew.
              Please refer to the installation on the page.
              https://brew.sh/

            3. Install python3
              Please type the command.
              $ brew install python3

            4. Put a symbolic link
              $ sudo ln -s /usr/local/bin/python3 /usr/local/bin/python

            5. Start M5Burner on Terminal
              $ /Applications/M5Burner.app/Contents/MacOS/electron-m5burner-v2-eletron

            best of luck to you!

            Step 4 is not correct but I see it worked for you.
            Open terminal and go to settings, you should be able to add /usr/local/bin/python3 to the environmental setting or find the environmental file and add it it there.

            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
            • W
              waqast @yopita
              last edited by

              @yopita
              https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/issues/139#issuecomment-1014816668

              It worked for me

              System:
              MacOS Monterey 12.3.1 (Macbook Pro 2019 Intel)

              Device
              M5Stack Core2

              • Install the driver CH9102_VCP_MacOS_v1.7 > CH34xVCPDriver.pkg
              • Run the app CH34xVCPDriver in Applicatoins
              • GO TO Security on Settings and allow the app to run
              • Start Terminal App.
              • Install homebrew.
                Please refer to the installation on the page : https://brew.sh/
              • Install python3
                Please type the command.
                $ brew install python3
              • Put a symbolic link
                $ sudo ln -s /usr/local/bin/python3 /usr/local/bin/python
              • Start M5Burner on Terminal
                $ /Applications/M5Burner.app/Contents/MacOS/electron-m5burner-v2-eletron
              • Select COM port wchusbmodem
              W R 2 Replies Last reply Reply Quote 0
              • W
                westwoodhk @waqast
                last edited by

                @waqast

                I couldn't solve it.

                When I input this command

                $ sudo ln -s /usr/local/bin/python3 /usr/local/bin/python

                it comes out this message

                ln: /usr/local/bin/python: File exists

                Do someone know how to solve this?

                Thanks

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

                  You need to set the path in BASH's environment setting (if bash is still used) google for setting Micropython Environmental Patch in OSX. I can't help because my OSX is several version behind and won't be updated until I can afford to by a new MAC.

                  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
                  • R
                    rickkaye @waqast
                    last edited by

                    @waqast When I follow these instructions, wchusbmodem does not show up as an available port in M5Burner. I checked in /dev and it is not there. The only port that M5Burner offers to me is /dev/tty.Bluetooth-Incoming-Port. My hardware is 2017 iMac5k MacOS Monterey12.3.1, M5Stack Core. Can anyone help?

                    oyoujiO ajb2k3A 2 Replies Last reply Reply Quote 0
                    • oyoujiO
                      oyouji @rickkaye
                      last edited by

                      @rickkaye Try to turn M5stack off, then plug it in! Do not turn it on by yourself.

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

                        @rickkaye Take a look in "Security and preferences" to see if the driver has been blocked.

                        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
                        • P
                          plusulli
                          last edited by

                          I updated today to macOS Monterey V 12.3.1 and everything is fine with M5Burner MacOS x64 v3.0

                          1 Reply Last reply Reply Quote 0
                          • M
                            mashimolab
                            last edited by

                            hello,
                            I could resolve the problem by changing the part of putting a symbokic link like below.

                            sudo ln -s /opt/homebrew/bin/python3 /usr/local/bin/python

                            The install path of python3 with homebrew is changed to /opt/homebrew/bin directory as the default in M1 mac.

                            System:
                            MacOS Monterey 12.3.1 (Macbook Pro 2021 M1 Pro Max)

                            Device
                            M5Stack Fire

                            1 Reply Last reply Reply Quote 1
                            • Y
                              yu_with_a_mission
                              last edited by

                              @yopita
                              I tried you way and get another error,
                              "File"/Applications/M5Burner.app/Contents/Resources/packages/tools/serial/tools/list_ports_osx.py", line 32, in <module>
                              kIOMasterPortDefault = ctypes.c_void_p.in_dll(iokit, "kIOMasterPortDefault")
                              ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found

                              =================
                              Burn Failed
                              ================="
                              How can I solve?

                              System:
                              MacOS Monterey 12.4
                              Device:
                              M5StickCPlus

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

                                @yu_with_a_mission said in M5Burner does not work in MacOX 12.3.:

                                @yopita
                                I tried you way and get another error,
                                "File"/Applications/M5Burner.app/Contents/Resources/packages/tools/serial/tools/list_ports_osx.py", line 32, in <module>
                                kIOMasterPortDefault = ctypes.c_void_p.in_dll(iokit, "kIOMasterPortDefault")
                                ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found

                                =================
                                Burn Failed
                                ================="
                                How can I solve?

                                System:
                                MacOS Monterey 12.4
                                Device:
                                M5StickCPlus

                                There is an Issue Montery.
                                Have you installed Xcode from the App Store?
                                Have you instilled the latest Python 3 from the python site?
                                Have you installed the drivers?
                                Have you set the PATH variable correctly?
                                Have you copied the M5Burner V3 to the Applications folder?
                                Have you erased the controller first before writing the correct firmware?

                                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
                                • First post
                                  Last post