cancel
Showing results for 
Search instead for 
Did you mean: 

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

michael.kitz
Associate II

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

2 REPLIES 2
Philipp Krause
Senior II

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 II

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