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

MPSL Timer 0 Hard Fault

I have developed an application for the nRF52-DK (nRf52832AA) and am now in the process of porting the application to my custom hardware. My custom hardware utilizes the nRF52832AB part, so I have updated the configuration and memory sizes accordingly. The resized application runs properly on the DK. When I run the exact same binary on my custom board, I get a hard fault exception in the MPSL_IRQ_TIMER0_Handler(). Since the code works perfectly on the DK, I cannot imagine what I need to change to get past this error. If I do not configure and use Bluetooth, my application appears to run.

nRF Connect SDK 1.5.1

Segger emStudio 5.34a

Parents
  • No suggestions?

    I have determined a way to generate the same MPSL Timer 0 Fault using an out-of-the-box Nrf52DK board and an example project. I loaded the peripheral_hids_mouse (although I believe any BT example project will do) and selected the nRF52DK board (as shown below). I run it in the debugger. It compiles, loads, and stops at the first line of main(). I select Run, wait 5 seconds or so, pause execution, then Continue and it immediately crashes in the same place as my code, except that mine hits the fault without having to pause and continue. Since this area of the program is in an obfuscated library, I cannot debug to determine what is failing. Please reproduce this condition and let me know what is causing the fault (I assume that you have access to the source code for the SoftDevice and can debug what's going on). If you are unable, I am going to need at least some parts of the SoftDevice source code so that I can debug and figure out what is going on.

Reply Children
No Data
Related