esp32 keeps rebooting, with custom pcb

anfractuosity
Posts: 4
Joined: Sat Jun 13, 2020 6:57 pm

esp32 keeps rebooting, with custom pcb

Postby anfractuosity » Thu Aug 27, 2020 1:07 pm

Just wondering if anyone can spot any hardware issues with the attached schematic?

When doing - picocom /dev/ttyUSB0 -b115200
I notice the esp32 keeps rebooting unfortunately.

I was able to flash the 'getting started' example, which appeared to flash fine, but unfortunately I can't seem
to get it to run:

Code: Select all

rst:0x10 (RTCWDT_RTC_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:1
load:0x3fff0030,len:4
load:0x0034ffff,len:455360511
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_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:1
load:0x3fff0030,len:4
load:0x0034ffff,len:455360511
ets Jun  8 2016 00:22:57
Attachments
sensei.png
sensei.png (411.39 KiB) Viewed 2942 times

markxr
Posts: 15
Joined: Sun Aug 16, 2020 7:32 pm

Re: esp32 keeps rebooting, with custom pcb

Postby markxr » Thu Aug 27, 2020 6:15 pm

Insufficient info, I'm afraid.

The obvious stuff:

* Check the 3.3v power is in spec and stays that way
* Check all clocks running (scope?) - the fact that you were able to flash and receive (some) boot messages suggests the oscillators are at least running initially
* Can you start it up in firmware boot mode, and read the firmware image back, to check it's ok? I use the esptool.py read_flash command for this
* Does the same firmware image work on a normal esp32 dev board?

anfractuosity
Posts: 4
Joined: Sat Jun 13, 2020 6:57 pm

Re: esp32 keeps rebooting, with custom pcb

Postby anfractuosity » Thu Aug 27, 2020 7:12 pm

Thanks for the tips!

It looks like with esptool I can both write and read to/from the flash ok, from what I understand.

I've also tried other firmware such as that of micropython and nodemcu, with the same rebooting loop.

I also tried turning off the hardware brownout detection in the firmware.

I'll see if I can look at the power and clocks.

Who is online

Users browsing this forum: No registered users and 98 guests