Custom PCB + Wroom 32 crashes using Arduino-ESP32 Wifi Library
Posted: Mon Sep 28, 2020 2:37 am
I've built a custom PCB designed to use the ESP32 WROOM. During the assembly and validation of the board I've been using example arduino programs to make sure the esp32 is running correctly.
Currently, I'm having a problem with running wifi examples on my board. When I flash the WiFiScan example, I get the following console output. Sometimes it will reboot and display the same messages a few times before it permanently hangs. Occasionally it will cause a kernel panic and crash my mac.
Here is my schematic. U1 is the ESP32-WROOM, U4 is a CH340C, and IC1 is a HT7833 LDO.
I am able to successfully run basic serial programs such as echoing serial console input, etc...
In searching the web before posting here, it was suggested to measure the logic levels of the bootstrapping pins...
GPIO 0: High
GPIO 2: Low
GPIO 4: High
GPIO 5: High
GPIO 12: Low
GPIO 15: High
At this point I’m really stumped. I would appreciate some help. Thank you.
Currently, I'm having a problem with running wifi examples on my board. When I flash the WiFiScan example, I get the following console output. Sometimes it will reboot and display the same messages a few times before it permanently hangs. Occasionally it will cause a kernel panic and crash my mac.
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10864
load:0x40080400,len:6404
entry 0x400806b8
[W][esp32-hal-psram.c:30] psramInit(): PSRAM init failed!
[D][WiFiGeneric.cpp:332] _eventCallback(): Event: 0 - WIFI_READY
[D][WiFiGeneric.cpp:332] _eventCallback(): Event: 2 - STA_START
I am able to successfully run basic serial programs such as echoing serial console input, etc...
In searching the web before posting here, it was suggested to measure the logic levels of the bootstrapping pins...
GPIO 0: High
GPIO 2: Low
GPIO 4: High
GPIO 5: High
GPIO 12: Low
GPIO 15: High
At this point I’m really stumped. I would appreciate some help. Thank you.