Custom esp8266 board with error: A fatal error occurred: (Failed to connect to ESP8266: Timed out waiting for packet hea
Posted: Sat Dec 13, 2025 9:19 am
Hi, I designed recently a custom esp8266 (ESP12E) with usb-c (used ch340c) that controls multiple triacs via optoisolators. My question is when I try uploading code into the custom pcb the output keep saying Connecting…._…. and in the end it says A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header. The below image is the schematic I hope someone could figure out any missing/wrong connections.
Edit: When I connected gpio15 and gpio0 to gnd it won't flash either but it got connected to HTerm (standalone serial monitor program)
after pressing RTS the output is
SW1 with DTR outputs
connecting gpio0 to gnd with RTS shows
my schematic:
Edit: When I connected gpio15 and gpio0 to gnd it won't flash either but it got connected to HTerm (standalone serial monitor program)
after pressing RTS the output is
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 1856, room 16
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0x79
csum 0x79
2nd boot version : 1.5
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000
rf cal sector: 1017
rf\[112\] : 00
rf\[113\] : 00
rf\[114\] : 01
SDK ver: 1.5.4.1(39cb9a32) compiled @ Jul 1 2016 20:04:35
phy ver: 972, pp ver: 10.1
)<\\f>‚ÐQéP1,ŠYÊY<15>'<3>)§Ã<\\b>)ÍPí<2>ü
Code: Select all
<\r><\n> ets Jan 8 2013,rst cause:2, boot mode:(1,7)<\r><\n><\r><\n>
Code: Select all
<\r><\n> ets Jan 8 2013,rst cause:2, boot mode:(1,6)<\r><\n><\r><\n>