Hello!
I would like to figure out, what caused the last reset on my DM368 Device: Power-On, Software-Reset or Watchdog.
When I look into the PLL1->RSTYPE Register, I always read 0x4, meaning MAX_RESET.
After debugging around a little bit, I found the function "POR_RESET()" in UBL that writes to some undocumented WDT registers: 0x01C21C08 & 0x01C21C0c and then does a "while(1);". So apparently the UBL re-resets the device by some strange method and after that RSTYPE always is MAX_RESET.
Is there any reason for doing that? Is it some workaround for problems with specific hardware (e.g. the EVM board) so it can be removed safely on other hardware?
Apart from writing to the WDT registers, the function also calls "VPSS_SYNC_RESET()". Is it important to do this?
Regards,
Andreas.