New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catalina and "Timed out waiting for packet header" (ESPTOOL-559) #502
Comments
Same problem here. |
Does anyone else have this problem too? |
There is a known timing problem with macOS X Catalina and esptool.py. Espressif knows about it. M5Stack knows about it, but doesn't acknowledge it their problem. The (proven, working) workaround entails connecting pin G0 to ground with a short wire or paperclip while using esptool.py. Edit: I'm sorry, didn't see the original question. This does not answer the original question about how to proceed without connecting G0 to GND. See this article (Dutch) and the discussion here. |
Hello @rudiniemeijer, |
For M5Stickc Ok |
Hi @rudiniemeijer @GermanSheepDog , Sorry for the slow reply on this one. This seems to be an issue between the CH552 programmable USB microcontroller used by M5Stack for the serial interface, and the relevant driver in Mac OS X Catalina. The serial control signals used by esptool.py for auto-reset were not getting through to the hardware. According to M5Stack the solution is to update the firmware on the CCH552 chip: I don't think there's anything else we can do about this from esptool.py, it needs to be fixed at this lower layer. |
I confirm, I'm unable to upload anything on catalina ESP8266/ESP8285 (not tried on ESP32) but whatever chip I'm using CH340, FTDI, CP2102 so yes looks like underlying layer but working on 3 mac and all have the same issue and using win app in parallel does the same thing. It's really a pity I need to go on windows laptop to flash ;-( |
I too am experiencing this issue with the CP2102. Any updates? |
Same Here with ESP32 PICO, using official and even git head version of esptool in command line. |
@kryptonn, @nodofilm : Did you read this https://forum.m5stack.com/topic/1591/m5stickc-and-atom-on-macos-catalina-can-t-upload-programs-solution. Important: You must log in on M5Stack-Website to see the information. |
The solution on our end was not Catalina actually. It was a Wacom tablet driver. They also use an SiLabs UART to Serial chip and they modified the SiLabs driver. It looks like "SiLabsUSBDriver64.kext" and must be removed. |
|
Closing as the CH552 issue with M5Stack seems to be resolved. @kryptonn Sorry for not noticing your other replies here. The ESP-PICO-KIT uses a CP2102N USB/serial chip which is made by a different manufacturer and uses a different driver. Suggest checking that you have the latest macOS CP2102 driver from Silicon Labs installed and no errors visible in System Preferences relating to driver signing, etc. If it's still not working then please open a new issue with the details. |
This should be illegal! 😱 |
Hello,
I used M5Stack and M5StickC at my Mac with OS 10.14. Now I changed to Catalina (10.15) and I installed the current FTDI driver and the current CP2104 (the FTDI driver is for M5StickC, CP2104 driver is for M5Stack Core).
The FTDI driver didn't work. If I flash the ESP32 I got:
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header.
My workaround is "Connect G0 pin to GND".
The CP2104 at M5Stack Core often worked, but sometimes I got the same error and I then I connect G0 pin to GND.
My short test showed the problem:
$IDF_PATH/components/esptool_py/esptool/esptool.py chip_id
-> Here I got the "Timed out waiting for packet header".
Can anyone help me to program without connecting G0 pin to GND?
The text was updated successfully, but these errors were encountered: