cancel
Showing results for 
Search instead for 
Did you mean: 

SWIM example code or libraries which implements the SWIM protocol.

de Vaal.Ruud
Associate III

As most Discovery boards for STM8 devices use an STM32 to implement the SWIM interface. ST must have examples or libraries available to implement this SWIM interface. Are these available to the public ? Such STM32 code will speed up development of gang programmers etc. for STM8 related products.

5 REPLIES 5
AvaTar
Lead

Pretty sure you need to approach ST directly.

There had been a few requests for using SWD (for Cortex M) here, but ST doesn't publish the source.

See the STM32 on the STM8 Discovery boards as a black box with proprietary firmware owned by ST.

The SWIM protocol is publicly documented and there are implementations out there.

https://github.com/dimitarm1/SWIM_Programmer (and link therein)

https://github.com/rumpeltux/esp-stlink

http://kuku.eu.org/?projects/stm8spi/stm8spi

JW

Thanks JW, at least that could be a start. One thing that worries me is the line: This project is dead from the beginning. So I will have to try if it works. Did anyone test this if it works ?

AvaTar
Lead

You might ask in the STM8 forum.

The STM8 family (and similar) were AFAIK never really popular or even available except for commercial applications. And associated costs (hardware, toolchains) were often quite prohibitive for hobbyists.

Good idea Thank you.