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

S130 crashes on Fujitsu module with 16 KB of RAM

Hi all,

I'm working with the Nordic nRF51422 DK that has the nRF51422 chip with 32 KB of RAM. My application works great on it using the SoftDevice S130 as BLE stack.

Our final product is based on Fujitsu MBH7BLZ07 who has nRF51822 with 16 KB of RAM. I know that S130 uses 10 KB of RAM but my application fits in 6 KM of RAM.

We are facing with random crashes (Hard fault handler is called) on the Fujitsu module while application works fine on Nordic DK. To reduce our application load at minimum we commented all functions and leave only BLE related functions so that the main is the following :

ble_stack_init(); scheduler_init();

// Enter main loop ... ... ...

We saw that the application crashes in the Hard fault handler when it calls sd_ble_enable function inside ble_stack_init.

Any idea about the problem ?

Thanks, Paolo

s130 programming error.jpg

image description

Parents
  • your attached screen shot gave me some useful information. I can now see where inside the softdevice the fault is generated. Can you comment out sd_ble_enable and confirm me that hardfault is still triggered (it should, if the data in the screenshot has to make sense)

    If the hardfault is still triggered after you comment out sd_ble_enable, then it seems that there is some hardware issue i need to investigate.

Reply
  • your attached screen shot gave me some useful information. I can now see where inside the softdevice the fault is generated. Can you comment out sd_ble_enable and confirm me that hardfault is still triggered (it should, if the data in the screenshot has to make sense)

    If the hardfault is still triggered after you comment out sd_ble_enable, then it seems that there is some hardware issue i need to investigate.

Children
No Data
Related