Sporadic boot failure, >400mA draw

Posts: 11
Joined: Fri Nov 27, 2015 11:06 am

Sporadic boot failure, >400mA draw

Postby bienvenu » Wed Dec 23, 2015 2:41 pm

Occasionally (maybe one in 10~20 boots) I see the ESP31 fail to boot and draw a very high amount of current - I've seen between 450mA and 550mA (different for different occurrences).

Repro: power cycle the module and look at the input current.

I guess it's getting stuck in the PA calibration process, or similar. I don't have a spectrum analyser with me here, so I'm not sure what it's outputting.

I don't think I'm doing anything special, and I've seen it over multiple v1.1.0 binaries (it wasn't a single flash loader bit-flip failure).

Code: Select all

 ets Jul  5 2015,rst cause:1, boot mode:(33)

         _stack_sentry: 0x3fffe1d0,      __stack: 0x40000000,
         _bss_start: 0x3fffcd48,         _bss_end: 0x3fffe1d0,
         _data_start: 0x3fffc000,        _data_end: 0x3fffc864
load 0x40040000, len 2912, room 16
tail 0
chksum 0x6e
load 0x3ffd8000, len 1424, room 8
tail 8
chksum 0x1a
load 0x3ffd8590, len 568, room 0
tail 8
chksum 0xf3
csum 0xf3

*    hello espressif ESP32!    *
* pro cpu 2nd boot is running! *

2nd boot version : 1.0
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size : 1MB

jump to run addr @ 0x40000
<hangs here>

Posts: 16
Joined: Thu Dec 10, 2015 6:47 am

Re: Sporadic boot failure, >400mA draw

Postby ESP_Faye » Mon Dec 28, 2015 2:37 am


Please have a try with this new lib.

If your problem is still unsolved, please provide the logs for debugging.

Thanks for your interest in ESP32 !
(34.11 KiB) Downloaded 145 times

Posts: 11
Joined: Fri Nov 27, 2015 11:06 am

Re: Sporadic boot failure, >400mA draw

Postby bienvenu » Tue Dec 29, 2015 2:57 pm

I wasn't able to reproduce this issue today (without your patch), so I can't confirm the fix. Not sure what's changed.

I'll make sure to try the fix out when it crops up again.

Who is online

Users browsing this forum: No registered users and 4 guests