cancel
Showing results for 
Search instead for 
Did you mean: 

Embedded ST-Link limitation

luisf
Associate II
Posted on January 18, 2011 at 17:19

Hi, i would like to know if there is any limitation for programing others ST's Cortex-M3 with the embedded ST-Link placed at STM32 Discovery?

As an example.. can i program the STM32F102?

Second, for now i am using the CodeSourcery Lite with Eclipse. Any one knows if there is any limitation on using CodeSourcery (or any other gcc) with ST's Cortex-M3?

Thank you!
8 REPLIES 8
disirio2
Senior
Posted on January 19, 2011 at 09:21

Hi,

The ST-Link should work with any STM32, just make sure to upgrade the firmware to the latest version.

Codesourcery works perfectly with the STM32

http://www.chibios.org/dokuwiki/doku.php?id=chibios:guides:eclipse1

, the following guides explain how to use it:

http://www.chibios.org/dokuwiki/doku.php?id=chibios:guides:eclipse1

http://www.chibios.org/dokuwiki/doku.php?id=chibios:guides:eclipse2

Giovanni

luisf
Associate II
Posted on January 19, 2011 at 09:28

Thank you!! Any idea what's the limitation of the LITE version?

Thank you!

disirio2
Senior
Posted on January 19, 2011 at 10:58

I think it is not limited because the update package is the same for the normal ST-Link and the embedded one.

I've not verified first hand however.

Giovanni

luisf
Associate II
Posted on January 19, 2011 at 12:09

Limitation i mean the CodeSourcery Lite and not ST-Link Lite hehe. Any ideal if the CodeSourcery LITE got any kind of limitation?

disirio2
Senior
Posted on January 19, 2011 at 13:18

It does not have limitations. The code size is unlimited, optimizations are not disabled and the library is complete.

Giovanni

marcinha
Associate
Posted on January 25, 2011 at 16:27

Giovanni,

Will ST-LINK work with this IDE?

It isn't specified in

http://openocd.berlios.de/doc/html/Debug-Adapter-Hardware.html#Debug-Adapter-Hardware

?

disirio2
Senior
Posted on January 25, 2011 at 22:34

ST Link is not currently supported by OpenOCD and there is no alternative GDB server as far I know. Huge limit IMO.

EWARM and uVision support it out of the box.

Giovanni

stm2399
Associate II
Posted on January 30, 2011 at 22:43

You could replace the ST-Link firmware with Versaloon , and get OpenOCD support (GDB) , you need 2 STM32VL boards (one programming the other via SWD , or some other kind of SWD programmer)

http://www.versaloon.com/bbs/viewtopic.php?f=2&t=17&start=0

http://takenapart.com/?p=82

/Bingo