M5 burner not working on Macos X
-
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 -
@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. -
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!!!
-
@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. -
@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.
-
my M5Stick-C uses a different USB-serial chip? it shows up as /dev/tty.usbserial-9952009445 instead of /dev/tty.SLAB_USBtoUART.
-
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
-chrisHere 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
esacecho ${machine}
if [ "${machine}" == "Linux" ]; then
echo "linux"
port="ttyUSB0"
fiif [ "${machine}" == "MacOS" ]; then
echo "MacOS"
#port="tty.SLAB_USBtoUART"
port="tty.usbserial-9952009445"
fiecho ${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 -
-
Please go to the official website and download the newest M5Burner and keep the app file inside the folder.
-
@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.
-
@ajb2k3 Hello again, where is the book ?
-
@ajb2k3 Hi ! So how to make it work ?
-
@alpine-lake I’m not in the office at the moment, has today’s version worked?
-
@alpine-lake Today's version ? They release one?
-
@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.
-
@alpine-lake the keys are generated on first boot by the device after a firmware update so no two keys are the same.
-
This post is deleted! -
@ajb2k3 I assume it will be used in communications then ?
-
@ajb2k3 So if I am ever able to flash the firmware in the device a new API will be generated ?
-
@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. -
@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
-
@ajb2k3 Ok thank you. You are using the UI Flow IDE ?
-
@alpine-lake yes, its all i can understand at the moment