Nordic DevZone
Nordic Q&A
Guides
Blog
Online Power Profiler
DevAcademy
Search
Support
+
User
Site
Search
User
Home
>
Nordic Q&A
State
Verified Answer
View Voters
Login to vote on this thread
+15
Login to vote on this thread
Replies
5 replies
Subscribers
73 subscribers
Views
41003 views
Users
0 members are here
hang
app_error_handler
restart
freeze
debug
crash
reset
app_error
Attachments (
0
)
Nordic Case Info
Case ID: 110728
Options
Share
More
This post is older than 2 years and might not be relevant anymore
More Info:
Consider searching for newer posts
My device is freezing and restarting
Anders Strand
over 9 years ago
My device is either freezing or restarting, and i do not know why.
Top Replies
Anders Strand
over 9 years ago
+28
verified
Why? In the SDK examples, we check return codes with the macro APP_ERROR_CHECK. This function calls the function app_error_handler in app_error.c. Here we find this code: #ifndef DEBUG NVIC_SystemReset…
tyler
over 8 years ago
in reply to
Anders Strand
+2
Where do you need to define DEBUG? I tried putting it in my main.c and I don't think it worked.
Related