Watchdog keeps resetting with timer
Posted: Thu May 28, 2015 2:55 pm
I have this simple piece of code that somehow triggers the watchdog to reset continuously:
The timer shouldn't freeze up the device, so why does the watchdog keep resetting it continuously?
Thanks
Code: Select all
static ETSTimer testTimer1;
void user_init(void)
{
// Configure the UART
uart_init(BIT_RATE_115200, BIT_RATE_115200);
os_timer_disarm(&testTimer1);
os_timer_arm(&testTimer1, 1000, 1);
}
The timer shouldn't freeze up the device, so why does the watchdog keep resetting it continuously?
Thanks