m5stack / M5Cloud

Micropython Web IDE beta version
http://io.m5stack.com/
145 stars 35 forks source link

Example esptool.py command doesn't specify --flash_mode dio #10

Open WillWritesCode opened 6 years ago

WillWritesCode commented 6 years ago

Current README.md has teh following CLI example for flashing M5Cloud: esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoUART write_flash -z 0x1000 firmware.bin

Flashing suceeds with this, but the device then fails to boot. ESP32 has to be flashed in dual IO mode (DIO) - see https://github.com/espressif/esptool

This version has been tested/works on MacOS: esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoUART write_flash --flash_mode dio -z 0x1000 firmware.bin

0x1abin commented 6 years ago

Thanks for your correct! I updated the README.