ESP32 - Disable Wifi and BLE causes infinite reboot

Posted on
  • Looks like if I disable BLE and disable Wifi, the ESP32 goes into an infinite reboot loop.

    >ESP32.enableBLE(0)
    ...
    // normal reboot
    ...
    
    >ESP32.enableWifi(0)
    Erasing saved code.
    Done!
    ets Jun  8 2016 00:22:57
    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_d­rv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:2
    load:0x3fff0018,len:4
    load:0x3fff001c,len:2668
    load:0x40078000,len:7304
    load:0x40080000,len:5312
    entry 0x40080274
    E (545) spiram: SPI RAM enabled but initialization failed. Bailing out.
    WARNING: Bluetooth is disabled per ESP32.enableBLE(false)
    Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.
    Core 0 register dump:
    PC      : 0x400d8b18  PS      : 0x00060b30  A0      : 0x800d915b  A1      : 0x3ffde6c0
    A2      : 0x00000001  A3      : 0x00001e78  A4      : 0x00001000  A5      : 0x00000000
    A6      : 0x3ffc40cc  A7      : 0x3ffd6934  A8      : 0x00000000  A9      : 0x00000001
    A10     : 0x00000000  A11     : 0x0001e780  A12     : 0x00000005  A13     : 0x00000000
    A14     : 0x00000000  A15     : 0x0003ffff  SAR     : 0x00000019  EXCCAUSE: 0x0000001d
    EXCVADDR: 0x0000000e  LBEG    : 0x4009b418  LEND    : 0x4009b423  LCOUNT  : 0xffffffff
    Backtrace: 0x400d8b18:0x3ffde6c0 0x400d9158:0x3ffde6e0 0x400f85e5:0x3ffde700
    Rebooting...
    
    // and this goes on...
    

    Only way to recover is to erase + reflash the ESP32.

    Tested with 2v01 and 2v04 with two boards:

    Ran into this earlier, just ignored... The Chip running hot on blink sketch thread was the final push to re-test this again.
    Can someone else confirm this? Any idea how to fix?

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

ESP32 - Disable Wifi and BLE causes infinite reboot

Posted by Avatar for AkosLukacs @AkosLukacs

Actions