cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error: ST-Link, Failed to identify target MCU

atul
Associate II
Posted on July 29, 2011 at 13:10

Hello,

        I am using stm32f103 mcu and st-link debugger but when i connect it and debug m code i get the error as ''Fri Jul 29, 2011 16:10:47: Fatal error: ST-Link, Failed to identify target MCU - Check hardware and interface selected   Session aborted! 

 

'' pls help i have done all the possible checks which i found on this forum. but it is still not working.

#st-link
8 REPLIES 8
rosarium
Associate II
Posted on July 29, 2011 at 13:34

which work bench are you using. IAR?? Select the correct target MCU in project settings.

Also select ST link as the debugger in the debugger tab in the setting.

rosarium
Associate II
Posted on July 29, 2011 at 13:34

which work bench are you using. IAR?? Select the correct target MCU in project settings.

Also select ST link as the debugger in the debugger tab in the setting.

atul
Associate II
Posted on July 29, 2011 at 13:57

Yes i m using IAR and i have tried those things what you have mentioned but still getting this error.

Posted on July 29, 2011 at 14:01

Does SWD mode work?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
rosarium
Associate II
Posted on July 29, 2011 at 14:08

is ST link driver already there in your PC. I mean is ST link working ok for any other projects in your PC??

atul
Associate II
Posted on July 29, 2011 at 14:21

Thanks for the reply.....

but st- link drivers are properly installed on my computer but it doesnt work for anything that means no project.

atul
Associate II
Posted on July 29, 2011 at 14:51

i m not using SWD mode........

Posted on July 29, 2011 at 16:55

i m not using SWD mode........

I didn't ask if you were using it, I was suggesting you see if it works any better. So try it.

Does the ST-LINK utility work?

Is this a standard board, or something custom?

The ST-LINK can have a hard time breaking into a system with certain things happening early in the reset process (it has to run several thousand cycles before it gains control). If it's running your code you could change the BOOTx pin states and have it run the System Loader instead.

The U-Link (Keil) and J-Link are more robust commercial JTAG pods

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..