LucidVR / lucidgloves

Arduino/ESP32 based DIY VR Haptic gloves. Compatible with SteamVR via OpenGloves.
MIT License
2.04k stars 259 forks source link

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header #45

Closed slobershelf closed 2 years ago

slobershelf commented 2 years ago

esptool.py v3.0-dev Serial port COM3 Connecting......................................___An error occurred while uploading the sketch

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

LittleNyanCat commented 2 years ago

Press and hold the BOOT/IOO (whichever your board has) as soon as you press the upload button. Release when it says the upload is done. That should do it

slobershelf commented 2 years ago

it got closer but it said

esptool.py v3.0-dev Serial port COM3 Connecting.... Chip is ESP32-D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 84:cc:a8:3f:6c:38 Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Warning: Could not auto-detect Flash size (FlashID=0x0, SizeID=0x0), defaulting to 4MB Compressed 8192 bytes to 47... Writing at 0x0000e000... (100 %) Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 5461.4 kbit/s)...

A fatal error occurred: Timed out waiting for packet header A fatal error occurred: Timed out waiting for packet header

hardlite commented 2 years ago

Can you try holding the button down until it finishes uploading?

slobershelf commented 2 years ago

I did

slobershelf commented 2 years ago

it did the same thing

LittleNyanCat commented 2 years ago

What board do you have set in the IDE?

slobershelf commented 2 years ago

where do you check

LittleNyanCat commented 2 years ago

It's under tools

slobershelf commented 2 years ago

ESP32 Dev module

LittleNyanCat commented 2 years ago

Try switching that to Node32s

slobershelf commented 2 years ago

same error

Sketch uses 949498 bytes (72%) of program storage space. Maximum is 1310720 bytes. Global variables use 31172 bytes (9%) of dynamic memory, leaving 296508 bytes for local variables. Maximum is 327680 bytes. esptool.py v3.0-dev Serial port COM3 Connecting.... Chip is ESP32-D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 84:cc:a8:3f:6c:38 Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Warning: Could not auto-detect Flash size (FlashID=0x0, SizeID=0x0), defaulting to 4MB Compressed 8192 bytes to 47... Writing at 0x0000e000... (100 %) Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 5957.9 kbit/s)...

A fatal error occurred: Timed out waiting for packet header A fatal error occurred: Timed out waiting for packet header

Benjamin5678 commented 2 years ago

Have you downloaded these drivers? Its 4th in list https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers

danwillm commented 2 years ago

I'm assuming this issue is fixed. I'll close this issue now, but feel free to reopen if you're still running into problems.