F103C8T6
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 error message I got:

Once I run it the console message is:
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHzadapter_nsrst_delay: 100srst_only separate srst_nogate srst_open_drain connect_assert_srstsrst_only separate srst_nogate srst_open_drain connect_assert_srstInfo : Unable to match requested speed 1000 kHz, using 950 kHzInfo : Unable to match requested speed 1000 kHz, using 950 kHzInfo : clock speed 950 kHzError: read version failedin procedure 'program' in procedure 'init' called at file ''embedded:startup.tcl'', line 473in procedure 'ocd_bouncer'** OpenOCD init failed **shutdown command invokedAny idea what could cause the problem?
Thanks
#stm32f103c8t6-blink-led