cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to turn on BLE WAPN on extended-full stack

Exeu
Associate III

Hey there,

i have a custom board designed which is broadcasting stuff over BLE.

So far i am using the full_stack_fw which works quite well.

In order to turn on extended advertising i wanted to switch over to the full_extended_stack (needed for extended advertisement).

So i flashed the chip with the extended firmware.

After that i created a brand new project in CubeIDE and configured all the things.

Now i try to flash the application but it wont boot up :\

Exeu_0-1750413452410.png

It gets somewhat of a HardFault after turning on BLE WAPN.

Exeu_1-1750413528054.png

If i disable BLE again, it works.. So i am able to toggle an LED for example. No problem. This only occours as soon as BLE is activated.

Do you know what this is about?

Attached the IOC file aswell

 

1 ACCEPTED SOLUTION

Accepted Solutions
FilipKremen
ST Employee

Hello,

in order to run the extended binaries, the linker script file needs to be modified according to this guide.

STM32WB Bluetooth® LE – wireless stack information - stm32mcu (1.3.1.2)

Please let me know if you're able to run the project after the modification.

 

Best regards,

Filip Kremen

View solution in original post

4 REPLIES 4
Ozone
Principal

> It gets somewhat of a HardFault after turning on BLE WAPN.

That is the point to start from.
Read and "decode" the SCB registers that show you the reason for the hardfault.
I suspect a stack overflow. The processor stack of course, not the BLE protocol stack


PS: avoid profanities when naming your projects ...

Exeu
Associate III

Thanks for the answer.

Do you know where i can see the SCB Registers in the IDE?

FilipKremen
ST Employee

Hello,

in order to run the extended binaries, the linker script file needs to be modified according to this guide.

STM32WB Bluetooth® LE – wireless stack information - stm32mcu (1.3.1.2)

Please let me know if you're able to run the project after the modification.

 

Best regards,

Filip Kremen

you are my hero! Thank you so much man!

It seems to work now. 

I was close to give up.. But now i can continue :)