ESP32-EVB flashing baud rate

Started by joverman, December 15, 2017, 11:27:18 AM

Previous topic - Next topic

joverman

I am using an ESP32-EVB (Rev C) under Linux and I am using the normal esp-idf for development.

Everything works fine using the default baud rate of 115200 for flashing which is also mentioned on the ESP32-EVB github page.

However, I am unable to get any higher baud rate to work, which is a pity since flashing large images takes ages then. On the same USB port I was able to flash a DevKitC from Espressif with 921600.

Is there any configuration in which the ESP32-EVB supports a higher baud rate than 115200?

Any comments or info welcome.

Cheers,
Johannes

PS: This is what I get for 921600:

$ make flash
Flashing binaries to serial port /dev/ttyUSB1 (app at offset 0x10000)...
esptool.py v2.1
Connecting....
Chip is ESP32D0WDQ6 (revision 1)
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...

A fatal error occurred: Timed out waiting for packet header
make: *** [flash] Error 2

LubOlimex

The two boards use different serial-USB converter chips. ESP32-EVB uses CH340, and DevKitC uses FTDI. Most likely the esptool.py (that handles the uploads) works better with the FTDI chip and than CH340 chip. I've seen similar reports in GitHub:

1. https://github.com/espressif/esptool/issues/44

2. https://github.com/espressif/esptool/issues/145
Technical support and documentation manager at Olimex