Skip to main content
michael.kitz
Associate
June 18, 2019
Question

Is there a way to debug an STM8 on target from eclipse via ST-Link?

  • June 18, 2019
  • 2 replies
  • 1255 views

I work on a project inside eclipse IAR EW plugin. Now I would like to debug from there, too. Just like for STM32. Is that possible? If so, how?

Thanks

    This topic has been closed for replies.

    2 replies

    Philipp Krause
    Senior II
    June 23, 2019

    Some are doing on-target debugging using Eclipse:

    https://stm8-binutils-gdb.sourceforge.io/

    So far, I have only seen this used with SDCC. But if IAR can emit ELF/DWARF, it could work with IAR, too (possibly requiring some modifications).

    michael.kitz
    Associate
    July 18, 2019

    Thanks.

    Unfortunately I have not yet been able to try it.

    For anybody interested in this, too:

    While looking for something else I found this page today, which also might help. - https://justanotherelectronicsblog.com/?p=432