2025-06-20 3:01 AM
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 :\
It gets somewhat of a HardFault after turning on BLE WAPN.
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
Solved! Go to Solution.
2025-06-20 5:54 AM
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
2025-06-20 3:29 AM
> 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 ...
2025-06-20 4:15 AM
Thanks for the answer.
Do you know where i can see the SCB Registers in the IDE?
2025-06-20 5:54 AM
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
2025-06-20 6:45 AM
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 :)