Bootloader freeze after repeated resets

bkgoodman
Posts: 45
Joined: Fri Feb 17, 2017 12:41 pm

Bootloader freeze after repeated resets

Postby bkgoodman » Fri Feb 17, 2017 4:57 pm

I have a timer based "watchdog" which does a system reset when it fires by just doing a simple:

Code: Select all

REG(RTC_CNTL_OPTIONS0_REG) = RTC_CNTL_SW_SYS_RST; // SYSTEM RESET
...which resets the system. This works fine - for a few times, but eventually freezes somewhere between the bootloads and running the setup() code:

Code: Select all

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0008,len:8
load:0x3fff0010,len:1760
load:0x40078000,len:6668
load:0x40080000,len:252
entry 0x40080034
The very first thing my code does in setup is:

Code: Select all

  Serial.begin(115200);
  Serial.printf("Hello, World!\n\n\n");
...which is obviously not seen here - nor does anything else happen.

Like I said - it resets just fine the first few times, but then stops here.

Any idea why??

Who is online

Users browsing this forum: No registered users and 122 guests