cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error: ST-Link, no MCU device found

sak hos
Associate III
Posted on June 18, 2017 at 20:17

Hello,

i'm using stm32f103c8t6 and IAR as IDE and recently I was no longer able to to load the code using IAR, as error message i had 'Fatal error: ST-Link, no MCU device found '.

and when i use STM32 ST-LINK Utility i can acces to the MCU and i can erase the flash (in order to connect the the stm32 to the ST-LINK Utility i have to press the reset button then press connect button of the ST-LINK Utility then release the reset button of the MCU )

can anybody help fix that please

and thank you

#fatal-error:-st-link #no-mcu-device-found
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on June 19, 2017 at 02:26

Hive Clive One

thanks for the answer , i'm using cube_MX and during the configuration i forgot to activate the sys->Debug

now i can download the code 

View solution in original post

2 REPLIES 2
Posted on June 18, 2017 at 20:56

Review what you are doing in your code that might be breaking the debug interface. ie the GPIO pins used for the JTAG/SWD, putting the device into a low power or sleep mode.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on June 19, 2017 at 02:26

Hive Clive One

thanks for the answer , i'm using cube_MX and during the configuration i forgot to activate the sys->Debug

now i can download the code