Cannot Download to ESP-WROVER-KIT

jlbahr
Posts: 2
Joined: Thu Apr 06, 2017 11:50 am

Cannot Download to ESP-WROVER-KIT

Postby jlbahr » Thu Apr 06, 2017 11:55 am

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.

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Cannot Download to ESP-WROVER-KIT

Postby ESP_igrr » Thu Apr 06, 2017 12:03 pm

Could you please post the full output from the upload tool?

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Cannot Download to ESP-WROVER-KIT

Postby ESP_krzychb » Thu Apr 06, 2017 5:03 pm

I see the following issue with ESP-WROVER-KIT black on Ubuntu 16.04 LTS with latest master from GitHub.

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
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

rapzakesp
Posts: 6
Joined: Fri Feb 12, 2016 4:50 pm

Re: Cannot Download to ESP-WROVER-KIT

Postby rapzakesp » Thu Apr 06, 2017 5:15 pm

Hi,

I have changed the base resistor on Q1+Q2 to a higher value (10kohm i think) (R52+R46)

Rapzak

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Cannot Download to ESP-WROVER-KIT

Postby WiFive » Thu Apr 06, 2017 10:33 pm

Did you try ttyUSB1

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Cannot Download to ESP-WROVER-KIT

Postby ESP_krzychb » Fri Apr 07, 2017 4:33 am

Did you try ttyUSB1
@WiFive
Snap :D
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!

jlbahr
Posts: 2
Joined: Thu Apr 06, 2017 11:50 am

Re: Cannot Download to ESP-WROVER-KIT

Postby jlbahr » Fri Apr 07, 2017 12:31 pm

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.

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Cannot Download to ESP-WROVER-KIT

Postby ESP_igrr » Fri Apr 07, 2017 4:28 pm

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?

G6EJD-ESP32
Posts: 7
Joined: Tue Jun 27, 2017 10:55 pm

Re: Cannot Download to ESP-WROVER-KIT

Postby G6EJD-ESP32 » Wed Jun 28, 2017 10:25 am

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 164 guests