ESP32 Custom Board Questions

Leemme
Posts: 2
Joined: Fri Jan 06, 2023 9:12 pm

ESP32 Custom Board Questions

Postby Leemme » Fri Jan 06, 2023 9:19 pm

I'm trying to build a custom microcontroller board based on the ESP32 chip (just the chip, not the WROOM module).

I've got to the point where all the power works and the USB to serial gets recognized. I'm now trying to flash the ESP, but the chip itself doesn't respond (the IDE - PlatformIO extension tries to connect to it, but it just fails).

The connections on the PCB look fine, and the LEDs for the serial communication also blink when trying to flash it. I've already found and fixed two really stupid mistakes (VDD3p3_CPU not connected to VCC and VBUS to Vs which is connected to the USB), but it's still not working.

Do i need to upload or setup some sort of bootloader on the external flash, or is something wrong with my schematic ?

If anybody could take a look at it, it would be greatly appreciated.
Screenshot 2023-01-06 154613.jpg
Screenshot 2023-01-06 154613.jpg (152.12 KiB) Viewed 1084 times
Screenshot 2023-01-06 154634.jpg
Screenshot 2023-01-06 154634.jpg (112.2 KiB) Viewed 1084 times
Screenshot 2023-01-06 184714.jpg
Screenshot 2023-01-06 184714.jpg (40.32 KiB) Viewed 1084 times
Last edited by Leemme on Sat Jan 07, 2023 11:09 am, edited 1 time in total.

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

Re: ESP32 Custom Board Questions

Postby ESP_Sprite » Sat Jan 07, 2023 6:21 am

I'm missing loads of decoupling capacitors and I also am not seeing a power-on-reset RC network on your EN line. Also, what generates your Vcc?

Also, to answer your question: the ESP32 bootloader is in ROM; even with an empty or corrupted flash you should still be able to upload a new program.

Leemme
Posts: 2
Joined: Fri Jan 06, 2023 9:12 pm

Re: ESP32 Custom Board Questions

Postby Leemme » Sat Jan 07, 2023 11:07 am

ESP_Sprite wrote: I'm missing loads of decoupling capacitors and I also am not seeing a power-on-reset RC network on your EN line. Also, what generates your Vcc?

Also, to answer your question: the ESP32 bootloader is in ROM; even with an empty or corrupted flash you should still be able to upload a new program.
Ok I added some decoupling caps to the power inputs. I get the power from a normal LDO 3.6V (LP2985AIM5-3.6/NOPB). I also added a delay on the en signal. I don't really know if thats what you meant by "power-on-reset RC network" but this could be the problem as CHIP_PU without this will never be high.

And even if I would have a factory new ESP Chip,I wouldn't have to upload anything on the chip or the flash memory ? Just plug it in and flash some code?

Thanks for the help so far, really appreciated.

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

Re: ESP32 Custom Board Questions

Postby ESP_Sprite » Sun Jan 08, 2023 2:59 am

Leemme wrote:
Sat Jan 07, 2023 11:07 am
And even if I would have a factory new ESP Chip,I wouldn't have to upload anything on the chip or the flash memory ? Just plug it in and flash some code?
That is correct.

Who is online

Users browsing this forum: No registered users and 87 guests