[SOLVED] Can't program ESP32 over UART on own PCB
Posted: Mon Apr 16, 2018 9:18 am
Hello everybody,
currently I am working on a self developed PCB with a WROOM-ESP32 on board. The PCB is a new design, got it delivered today. The ESP32 is unprogrammed.
I did develop the firmware on a devboard.
I can't programm the ESP32, neither with "esptool" nor in the build environment ("make flash").
The result is always:
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to Espressif device: Invalid head of packet ('\x00')
Things I did:
[*] connected the ESP32-UART (wroom pin 34/34=rxd/txd) to a serial-USB-converter connected to my PC.
[*] verified correct COM port in device manager (COM14)
[*] set up build environment to correct COM port (export ESPPORT=COM14)
[*] I did look at the signals using an oscilloscope - there is data TX'd to the ESP32
[*] I testwise exchanged TX and RX - same result
How can I process further and narrow down this problem?
Thanks in advance for any input.
Best Regards, Timm
currently I am working on a self developed PCB with a WROOM-ESP32 on board. The PCB is a new design, got it delivered today. The ESP32 is unprogrammed.
I did develop the firmware on a devboard.
I can't programm the ESP32, neither with "esptool" nor in the build environment ("make flash").
The result is always:
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to Espressif device: Invalid head of packet ('\x00')
Things I did:
[*] connected the ESP32-UART (wroom pin 34/34=rxd/txd) to a serial-USB-converter connected to my PC.
[*] verified correct COM port in device manager (COM14)
[*] set up build environment to correct COM port (export ESPPORT=COM14)
[*] I did look at the signals using an oscilloscope - there is data TX'd to the ESP32
[*] I testwise exchanged TX and RX - same result
How can I process further and narrow down this problem?
Thanks in advance for any input.
Best Regards, Timm