Debug Skill How to add the hardfault handler on nRF SDK Date: February 11, 2019Author: Jimmywong 2 Comments In this blog, I would like to share how to add the hardfault handler on the Nordic NRF5 SDK. You can add the hardfault handler to trigger the problem when it occurs. Because the priority of hardfault is higher than that of softdevice API. Step 1 Add the hardfault files inside the project Step 2 Enable the hardfault in the sdk_config.h Step 3 Compile the debug mode project with additional switch Step 4 Add the example to generate the error 0x80000 is illegal address Step 5 Open the breakpoint windows and enable the hardfault Step 6 When the problem occurs, it stops at the hardfault Share this:TweetLike this:Like Loading... Related
I got ..\..\..\..\..\..\..\..\components\libraries\hardfault\nrf52\handler\hardfault_handler_gcc.c(80): error: #18: expected a “)” when adding hardfault, SDK17.02, How to fix it ? thanks LikeLike Reply
Hi Jimmy, I got this error on SDK 17.02 , ..\..\..\..\..\..\components\libraries\hardfault\nrf52\handler\hardfault_handler_gcc.c(80): error: #18: expected a “)” Any clues ? thanks LikeLike Reply
I got
..\..\..\..\..\..\..\..\components\libraries\hardfault\nrf52\handler\hardfault_handler_gcc.c(80): error: #18: expected a “)”
when adding hardfault,
SDK17.02,
How to fix it ? thanks
LikeLike
Hi Jimmy,
I got this error on SDK 17.02 ,
..\..\..\..\..\..\components\libraries\hardfault\nrf52\handler\hardfault_handler_gcc.c(80): error: #18: expected a “)”
Any clues ? thanks
LikeLike