STM32F103CBU6 HAL_Init Hangsup or STM32CubeIDE?
- October 27, 2023
- 2 replies
- 4317 views
Hello,
I am not really new, but i have a courious problem.
I have a STM32F103CBU6 device (new), and started a new C++ Project with STM32CubeIDE 1.13.2 and the STM32Cube FW_F1 V1.8.5 firmware package.
I have a external crystal for both (HSE + LSE) and is configured in RCC.
So, if i configure under "SYS" the "Debug: Serial Wire" and Timebase Source: "TIM2" or so, then after compile, and uploading the code and starting with debugger, begins the problem.
Code runs with first Breakpoint: HAL_Init();
When i try to resume the code, makes my STM32CubeIDE very strange things, my window changes out of the main.c code to "Break at address "0x1ffff766" with no debug information available, or outside of program code.":

Question 1: so, why my debugger jumps out of the code to a source that not available ?
Is there a Problem since the firmware? or a problem with the STM32CubeIDE?
Question 2: Why my code stops at the HAL_Init ?
When i try to resume the code after "Break at address "0x1ffff766" with no debug information available, or outside of program code."
My Debugging ends, and the
SystemClock_Config();not reached.
Update:
So, okay, when i configure "SYS" to "Timebase Source: SysTick" and try again, the Code runs to the default while...
But i need the FreeRTOS and must change the Timebase Source to a TIM..
Has any one idea, what goes bad?
thank you
