cancel
Showing results for 
Search instead for 
Did you mean: 

BLE server without LSE crystal as clock error. Working on WB55 board but not a custom board

MSong.4
Associate II

I am trying to setup a ble server on a stm32 board that does not have a lse crystal. I have followed the normal steps and the steps that use the hse crystal instead (https://community.st.com/s/article/configuring-stm32wb-for-bluetooth-le-without-an-lse-crystal). I managed to get this setup to work on a WB55RG board but I am unable to get it to work on the custom board. The generated code gets to initializing the time server inside the generated HW_TS_Init function in the hy_timeserver.c file but it then errors saying “No source available for "<signal handler called>() at 0xfffffff9�?�?.

0693W00000Y7sQSQAZ.png 

The error occurs in this part of the function.

/**

* Initialize the timer server

*/

for(loop = 0; loop < CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER; loop++)

{

aTimerContext[loop].TimerIDStatus = TimerID_Free;

}

0693W00000Y7sQIQAZ.pngIf I stop pause it before the loop I can step through the loop and make it a few lines down before the error happens.

When paused I am unable to step any further into the code because the debugger comes up with the error saying cannot find bonus of current function.

0693W00000Y7sPZQAZ.png 

I am not sure how to go about debugging this because I am not fully sure what is really causing the error and googling is not helping much.

Any ideas as what I should be looking for or potential fixes would be greatly accepted.

1 ACCEPTED SOLUTION

Accepted Solutions
MSong.4
Associate II

Thank you for the response, the fix was to uncomment the line #define USER_VECT_TAB_ADDRESS in the system_stm32wbxx.c file.

View solution in original post

2 REPLIES 2
Remy ISSALYS
ST Employee

Hello,

Can you share your configuration for SystemClock_Config and HAL_RTC_MspInit function?

Best Regards

MSong.4
Associate II

Thank you for the response, the fix was to uncomment the line #define USER_VECT_TAB_ADDRESS in the system_stm32wbxx.c file.