2017-06-18 11:17 AM
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-foundSolved! Go to Solution.
2017-06-18 07:26 PM
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
2017-06-18 11:56 AM
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.
2017-06-18 07:26 PM
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