cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-STM32WB15 HardFault Error with BLE custom Template.

ET_FR
Associate

Hi,

I have a problem when I try to develop a program with STM32IDE for my NUCLEO STM32WB15. I want to use the BLE with a custom template but unfortunately, after launching the program I get a HardFault Error (I guess from the RTC).

According to my research, there are a lot of bugs in STM32IDE for this kind of development.

Can you help me?

Here my version:

STM32IDE -> 1.10.1

My config :0693W00000QKx5sQAD.png 

0693W00000QKx5iQAD.png0693W00000QKx6CQAT.png0693W00000QKx6RQAT.png0693W00000QKx6lQAD.png0693W00000QKx7AQAT.png0693W00000QKx6vQAD.png0693W00000QKx7PQAT.png0693W00000QKx7ZQAT.png0693W00000QKx7tQAD.png 

1 REPLY 1
Remy ISSALYS
ST Employee

Hello,

In order to use BLE Custom template for WB15, you have to tune some parameters to fit with the RAM size for the GATT database. So, you have to change the following parameters:

  • CFG_BLE_ATT_VALUE_ARRAY_SIZE = 1290
  • CFG_BLE_NUM_GATT_ATTRIBUTES = 30
  • CFG_BLE_NUM_GATT_SERVICES = 4

Best Regards