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
  • Our Fujitsu module has chip Rev.3. To give you more information I notice the following strange behavior : when I use nRFGo studio to flash the S130 stack on the module, the programming step fails more time before go right. When it works, the region 0 shows "unknown" and not S130. I'm flshing the S130 HEX file under : NordicSemiconductor\nRF_SoftDevice_S130\1.0.0\hex Is it possible that this HEX file has some information about 32 KB of RAM instead 16 KB of RAM we are using ?

Reply
  • Our Fujitsu module has chip Rev.3. To give you more information I notice the following strange behavior : when I use nRFGo studio to flash the S130 stack on the module, the programming step fails more time before go right. When it works, the region 0 shows "unknown" and not S130. I'm flshing the S130 HEX file under : NordicSemiconductor\nRF_SoftDevice_S130\1.0.0\hex Is it possible that this HEX file has some information about 32 KB of RAM instead 16 KB of RAM we are using ?

Children
No Data
Related