cancel
Showing results for 
Search instead for 
Did you mean: 

Free STM8 Debugger for Linux?

Robert Kong
Associate II

Does anyone know of a free debugger for the STM8 for Linux? Besides SDCC there does not appear to be any free development environment for the STM8 for linux? I was happily using sdcc until I hit a bug and decided to forget about sdcc.

Is there any open source code for using SWIM? I tried implementing my own but could not get SWIM to respond to a read request - commands are ACKed but no data was sent. SWIM just went silent.

2 REPLIES 2
Philipp Krause
Senior II

SDCC 3.7.0 and later has okayish ELF/DWARF debug output that can be used with OpenOCD and a patched GDB (https://stm8-binutils-gdb.sourceforge.io/) for on-target debugging via SWIM.

Philipp

P.S.: Vyacheslav made a short video about using this from Eclipse:

https://community.st.com/s/feed/0D50X00009XkVvPSAV

Philipp Krause
Senior II

You mentioned you hit a bug. I assume that means a bug in SDCC. What was it? If it was in a current version, did you report it (https://sourceforge.net/p/sdcc/bugs/)? Did it get fixed?

Philipp