Hi everybody. Two months ago, I decided to upgrade my "old project": a led matrix. The old version has one big problem: I mounted the 74HC595 shift register. This component haven't a own library to controll text that you want to write. So, I decided to designed new board using MAX7219 and ESP32 to have the possibility to write texts throught wifi connection.
After finished to mount all components, i wasn't able to programming the ESP32 WROOM. I have followed a lot of guide and video tutorial, but every time I haven't been able to program the ESP.
Below, I attach circuit that I designed for my PCB.
are you using a bare WROOM module and making your own carrier board for it, or are you using a dev board? You might want to get a breadboard friendly dev board (eg. wemos d1 or nodemcu) just to simplify this part - you won't need to worry about the boot pins and buttons so you can focus on making your code and other circuitry work first.
why are you connecting pin 32 ("NC" or not connected)? I don't have an x-ray of the board but since they say "NC" I wouldn't connect anything to it.
GPIO2 is supposed to be pulled down for download mode - are you sure that LED isn't interfering?
What exactly do you do to program the board, and what exactly happens? You didn't say whether you're pushing the flash button, but the arduino IDE won't be able to trigger flash mode like it could on a dev board.
is esptool.py able to detect and identify this board?
I use a bare esp32 (esp32 wroom). I didn't design a circuit with nodemcu or similar because I didn't want to create a PCB to much thick.
I connected "NC pin" because in the official schematic of Espressif System connect NC pin to GPIO 23 pin. In case of problems, I'll to cut out it.
When I tried to program the esp32, I pushed the button attached to GPIO2, but nothing happens.
Arduino IDE only shows me this error: "A fatal error occured. Time out waiting for packet content". For program ESP I used various method: USB TTL and Arduino as ISP, but no method worked.
I downloaded two different library from GitHub (.JSON files). I followed istruction for using them on the GitHub website and on YouTube, but every time that I tried program it, Arduino showed me the previous error.
Sorry for my poor English skills and thanks for your time
Ok so , if there is a button attached to IO2 , it should be attached to IO0 instead.
And what is connected to RX and TX ?
You can follow the same instructions as for the ESP32 CAM.
i prefer to prototype with dev boards so it's one less thing I have to worry about while I write code or build the rest of the circuit. Once I know the code works, and my circuit design is good, then I start to design a PCB. I'll shut up about this now, do what works for you.
Since you're just using a 4-wire serial, the programming failure is expected; esptool.py tries to use serial control lines to reset the chip. To program the ESP you need to pull GPIO0 low (either by pushing a button or jumpering it to ground), then reset, then release GPIO0. Pushing the program button after power-up/reset won't switch into boot mode.