I have designed a PCB using the ESP32 module, however I do have problems uploading code to it. When I power the board, I get the following message:
Code: Select all
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
Code: Select all
$ make flash
Python requirements from C:/msys32/home/rubfe/esp/esp-idf/requirements.txt are satisfied.
Flashing binaries to serial port COM9 (app at offset 0x10000 )...
esptool.py v2.5.0
Serial port COM9
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
make: *** [/home/rubfe/esp/esp-idf/components/esptool_py/Makefile.projbuild:63: flash] Error 2
The schematics of the module are attached and are made following the recommendations of design outlined in the ESP32 WROOM-32 module datasheet. The module in question is this. I'm supplying power through a 12V/2A power source (regulated by a LM1117T, which has a 800mA output and which remains in operating temperature). I'm using this FTDI cable to program it using UART. I have mixed success using it to program, as I have been able to program a DevKitC development board with it, but not another one (which is newer and I'm able to program using the microUSB connection).
Any help would be greatly appreciated. Thanks in advance!!