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

Failsafe handle for unused program areas

Hello,

I would like to implement the following failsafe for unused program areas for nrf52.

1. Filled the unused program areas with undefined Instruction.

2. The UsageFault interrupt will be triggered if the PC points to an address in an unused area.

3. In the UsageFault interrupt route, implement the failsafe process such as soft reset.

I am using nrf52 with SoftDevice enabled and boot loader for dual bank DFU.

Is there any example / information to show how to do it?

Thank you.

Parents Reply Children
No Data
Related