ESP32-S3: Unable to communicate over UART when adding bypass capacitors
Posted: Wed May 03, 2023 5:18 am
The Hardware Design Guidelines recommend placing bypass capacitors of 0.1uF on some of the VDD lines for the ESP32-S3 (EG 0.1 uF on VDD_SPI). Whenever I place these capacitors on my circuit, I get an invalid head of packet error when trying to flash the device over UART:
And also when I try to read over UART using the serial monitor:
I am not sure why this happens and have tried the solutions as suggested by the Troubleshooting section of the documentation:
Any help would be appreciated. Thank you.
Code: Select all
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x00046fff.
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 20864 bytes to 13343..
Writing at 0x00000000... (100 %)
A fatal error occurred: Invalid head of packet (0x78): Possible serial noise or corruption.
Code: Select all
invalid header: 0x20010000
invalid header: 0x20010000
invalid header: 0x20010000
invalid header: 0x20010000
invalid header: 0×20010000
invalid header: 0x20010000
- Trying another USB cable.
- Lowering the baud rate. I've tried 115200, 57600, 38400, 19200, 14400, 9600. At 115200 and 57600 I received the same invalid head of packet error. For the other baud rates I get a chip stopped responding error.
- Skipping chip autodetection. I have set my chip to ESP32-S3 using esptool.py
Any help would be appreciated. Thank you.