Problems with flashing esp32-s2 on custom-made board

zamonary1
Posts: 4
Joined: Sun Jun 30, 2024 5:26 pm

Problems with flashing esp32-s2 on custom-made board

Postby zamonary1 » Sun Jun 30, 2024 5:42 pm

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 2369 times
board.png
board.png (808.53 KiB) Viewed 2369 times

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Mon Jul 01, 2024 5:22 am

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.

zamonary1
Posts: 4
Joined: Sun Jun 30, 2024 5:26 pm

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

Postby zamonary1 » Mon Jul 01, 2024 4:22 pm

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?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Jul 02, 2024 7:39 am

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.

zamonary1
Posts: 4
Joined: Sun Jun 30, 2024 5:26 pm

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

Postby zamonary1 » Tue Jul 02, 2024 8:54 am

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

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Wed Jul 03, 2024 2:00 am

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.)

zamonary1
Posts: 4
Joined: Sun Jun 30, 2024 5:26 pm

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

Postby zamonary1 » Thu Jul 04, 2024 11:01 am

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.

Who is online

Users browsing this forum: No registered users and 106 guests