Page 1 of 1

Problems with flashing esp32-s2 on custom-made board

Posted: Sun Jun 30, 2024 5:42 pm
by zamonary1
Hello. I've created a board utilizing esp32-s2fh4 chip. After ordering the boards, they don't work. I've checked the voltages on board but found nothing. I've ordered my chips from aliexpress, but they didn't show up in usb devices in arduino ide. The soldering is good too, no shorts. I've tried de-soldering the chip from lolin s2 mini in hopes that the problem is related to bootloader but the results are the same, no connection to pc. What's interesting that lolin s2 stopped showing in serial devices in arduino ide too, no matter what of the 2 chips i have i was soldering. Maybe i have fried them with 200-210C heated table?
Btw the project will be made open-source
20240630_203518.jpg
20240630_203518.jpg (767.31 KiB) Viewed 2201 times
board.png
board.png (808.53 KiB) Viewed 2201 times

Re: Problems with flashing esp32-s2 on custom-made board

Posted: Mon Jul 01, 2024 5:22 am
by ESP_Sprite
Please look at and follow the hardware design guidelines for that chip. At the very least, VDD3P3 is not connected to 3.3V and you're missing a RC circuit on your reset pin.

Re: Problems with flashing esp32-s2 on custom-made board

Posted: Mon Jul 01, 2024 4:22 pm
by zamonary1
Thank you very much for addressing the problem on vdd3p3 pin, but can you give more info on what am i missing on my reset pin?

Re: Problems with flashing esp32-s2 on custom-made board

Posted: Tue Jul 02, 2024 7:39 am
by ESP_Sprite
It needs a pullup and a capacitor to ground. The RC network will pulse the pin low on power-on and keep it high otherwise.

Re: Problems with flashing esp32-s2 on custom-made board

Posted: Tue Jul 02, 2024 8:54 am
by zamonary1
Should i do something like this?
Снимок экрана от 2024-07-02 11-51-55.png
Снимок экрана от 2024-07-02 11-51-55.png (32.11 KiB) Viewed 2086 times
Also is there any other obvious problens in my scheme? Also do you want to get mentioned on github?

Re: Problems with flashing esp32-s2 on custom-made board

Posted: Wed Jul 03, 2024 2:00 am
by ESP_Sprite
That looks good. And again, read carefully through the hardware design guidelines I linked, there may be other issues. No need to credit me, this is kinda common knowledge if you have any experience with ESP32 chips.

(Also, note that it's common for ground symbols to point down and positive voltages to point up. Your design will still work when you don't, but you'll make the day of any EE who looks at your schematic slightly worse.)

Re: Problems with flashing esp32-s2 on custom-made board

Posted: Thu Jul 04, 2024 11:01 am
by zamonary1
Thank you for advice, it's my first time designing pcb whatsoever and i have hever worked with bare esps, only in form on devboards. After reading the docs i have found a couple of smaller problems with my pcb that i have already resolved. Also i plan on rearranging my schematic sheet later and will take note on common designing rules.