2018-07-29 11:11 PM
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.
2018-07-30 07:04 AM
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:
2018-07-30 12:47 PM
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