Cannot Download to ESP-WROVER-KIT
Cannot Download to ESP-WROVER-KIT
We purchased an ESP-WROVER-KIT and installed Eclipse and command-line development environments on both Windows and Linux (Ubuntu 14.04 LTS). After following all instructions, we are unable to download binaries in either environment, with exactly the same message: Connecting ....._____....._____ and eventually an error message about a bad header. We use the EXACT same projects and development environments and can download to the Sparkfun ESP32 Thing with no problem. We have tried the suggested trick of holding down on the boot switch and then depressing the enable/reset switch, doesn't help. This is crazy, something like downloading to a development kit should "just work". We've wasted a day already.
Re: Cannot Download to ESP-WROVER-KIT
Could you please post the full output from the upload tool?
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Cannot Download to ESP-WROVER-KIT
I see the following issue with ESP-WROVER-KIT black on Ubuntu 16.04 LTS with latest master from GitHub.
The same board loads without any issues on a Windows PC .
DevKitC board loads without any issues on both Ununtu PC and Windows PC.
Edit:
This looks like a systematic issue for Ubuntu 16.04 LTS PC / ESP-WROVER-KIT.
The following boards fail to load:
* ESP-WROVER-KIT V2 (black)
* ESP-WROVER-KIT V1 (red)
No any problems loading on Windows 7
The following boards load correctly on both Ubuntu and Windows 7 machines:
* DevKitC
* ESP32 Demo Board V2
Code: Select all
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.0-beta2
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
/home/krzysztof/esp/esp-idf/components/esptool_py/Makefile.projbuild:52: recipe for target 'flash' failed
make: *** [flash] Error 2
DevKitC board loads without any issues on both Ununtu PC and Windows PC.
Edit:
This looks like a systematic issue for Ubuntu 16.04 LTS PC / ESP-WROVER-KIT.
The following boards fail to load:
* ESP-WROVER-KIT V2 (black)
* ESP-WROVER-KIT V1 (red)
No any problems loading on Windows 7
The following boards load correctly on both Ubuntu and Windows 7 machines:
* DevKitC
* ESP32 Demo Board V2
Re: Cannot Download to ESP-WROVER-KIT
Hi,
I have changed the base resistor on Q1+Q2 to a higher value (10kohm i think) (R52+R46)
Rapzak
I have changed the base resistor on Q1+Q2 to a higher value (10kohm i think) (R52+R46)
Rapzak
Re: Cannot Download to ESP-WROVER-KIT
Did you try ttyUSB1
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Cannot Download to ESP-WROVER-KIT
@WiFiveDid you try ttyUSB1
Snap
Using /dev/ttyUSB1 resolves the issue.
(ESP-WROVER-KIT shows up under two USB ports - /dev/ttyUSB0 and /dev/ttyUSB1.)
This should be added to the "getting started" guide.
Thank you for a hand!
Re: Cannot Download to ESP-WROVER-KIT
Thanks! That's exactly the error message I'm getting. It doesn't matter if it's my Windows 10 setup or Ubuntu 14.04. I have tried both /dev/ttyUSB0 and /dev/ttyUSB1 on Linux and on Windows, I just look at Device Manager and use make menuconfig to change to the appropriate serial port.
Re: Cannot Download to ESP-WROVER-KIT
Okay, with the port question out of the way, do you have jumpers installed to connect tx/rx pins of the ft2232 with rx/tx of the ESP32?
-
- Posts: 7
- Joined: Tue Jun 27, 2017 10:55 pm
Re: Cannot Download to ESP-WROVER-KIT
I was getting similar errors, then I selected 40MHz and the board type Firebeetle-ESP32 and now it works perfectly. I have since clones the boards.txt to add a ESp32-WRover board type with the same characteristics as the Firebeetle type. It needs to in DIO mode and default to 40MHz.
Who is online
Users browsing this forum: No registered users and 91 guests