ESP32 WROOM 32E module programs okay but doesn't run
Posted: Fri Jul 07, 2023 1:09 am
I've created a custom PCB with a ESP32-WROOM-32E-N16 module. I can program the module using the ESP-PROG adapter, but the program either doesn't run or crashes after a short while Its a simple hello world in a loop program written using Arduino. I'm using the same settings (default) except flash size that I used for the official dev kit. Occasionally I have seen the hello world output when I power cycle the board. It seems to help if I lower the baud rate. I don't always see the log messages.
I've gone through several troubleshooting steps:
https://docs.espressif.com/projects/esp ... oting.html
I am at the point of checking the capacitance. But I already have 20uF of ceramic caps right beside the power pin and the power supply traces are actually a solid plane. It feels like brownout but see EN pin notes below.
I also read about the flash mode. I flashed the program in QIO mode. Does this particular module need to run from flash in a different mode?
Strapping pins are as follows:
GPIO0: external pullup and 1uF to ground (programs fine with ESP-PROG)
GPIO2: unconnected
GPIO12: unconnected
GPIO15: unconnected
GPIO5: external pullup (maybe a problem but not likely)
GPIO4: connected to something but shouldn't matter
EN: Floating when ESP-PROG not connected (PROBLEM). BUT ESP-PROG appears to pull it high when not bootloading so I'm not sure why I can't get the program to run with it connected. I'm using it for the serial monitor.
I've gone through several troubleshooting steps:
https://docs.espressif.com/projects/esp ... oting.html
I am at the point of checking the capacitance. But I already have 20uF of ceramic caps right beside the power pin and the power supply traces are actually a solid plane. It feels like brownout but see EN pin notes below.
I also read about the flash mode. I flashed the program in QIO mode. Does this particular module need to run from flash in a different mode?
Strapping pins are as follows:
GPIO0: external pullup and 1uF to ground (programs fine with ESP-PROG)
GPIO2: unconnected
GPIO12: unconnected
GPIO15: unconnected
GPIO5: external pullup (maybe a problem but not likely)
GPIO4: connected to something but shouldn't matter
EN: Floating when ESP-PROG not connected (PROBLEM). BUT ESP-PROG appears to pull it high when not bootloading so I'm not sure why I can't get the program to run with it connected. I'm using it for the serial monitor.