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

Problem switching from S210 to S310 (HardFault_Handler)

Hello all,

I have an ANT project which is running fine using S210 SoftDevice (SDK v8.1.0).

Now, I am trying to extend this project for BLE operation, by switching the SoftDevice to S310 (SDK v9.0.0).

I have made only the following changes to my project:

  • Changed the programmed SoftDevice (obviously!).

  • Added in a call to ant_stack_static_config(), following calls to sd_softdevice_enable/sd_nvic_SetPriority/sd_nvic_EnableIRQ() as before.

  • Changed the linker control file as follows: .intvec start 0xd000 -> 0x1d000 ROM start 0xd000 -> 0x1d000

Everything else is unchanged. But I keep hitting the HardFault_Handler() now.

Anyone have any ideas what the problem might be?

Regards, Richard.

Related