Skip to main content
sak hos
Associate II
Jun 18, 2017 6:17 PM UTC
Solved

Fatal error: ST-Link, no MCU device found

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.
    sak hos
    sak hosBest answer
    Associate II
    Jun 19, 2017 2:26 AM UTC
    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 

    2 replies

    Tesla DeLorean
    Guru
    Jun 18, 2017 6:56 PM UTC
    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
    Jun 19, 2017 2:26 AM UTC
    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