Skip to main content
Visitor II
July 30, 2018
Question

Free STM8 Debugger for Linux?

  • July 30, 2018
  • 2 replies
  • 818 views

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.

    This topic has been closed for replies.

    2 replies

    Visitor II
    July 30, 2018

    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

    Visitor II
    July 30, 2018

    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