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
(EDIT: I noticed I used the nRF51422 as an example, but this should be same for nRF52832.)
1. Not sure how you have setup your board to use the nRF51822qfab, but I would have simply copied the nrf51dk_nrf51422 board directory to nrf51dk_nrf51422qfab directory.
2. Renamed the 3 files in the nrf51dk_nrf51422qfab directory to nrf51dk_nrf51422qfab, something like:
3. Then finally edit the .dts file to use:
I basically did the same thing. The strange thing is that the same binary works on the DK, but throws exceptions on the custom hardware.
Can you try this approach? Also build with --pristine.
I will build with --prestine.
What do you mean by "this approach"?
csteaderman said:I will build with --prestine.
This parameter can be used if you build with "west" in command line, if you are building with SES you can either delete build folder or re-open the project should do the same thing.
csteaderman said:What do you mean by "this approach"?
My 3 step procedure I posted initially.
I’ve cleaned the folder, and also had already done step 3. Still same problem.