2020-02-17 11:00 PM
STM32L433xx
STM32CubeIDE 1.2.1
ST-LINK/V2-1 V2J35M26
STM32Cube_FW_L4_V1.15.0
FreeRTOS 10.2.1
Download, halt at main, single step all work ok....but breakpoints are not hit after the run button is pressed. While the target is running, I get the repeating message "Target is not responding, retrying... ". However, I can halt and the debugger shows the current execution point and call stack, and I can resume from there. Just no breakpoints while running.
2020-02-20 11:08 PM
I created a new project using the wizard, starting with just USART2 (serial debug output) and Serial Wire debug, then adding back features from the original design. Breakpoints worked up until I enabled the LCD. This seems like it could be a bug in the generated clock tree config, related to RCC_OSCILLATORTYPE_LSI which shows up in the generated RCC config when LCD is enabled, but not when it isn't. I don't have time to investigate further, so I created a branch without the LCD and #ifdef'd out the HAL_LCD calls .
Hope this helps others who encounter the same problem.