M5StickC/ATOM on MacOS Catalina can't upload/ ESP32: Timed out waiting for packet header solution (Solved)
-
@tokuhira when you received the product can't upload programs? the machine that failed to update, can the program be burned normally now?
-
I've got similar problems: Not being able to burn anything from VSCode/PlatformIO with the same error message.
Running under macOS Big Sur. Trying to use the M5AtomLiteI finally got it working under Arduino IDE, being able to burn code.
The UIFlo software also works, partially. With the M5Burner I can erase and burn the UIFlow software, setting it to USB mode, and after that, it is able to burn a new program with UIFlow (using 1.7.2 beta). But after each burn, the connection gets lost and I need to go to M5Burner separately, erase the Atom and burn UIFlow again, and setting it to USB-mode.But my prime concern is using VSCode, which doesn't work
Using Board definition pico32. -
@DannyG86 can you please post your "platformio.ini" file? And also your #include and setup() code. I am on mac Big Sur v11.3 and can reliably program M5StickC, StickC Plus, Atom and Fire using PlatformIO.
-
I'm on Mac OS 12.2.1, and I'm running into the problem listed in this topic.
Changing baud rate to 460800
Changed.
Configuring flash size...A fatal error occurred: Timed out waiting for packet header
*** [upload] Error 2
============================================= [FAILED] Took 4.46 seconds =============================================
The terminal process "platformio 'run', '--target', 'upload'" terminated with exit code: 1.When using the supplied firmware update tool, I'm getting following error:
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.....................
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.[Process completed]
Any suggestions would be appreciated. Thank you!