Skip to content
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" #502

Open
GermanSheepDog opened this issue Jan 6, 2020 · 4 comments
Open

Catalina and "Timed out waiting for packet header" #502

GermanSheepDog opened this issue Jan 6, 2020 · 4 comments

Comments

@GermanSheepDog
Copy link

@GermanSheepDog GermanSheepDog commented Jan 6, 2020

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?

@klebermagno

This comment has been minimized.

Copy link

@klebermagno klebermagno commented Jan 13, 2020

Same problem here.

@GermanSheepDog

This comment has been minimized.

Copy link
Author

@GermanSheepDog GermanSheepDog commented Jan 16, 2020

Does anyone else have this problem too?

@rudiniemeijer

This comment has been minimized.

Copy link

@rudiniemeijer rudiniemeijer commented Jan 17, 2020

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.

@GermanSheepDog

This comment has been minimized.

Copy link
Author

@GermanSheepDog GermanSheepDog commented Jan 17, 2020

Hello @rudiniemeijer,
thank you gor the Information. I didn‘t understand dutch, but I know the article: I am the first author. Now I am waiting for a software solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.