2023-01-10 07:47 AM
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�?�?.
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;
}
If 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.
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.
Solved! Go to Solution.
2023-01-20 12:54 AM
Thank you for the response, the fix was to uncomment the line #define USER_VECT_TAB_ADDRESS in the system_stm32wbxx.c file.
2023-01-19 09:11 AM
Hello,
Can you share your configuration for SystemClock_Config and HAL_RTC_MspInit function?
Best Regards
2023-01-20 12:54 AM
Thank you for the response, the fix was to uncomment the line #define USER_VECT_TAB_ADDRESS in the system_stm32wbxx.c file.