Skip to main content
sak hos
Associate II
June 18, 2017
Solved

Fatal error: ST-Link, no MCU device found

  • June 18, 2017
  • 1 reply
  • 2907 views
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
    This topic has been closed for replies.
    Best answer by sak hos
    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 

    1 reply

    Tesla DeLorean
    Guru
    June 18, 2017
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    sak hos
    sak hosAuthorBest answer
    Associate II
    June 19, 2017
    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