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

MPU9255 + nrf52 (PCA10040)

Hello,

I am currently using SEGGER studio with SDK11 and the MPU9255 repository from github.com/.../nrf5-mpu-examples . I followed the installation instructions in the repository. Then I installed Segger Studio and used the tutorial to develop in older SDKs in -> devzone.nordicsemi.com/.../

I have managed to compile the program with no errors or warnings, however I see no device when scanning for BLE and I see no output in Tera Terminal. I used the Segger debugger and the PC register seems to be having problems. The debugger will not move any further after a specific point and the Target Output says "Stopped by a vector catch".

foto.jpg

Any suggestions on what I can do to fix this issue?

Parents
  • Hi Joakim,

    I changed the settings to your suggestion and there has been an improvement. Now the program compiles to the point where a print statement in the main function gets triggered.

    However,in the disasembly window the app error handler is outputted 4 times for the following functions:

    ble_advertising_start(), mpu_setup() and uart_config()

    However, when I try to look at the call stack for the app_error_handler I cannot see the errors even though I toggled a breakpoint in error_info_t error_info in void app_error_handler in the app_error.c file. I tried to follow the debugging video by Nordic in Youtube but I do net get an error output in the call stack.

Reply
  • Hi Joakim,

    I changed the settings to your suggestion and there has been an improvement. Now the program compiles to the point where a print statement in the main function gets triggered.

    However,in the disasembly window the app error handler is outputted 4 times for the following functions:

    ble_advertising_start(), mpu_setup() and uart_config()

    However, when I try to look at the call stack for the app_error_handler I cannot see the errors even though I toggled a breakpoint in error_info_t error_info in void app_error_handler in the app_error.c file. I tried to follow the debugging video by Nordic in Youtube but I do net get an error output in the call stack.

Children
No Data
Related