cancel
Showing results for 
Search instead for 
Did you mean: 

stm32l-discovery St-Link work as SWIM

admiralu82
Associate II
Posted on January 22, 2013 at 05:33

St-Ling Upgrade show me that my firmvare is ''V2.J0.S3 SWIM Debugger'' but i have SWD+JTAG Debugger. So St-link Utility does not established connection with my board. What can i do?

#st-link-connection-error
9 REPLIES 9
frankmeyer9
Associate II
Posted on January 22, 2013 at 09:33

Not sure what you talking about.

The ST-Link adapter, sold separately by ST, is actually a SWD/JTAG + SWIM adapter.

The SWIM interface is for STM7/STM8 controllers.

The integrated ST-Link, which comes with discovery boards, is SWD only. It should not support SWIM. Could you possibly have ''updated'' it to a wrong firmware ?

Have you checked the ST webpage for updates for both the ST-Link Utility and ST-Link firmware ?

admiralu82
Associate II
Posted on January 22, 2013 at 14:32

http://yadi.sk/d/iwrSKwtf229fa - st-link-utility

http://yadi.sk/d/OfqyzOAv229la - st-link-upgrade

On the St-Link-utility when i press ''Connect'' button i see ''STLink USB communication error''

But when i remove STM32L-Discovery board from USB i see  No STLink detected.

So i think than board is a live

I have all updated from official site www.st.com - not working.

I try to use differen version of ''STLinkUSBDriver.dll'' from other IDE by KEIL and ARM

frankmeyer9
Associate II
Posted on January 22, 2013 at 15:10

http://yadi.sk/d/iwrSKwtf229fa - st-link-utility

 

http://yadi.sk/d/OfqyzOAv229la - st-link-upgrade

 

I don't know that sites, and how old this 'updates' are.

What about this instead:

http://www.st.com/internet/evalboard/product/251168.jsp

Current version is 2.16.4.

On the St-Link-utility when i press ''Connect'' button i see ''STLink USB communication error''

 

But when i remove STM32L-Discovery board from USB i see  No STLink detected.

 

So i think than board is a live

 

I don't think so.

If it says ''STLink USB communication error'', it can't even communicate correctly with the ST-Link part. It may be alive, but there is something wrong.

Have you consulted the Windoze HardwareManager ?

I try to use differen version of ''STLinkUSBDriver.dll'' from other IDE by KEIL and ARM

 

There is also a Windows USB driver, by the way.

Do you have another discovery board, or can you check you board on another PC ?

admiralu82
Associate II
Posted on January 23, 2013 at 04:28

This is README -

ST-LinkUpgrade.exe v2.2:

 - On ST-Link/V2, upgrade firmware to V2J16S4:

But when i try to update i see  Upgrade the firmvare to: V2.J0.S4 SWIM Debugger

frankmeyer9
Associate II
Posted on January 23, 2013 at 08:53

Did you try this with the latest ''ST-Link Utility'' software ?

I have exercised this here with a F0 discovery. Upon startup, the ST-Link Utility told me:

  08:33:34 : Old ST-LINK firmware detected!

 

             Please upgrade it from ST-LINK->'Firmware update' menu.

 

  08:33:34 : Connected via SWD.

 

I did that, and ''ST-Link->Firmware update'' told me:

    Firmware Version : V2.J14.S0 JTAG Debugger

 

    Upgrade the firmware to V2.J16.S0

 

Did you change some jumper settings on the board ?

I never came across such issues.

Edit:

I get the same result as you when I try to update a STM8 discovery, which actually uses SWIM.

Not sure what you are doing.

chumak_sp
Associate II
Posted on February 21, 2013 at 14:39

I have the same problem with my STM32L DISCOVERY. On-board  STLink programmer still not working.

ST-Link Upgrade Utility detect my  board as V2.J0.S4 SWIM Debugger. When I try to connect a target or to change settings I get an error: ''STLink USB Communication error'' . All drivers and utilities have latest version. How can solve this problem?  

Posted on February 21, 2013 at 16:59

Based on the discussion so far I'm not sure it's recoverable.

You could perhaps try to roll it back to a prior firmware?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
chumak_sp
Associate II
Posted on February 22, 2013 at 10:01

I just updated STLink firmware by the STLink Upgrade Utility because it asked me about it...

Is it possible to roll it back to a prior firmware?

I have anoter STLink programmer.

chumak_sp
Associate II
Posted on February 25, 2013 at 09:48

Yesterday I tried to read original firmware from another working  STM32 Discovery's STLink.

Of course it was read-protected. In result  of those manipulations I have got blank MCU STM32F103C8T6.

Is it possible to find firmware for it?

Can anybody help me?