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

Unable to debug due to "HardFault_Handler" vector catch when using custom hardware to run nrf5-mpu-examples in Segger Embedded Studio

Hello!

I am working with the example mpu interface projects located at the following repo:

github.com/.../nrf5-mpu-examples

After converting the Keil projects to Segger Embedded Studio projects (v2.20 on a Mac), I was able to successfully run them on a nRF51 DK connected to a MPU9255 breakout module.

I then modified the project's board header file (pca10028.h) to match a custom piece of hardware I am working on.

While still working in the SES project, with the modified header and custom hardware I am unable to debug or set breakpoints: I keep getting stuck in the HardFault_Handler of rf51_Vectors.s. Please see the attached screenshot below.

Any pointers on how to rectify this would be greatly appreciated. Thank you very much in advance.

Best regards,

Bo

image description.

Related