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

    M5 burner not working on Macos X

    SOFTWARE
    8
    40
    151.6k
    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.
    • A
      Alpine-Lake
      last edited by

      Hello there,
      Is it as simple to install the M5 burger as opening a standard application ? I have seen some videos from the M5Stack folks showing that several entries have to be made thru terminal as well as files moved into specific directories. Unfortunately both YouTube tutorials are two blurred to be usable. Does anybody know what I'm referring to ? I went thru the installation procedure(the same as with other Mac applications) but the M5Burner opens a blank screen. Nothing is active on it.
      Thank you in advance for any help you maybe be able to provide.
      Regards.
      MGM

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @Alpine-Lake
        last edited by

        @alpine-lake it depends but the installation in in my WIP book found in the project forum.
        There is a security issue that affects certain versions of OSX which required use of the command line. If you follow my book you should be in safe hands.
        Btw, because the book is wip, it is free to download.

        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!

        A 2 Replies Last reply Reply Quote 0
        • C
          Chris Wee
          last edited by

          I'm having the same blank screen when I launch M5Burner.app on MacOSX High Sierra 10.13.6.

          Isn't M5Burner just a wrapper for some commands for esptool.py? Is there an equivalent command-line / shell-script for uploading scripts to M5Stack Core, Stick or Stick-C.

          -chris

          Good luck M5Stack team on Maker-Faire in San Mateo May 17-19, 2019!!!

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

            @chris-wee said in M5 burner not working on Macos X:

            I'm having the same blank screen when I launch M5Burner.app on MacOSX High Sierra 10.13.6.

            Isn't M5Burner just a wrapper for some commands for esptool.py? Is there an equivalent command-line / shell-script for uploading scripts to M5Stack Core, Stick or Stick-C.

            -chris

            Good luck M5Stack team on Maker-Faire in San Mateo May 17-19, 2019!!!

            You are correct. M5Burner is a simple gui for the esptool.py.
            It has been designed so that people like me can easy update their M5Stacks.
            Yup I'm getting the blank screen.

            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!

            C A 2 Replies Last reply Reply Quote 0
            • C
              Chris Wee @ajb2k3
              last edited by

              @ajb2k3 I found a script in

              M5Burner-MacOScan/firmwares/UIFlow-v1.2.3/UIFlow-Firmware-1.2.3/firmware_StickC/flash.sh

              I had to edit it in several places.

              1. my M5Stick-C uses a different USB-serial chip? it shows up as /dev/tty.usbserial-9952009445 instead of /dev/tty.SLAB_USBtoUART.

              2. The script didn't have the same filenames as the binaries in the directory, so I appended the addresses in the last line.

              There is a copy of esptool.py in the tools folder.

              Hope this helps any other MacOS users that cannot get their M5Burner.app to work...
              cheers
              -chris

              Here is my version of flash.sh bash script:

              #!/bin/bash

              machine=""
              port=""

              unameOut="$(uname -s)"
              case "${unameOut}" in
              Linux*) machine=Linux;;
              Darwin*) machine=MacOS;;
              CYGWIN*) machine=Win;;
              MINGW*) machine=Win;;
              *) machine=UNKNOWN
              esac

              echo ${machine}

              if [ "${machine}" == "Linux" ]; then
              echo "linux"
              port="ttyUSB0"
              fi

              if [ "${machine}" == "MacOS" ]; then
              echo "MacOS"
              #port="tty.SLAB_USBtoUART"
              port="tty.usbserial-9952009445"
              fi

              echo ${port}

              esptool.py --chip esp32 --port /dev/${port} --baud 750000 --before default_reset --after no_reset write_flash -z
              --flash_mode dio --flash_freq 80m --flash_size detect
              0x1000 bootloader_0x1000.bin
              0xf000 phy_init_data_0xf000.bin
              0x10000 MicroPython_0x10000.bin
              0x8000 partitions_mpy_0x8000.bin
              0x170000 spiffs_image_0x170000.img

              1 Reply Last reply Reply Quote 1
              • L
                liushasha
                last edited by

                Please go to the official website and download the newest M5Burner 0_1558336217186_Screen Shot 2019-05-20 at 3.09.30 PM.png and keep the app file inside the folder.

                ajb2k3A 1 Reply Last reply Reply Quote 0
                • A
                  Alpine-Lake @ajb2k3
                  last edited by

                  @ajb2k3 Hello and thank you for your reply. Actually the issue does not come from security mechanisms on the Mac. I did bypass that. I was never able to install the M5 burner, it open as a blank screen, not window asking for a port or firmware selection. The burn function in UI Flow doesn't work either. I was able to erase the M5 Fire but no way to flash the UI Flow firmware after that. The I hit "burn" it keeps asking me to download the firmware. M5 tech support can't help me solve these issues. They keep sending me back to tutorials. Also I was never able to connect the M5 Stack to WiFi's. I can set it up but in never connects. Yes I'm using 2.4GHz. This bugger simply never behaved the same way as in all tutorials I watched and applied. Thank you.

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alpine-Lake @ajb2k3
                    last edited by

                    @ajb2k3 Hello again, where is the book ?

                    1 Reply Last reply Reply Quote 0
                    • A
                      Alpine-Lake @ajb2k3
                      last edited by

                      @ajb2k3 Hi ! So how to make it work ?

                      ajb2k3A A 2 Replies Last reply Reply Quote 0
                      • ajb2k3A
                        ajb2k3 @Alpine-Lake
                        last edited by

                        @alpine-lake I’m not in the office at the moment, has today’s version worked?

                        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
                        • A
                          Alpine-Lake @Alpine-Lake
                          last edited by

                          @alpine-lake Today's version ? They release one?

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Alpine-Lake @Alpine-Lake
                            last edited by

                            @alpine-lake Forgive my ignorance but could you please tell me what thew API key is ? I asked tech support but didn't get an answer. Is this a code to unlock the software in order to make sure it is used with their M5 products ? Since I could never connect to a WiFi I was never able to get that "key" before erasing the module out of frustration and in an attempt to flash it anew. could this explain that to doesn't work ? Thank you.

                            ajb2k3A 1 Reply Last reply Reply Quote 0
                            • ajb2k3A
                              ajb2k3 @Alpine-Lake
                              last edited by

                              @alpine-lake the keys are generated on first boot by the device after a firmware update so no two keys are the same.

                              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!

                              A 3 Replies Last reply Reply Quote 0
                              • A
                                Alpine-Lake @ajb2k3
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • A
                                  Alpine-Lake @ajb2k3
                                  last edited by

                                  @ajb2k3 I assume it will be used in communications then ?

                                  ajb2k3A 1 Reply Last reply Reply Quote 0
                                  • A
                                    Alpine-Lake @ajb2k3
                                    last edited by

                                    @ajb2k3 So if I am ever able to flash the firmware in the device a new API will be generated ?

                                    ajb2k3A 1 Reply Last reply Reply Quote 0
                                    • ajb2k3A
                                      ajb2k3 @Alpine-Lake
                                      last edited by

                                      @alpine-lake Sorry I didn't finish the post before sending it as I was walking.
                                      The Key is actually an Individual identity used for the server to communicate with specific devices.
                                      From what I understand, when you access UIFlow the server queries a list of devices that has communicated with it. when the key you put into your session is read by the server it will send commands to the Devices matching.
                                      Sorry If i'm not clear on this bit.
                                      I am located in the UK.

                                      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!

                                      A 1 Reply Last reply Reply Quote 0
                                      • ajb2k3A
                                        ajb2k3 @Alpine-Lake
                                        last edited by

                                        @alpine-lake said in M5 burner not working on Macos X:

                                        @ajb2k3 So if I am ever able to flash the firmware in the device a new API will be generated ?

                                        Yes

                                        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!

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          Alpine-Lake @ajb2k3
                                          last edited by

                                          @ajb2k3 Ok thank you. You are using the UI Flow IDE ?

                                          ajb2k3A 1 Reply Last reply Reply Quote 0
                                          • ajb2k3A
                                            ajb2k3 @Alpine-Lake
                                            last edited by

                                            @alpine-lake yes, its all i can understand at the moment

                                            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!

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