Skip to main content
omerbashir1
Visitor II
February 5, 2013
Question

st-link error

  • February 5, 2013
  • 4 replies
  • 1204 views
Posted on February 05, 2013 at 06:41

I am using stm32-f407 discovery board with IAR. It was working quite fine but when i tried to interface a 16 x 2 lcd and downloaded the code, it gave the following error .

 Fatal error: ST-Link, No MCU device found   Session aborted!

 

Now it is giving same error on every code

I am new to microcontrollers and dont know much about it. if anyone has a solution please share.

Thanx
    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    February 5, 2013
    Posted on February 05, 2013 at 21:02

    This is a repetitive topic.

    If there is an issue with your code load preventing JTAG/SWD connectivity then restart the board with BOOT0 held high.

    If it's a physical issue with pins, or putting the wrong voltages on them, you'll have to work that out.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    eeyjws
    Associate II
    March 26, 2015
    Posted on March 26, 2015 at 03:35

    Thanks Clive.

    Your method is working.

    sheeshassan0
    Visitor II
    October 17, 2015
    Posted on October 17, 2015 at 16:00

    Hi! I am having the same problem with my STM32F407 Discovery board. I tried to apply the suggested solution but no progress. May be I didn't fully understand what you are trying to say. 

    A little elaboration will be appreciated..

    Thanks in advance

    here is a screenshot.0690X00000605GYQAY.png

    Tesla DeLorean
    Guru
    October 17, 2015
    Posted on October 17, 2015 at 17:17

    May be you can say what you actually did so I can determine if you did what I suggested or something else? A screen shot of the error really doesn't tell me much.

    The suggestion on the Discovery board would be to jumper BOOT with VDD to force the chip to run the System Loader, instead of broken User Code when reset. You need to reset or power-cycle.

    There are also usually configuration options to permit ''Connect Under Reset'' and to make sure SWD mode is used, not JTAG mode.

    Would also suggest you download the ST-LINK Utilities, check if the firmware needs updating, and if you can connect/erase the part from there.

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