In the Arduino IDE, I compile and verify my sketch, and then attempt an upload.
Before i upload, the serial monitor shows:
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x23 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
I get the following error:
Code: Select all
esptool.py v2.1
esptool.py v2.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
_
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('\x80')
I changed the baud rate to 115200, and get the same message again.
Please help me to understand what I need to do to make this sketch upload work direct to the ESP chip.