Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Chris Wee
    C
    • Continue chat with Chris Wee
    • Start new chat with Chris Wee
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Chris Wee

    @Chris Wee

    1
    Reputation
    2
    Posts
    1175
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Chris Wee Follow

    Posts made by Chris Wee

    • RE: M5 burner not working on Macos X

      @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

      posted in SOFTWARE
      C
      Chris Wee
    • RE: 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!!!

      posted in SOFTWARE
      C
      Chris Wee