I'm having trouble with uploading to an M5Atom using esptool.py on macOS Big Sur 11.2.2 with the error:
A fatal error occurred: Timed out waiting for packet header
I've tried to use the Updater_FW20200422 (suggested in another thread), but get another error with that tool:
Detecting M5Stack products.
Find M5Stack products.
Kernel driver deteched.
Apply magic success.
Fail to cast magic stage 2, please contact vendor.
Waiting for device in DFU mode.....................%
Otherwise the serial port works and I am able to use esptool.py to read_mac:
dean@lucky13 razzle % esptool.py --port /dev/cu.usbserial-7D52471593 read_mac
Serial port /dev/cu.usbserial-7D52471593
Detecting chip type... ESP32
Chip is ESP32-PICO-D4 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
Hard resetting via RTS pin...
Any suggestions on how to proceed?