M5Atom/M5StickC Plus
# help
d
trying to get started with toit, but having trouble flashing an M5Atom or M5StickC Plus. Are these devices supportet? Getting the following error: % jag flash --baud 460800 Flashing device over serial on port '/dev/cu.usbserial-8552FE11AB' ... esptool.py v4.6 Serial port /dev/cu.usbserial-8552FE11AB Connecting.... Chip is ESP32-PICO-D4 (revision v1.0) Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 4c:75:25:c4:74:34 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. A fatal error occurred: Unable to verify flash chip connection (No serial data received.). Error: exit status 1 Any ideas? Thanks.
f
Let me have a look.
I think it should work, but it usually needs lower baud rates.
You are already setting the baud rate, though.
Fundamentally we are using the esptool under the hood, so there is no reason it would fail at this step.
Could you try with
--baud 115200
?
d
Stupid me. Could have tried to use an even lower speed myself. Works perfectly.
Thanks for the super fast response!
f
Glad it works 🙂