[M251] Using LDROM to Log System Events

Post Reply
chhsieh3
Posts: 309
Joined: 13 Mar 2020, 09:08

29 Aug 2023, 13:49

  • Application: This example code uses M251 LDROM to log system events.
  • BSP Version: M251_M252_M254_M256_M258_Series_BSP_CMSIS_V3.02.004
  • Hardware: NuMaker-M258KG V1.1
This example code uses M251 LDROM to log system events including count of power-on, power-down, hard fault and watchdog timer (WDT) reset. Program execution addresses of hard fault and WDT reset are also recorded.

Users could dump these event logs to check if there is any unexpected behavior of their application. Also, logging execution address of hard fault and WDT reset occurred may help to find root cause of exceptions.This example code does not require additional external hardware modules.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 2302425725
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 140 guests