Loading...
 
Skip to main content

System Workbench for STM32


Error Debugging

Hi,
I'm in the same case since I encounter debug problems when trying to make blink an LED of a board that include a STM32F103C8T6.

I set up the hardware firmware (GPIOs) with the program STM32CubeMx, and wrote two lines code to make the led blink:

HAL_GPIO_TogglePin(LD2_GPIO_Port,LD2_Pin);
HAL_Delay(1000);

Simple.

Then I build the project which was ok

But when I tried to debug here is the same error message as you got :

https://community.st.com/servlet/JiveServlet/downloadImage/2-151700-16292/pastedImage_1.png