Author Topic: STlink V2 & IAR Refuse to work  (Read 5927 times)

0 Members and 1 Guest are viewing this topic.

Offline ebclrTopic starter

  • Super Contributor
  • ***
  • Posts: 2328
  • Country: 00
STlink V2 & IAR Refuse to work
« on: February 02, 2015, 08:33:22 pm »
I have a IAR project  that  ruin just fine on simulator.
Same project download and works  well when using Friend;s Jlink, But refusre to work with my own STlink V2 With IAR debuf Set to STlink .

The ST Stlink utility works if called alone, but Iar refuses to comunicated with Stlink with " Failed to load flash loader: ........"

I tried everthing possible, Any help,
 

Offline Mark

  • Frequent Contributor
  • **
  • Posts: 268
  • Country: gb
Re: STlink V2 & IAR Refuse to work
« Reply #1 on: February 02, 2015, 08:52:05 pm »
I have had a similar problem with ST-Link V2 and Atollic TrueStudio for ARM.  The ST-Link Utility works for programming, but trying to open the debugger results in an error message which ends in "(Not an error)".  I switched to a Segger J-Link 8 and it is working fine.  My J-Link clone cost <$10 from ebay. 
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: STlink V2 & IAR Refuse to work
« Reply #2 on: February 02, 2015, 08:53:41 pm »
it works for me just fine.
================================
https://dannyelectronics.wordpress.com/
 

Offline Mark

  • Frequent Contributor
  • **
  • Posts: 268
  • Country: gb
Re: STlink V2 & IAR Refuse to work
« Reply #3 on: February 02, 2015, 08:58:14 pm »
it works for me just fine.

Do you know what firmware version your ST-Link is?  I updated mine to the latest version, maybe I should have stuck with an older version. 
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: STlink V2 & IAR Refuse to work
« Reply #4 on: February 02, 2015, 09:01:18 pm »
This particular one is a J20 but I have used J16/J17 before.
================================
https://dannyelectronics.wordpress.com/
 

Offline ebclrTopic starter

  • Super Contributor
  • ***
  • Posts: 2328
  • Country: 00
Re: STlink V2 & IAR Refuse to work
« Reply #5 on: February 02, 2015, 11:26:53 pm »
St Link USB Driver v 4.3.3.0
St Link _ CVLi V 2.1.0
Firmware V2.J23.S4
Iar Embedded Workbench 6.0 Kickstar
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf