This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Serial bootloader watchdog and RTT print issue

Hello,

i am currently developing on nRF52840 using SDK 15.2.0. I have an application and a bootloader. I use the GPREGRET register to boot to bootloader.

I have an issue where the WDT does not get reloaded if i do not have a debug printout in the WDT reload request located in nrf_bootloader_wdt.c:

static void wdt_feed(void)
{
if (nrf_wdt_started())
{
for (nrf_wdt_rr_register_t i = NRF_WDT_RR0; i < NRF_WDT_RR7; i++)
{
if (nrf_wdt_reload_request_is_enabled(i))
{
nrf_wdt_reload_request_set(i);
NRF_LOG_INFO("Feed RR %d wdt", i);
}
}
}
}

Without the NRF_LOG_INFO printout, the wdt reset is performed after the reload period set in the application has expired. With the print, the reload seems to work and the WDT reset is not performed.

I tried using a delay instead of the printout but that did not help.

Is there some known issue that could be causing this?

BR,

tommi

Parents Reply Children
No Data
Related