Hi, is there any way to disable debug on nrf52 DK board. I want it to not stop after breakpoint condition and just restart after system error.
Hi, is there any way to disable debug on nrf52 DK board. I want it to not stop after breakpoint condition and just restart after system error.
Hi,
Is this either during debugging or has the DEBUG flag been set as part of the preprocessor settings? The default behavior of the error handler is to reset the MCU if the DEBUG flag is not set. However if the DEBUG flag has been set, then the application will enter an infinite loop and print out the error info such as error code, line number and file name.
regards
Jared
Where I can check if the flag is set or not? And do I need to change anything In Debug section in project options?
Where I can check if the flag is set or not? And do I need to change anything In Debug section in project options?
What IDE are you using? Segger Embedded Studio?
Yes and I can see in app_error_weak that this setting is not grayed out like others
Can you check if:
1. The project is built in debug mode:
2. Or if DEBUG is included in the preprocessor settings:
Note that you have to set the configuration in the upper left box to common, not debug or release in the project options. See the red area I marked.
regards
Jared