|
From: CeDeROM <tom...@gm...> - 2010-02-19 22:55:09
|
Ive just found an interesting STM8Discovery DevelKit with STM8S105C6T6 microcontroller (8-bit, 32 KB Flash, 2 KB RAM, 1 KB EEPROM) onboard for extremely low price (~$10) with supplied JTAG programmer (Embedded ST-LINK). Anyone knows/use this St-Link cable? Is this SWIM a SWD implementation? More details at: http://www.kamami.pl/dl/stm8sdiscovery.pdf Regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info |
|
From: Michel C. <mic...@gm...> - 2010-02-20 00:12:12
|
Le 19/02/2010 16:55, CeDeROM a écrit : > Ive just found an interesting STM8Discovery DevelKit with STM8S105C6T6 > microcontroller (8-bit, 32 KB Flash, 2 KB RAM, 1 KB EEPROM) onboard > for extremely low price (~$10) with supplied JTAG programmer (Embedded > ST-LINK). Anyone knows/use this St-Link cable? Is this SWIM a SWD > implementation? More details at: > http://www.kamami.pl/dl/stm8sdiscovery.pdf > > Regards, > Tomek > > SWIM, it is a single wire protocol fully described in ST App note. It is for the STM8. You could modify the software to make it a SWD device. You need to bring an extra line from somewhere on the board like stealing the pin of a LED. It uses an STM32 for the Raisonnance programmer. Michel -- Tired of Microsoft's rebootive multitasking? then it's time to upgrade to Linux. http://home.comcast.net/~mcatudal |
|
From: simon q. <sim...@gm...> - 2010-02-20 06:05:25
|
Hi, I have implemented SWIM interface in Versaloon. So I know SWIM is NOT SWD, SWIM is more complex. 2010/2/20 Michel Catudal <mic...@gm...> > Le 19/02/2010 16:55, CeDeROM a écrit : > > Ive just found an interesting STM8Discovery DevelKit with STM8S105C6T6 > > microcontroller (8-bit, 32 KB Flash, 2 KB RAM, 1 KB EEPROM) onboard > > for extremely low price (~$10) with supplied JTAG programmer (Embedded > > ST-LINK). Anyone knows/use this St-Link cable? Is this SWIM a SWD > > implementation? More details at: > > http://www.kamami.pl/dl/stm8sdiscovery.pdf > > > > Regards, > > Tomek > > > > > SWIM, it is a single wire protocol fully described in ST App note. It is > for the STM8. > You could modify the software to make it a SWD device. You need to bring > an extra line from somewhere on the board like stealing the pin of a LED. > It uses an STM32 for the Raisonnance programmer. > > Michel > > -- > Tired of Microsoft's rebootive multitasking? > then it's time to upgrade to Linux. > http://home.comcast.net/~mcatudal > > _______________________________________________ > Openocd-development mailing list > Ope...@li... > https://lists.berlios.de/mailman/listinfo/openocd-development > -- Best Regards, SimonQian http://www.SimonQian.com |
|
From: Michel C. <mic...@gm...> - 2010-02-20 16:51:57
|
Le 20/02/2010 00:05, simon qian a écrit : > Hi, > I have implemented SWIM interface in Versaloon. > So I know SWIM is NOT SWD, SWIM is more complex. > > By modifying the software at the TM8Discovery Devel Kit I meant reflash the whole thing. The JTAG interface is present on the STM32 board so you can debug and reflash your new application. To make this a SWD only debugger would be easy. If you would want to make it a JTAG debugger then you would have to use SWD to debug and reflash your code since you would need some of the pins from the JTAG interface. Most unused pins are not easily accessible. There is the port for the LED that can be borrowed. Michel -- Tired of Microsoft's rebootive multitasking? then it's time to upgrade to Linux. http://home.comcast.net/~mcatudal |
|
From: simon q. <sim...@gm...> - 2010-02-21 09:49:27
|
Hi, As I know, ST-Link supports JTAG for STM32 and SWIM for STM8, but it doesn't support SWD. If you want to reflash STM32 of ST-Link to be supported by OpenOCD, you can try Versaloon driver, but you will lost ST-Link's functionality. 2010/2/20 Michel Catudal <mic...@gm...> > Le 20/02/2010 00:05, simon qian a écrit : > > Hi, >> I have implemented SWIM interface in Versaloon. >> So I know SWIM is NOT SWD, SWIM is more complex. >> >> >> By modifying the software at the TM8Discovery Devel Kit I meant reflash > the whole thing. The JTAG interface is present on the STM32 board so you can > debug and reflash your new application. > To make this a SWD only debugger would be easy. If you would want to make > it a JTAG debugger then you would have to use SWD to debug and reflash your > code since you would need some of the pins from the JTAG interface. Most > unused pins are not easily accessible. There is the port for the LED that > can be borrowed. > > > Michel > > -- > Tired of Microsoft's rebootive multitasking? > then it's time to upgrade to Linux. > http://home.comcast.net/~mcatudal > > -- Best Regards, SimonQian http://www.SimonQian.com |
|
From: CeDeROM <tom...@gm...> - 2010-02-21 10:55:51
|
On Sun, Feb 21, 2010 at 8:49 AM, simon qian <sim...@gm...> wrote: > Hi, > As I know, ST-Link supports JTAG for STM32 and SWIM for STM8, but it doesn't > support SWD. > If you want to reflash STM32 of ST-Link to be supported by OpenOCD, you can > try Versaloon driver, but you will lost ST-Link's functionality. Ok ok, I was just wondering if this is the cheapest JTAG/SWD/SWIM dongle on the market :-) Now I see that it does not support SWD, but if we get SWD working in OpenOCD then firmware of this ST-LINK could be upgraded and so it could become multifunction-lowestprice device (if needed) :-) I wonder also about speed of this cable - is there a change to be faster than FT2232H based interface? Best regards! Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info |
|
From: simon q. <sim...@gm...> - 2010-02-21 11:51:29
|
SWD is working in my branch of OpenOCD, but ONLY on Versaloon dongle. Official OpenOCD will maybe add SWD support in 0.5 release. FT2232H is USB-HS device, I don't think there is any chance for USB-FS STM32 Device to be faster. But it's almost impossible for FT2232H to support SWIM. If you want STM32_JTAG/SWD and STM8_SWIM support, check here: www.simonqian.com/en/Versaloon, software/firmware/hardware are all available there. It can support JTAG/SWD in OpenOCD, and SWIM in vsprog(programming ONLY). For STM32_JTAG, the fastest downloading speed I tested in vsprog is 35KB/s. 2010/2/21 CeDeROM <tom...@gm...> > On Sun, Feb 21, 2010 at 8:49 AM, simon qian <sim...@gm...> > wrote: > > Hi, > > As I know, ST-Link supports JTAG for STM32 and SWIM for STM8, but it > doesn't > > support SWD. > > If you want to reflash STM32 of ST-Link to be supported by OpenOCD, you > can > > try Versaloon driver, but you will lost ST-Link's functionality. > > Ok ok, I was just wondering if this is the cheapest JTAG/SWD/SWIM > dongle on the market :-) Now I see that it does not support SWD, but > if we get SWD working in OpenOCD then firmware of this ST-LINK could > be upgraded and so it could become multifunction-lowestprice device > (if needed) :-) I wonder also about speed of this cable - is there a > change to be faster than FT2232H based interface? > > Best regards! > Tomek > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > -- Best Regards, SimonQian http://www.SimonQian.com |
|
From: Spencer O. <sp...@sp...> - 2010-02-21 21:52:46
|
On 21/02/2010 08:49, simon qian wrote: > Hi, > As I know, ST-Link supports JTAG for STM32 and SWIM for STM8, but it > doesn't support SWD. > If you want to reflash STM32 of ST-Link to be supported by OpenOCD, you > can try Versaloon driver, but you will lost ST-Link's functionality. > The ST-LINK supports both JTAG and SWD for the stm32. Cheers Spen |
|
From: Xiaofan C. <xia...@gm...> - 2010-02-22 00:47:25
|
On Mon, Feb 22, 2010 at 4:52 AM, Spencer Oliver <sp...@sp...> wrote: > On 21/02/2010 08:49, simon qian wrote: >> Hi, >> As I know, ST-Link supports JTAG for STM32 and SWIM for STM8, but it >> doesn't support SWD. >> If you want to reflash STM32 of ST-Link to be supported by OpenOCD, you >> can try Versaloon driver, but you will lost ST-Link's functionality. >> > > The ST-LINK supports both JTAG and SWD for the stm32. > It seems to be pretty new support. Maybe that is why Simon did not see it. www.st.com/stonline/products/literature/um/15285.pdf Page 11 Revision History 20-Nov-2009: Rev 3: Added 3rd party Atollic and SWD support. -- Xiaofan http://mcuee.blogspot.com |
|
From: Michel C. <mic...@gm...> - 2010-02-23 02:57:53
|
simon qian a écrit : > Hi, > As I know, ST-Link supports JTAG for STM32 and SWIM for STM8, but it > doesn't support SWD. > If you want to reflash STM32 of ST-Link to be supported by OpenOCD, > you can try Versaloon driver, but you will lost ST-Link's functionality. > The version on the STM8Discovery doesn't support SWD. It is designed for the STM8 and brings out only the two pins needed to program the STM8. It is a SWIM only programmer. The board costs $7. Michel -- Tired of Microsoft's rebootive multitasking? then it's time to upgrade to Linux. http://home.comcast.net/~mcatudal |
|
From: Antonio B. <bor...@gm...> - 2010-02-24 01:34:15
|
Just received this advertisement, interesting for who is in Germany and plan to be at "embedded world 2010 in Nuremberg". You could get one of the 5000 free STM8S kit. I think each kit includes one ST-Link. http://www.st.com/stonline/products/families/embedded_2010.htm Best Regards, Antonio |