2019-09-26 03:54 AM
I'm working on STM8s105c6 . Everything goes fine but I'm not able to debug it . Earlier it said Swim error can't access database . Then i reinstalled StToolset file , Now it shows SWIM Error 30004 Comm Time out . I have tried everything . The code gets uploaded using STVP but I'm not able to debug using STVD
2019-10-06 02:18 AM
The symptoms (being able to write a program, but not debug it) look to me as if you enabled Flash Readout Protection.
If Flash Readout Protection is disabled, I suggest to find out if this is a hardware vs. a software issue.
Does it work with other software, such as stm8flash? There are tutorials using stm8flash for 3 different STM8X105C6 evaluation boards at http://www.colecovision.eu/stm8/
Does debugging using OpenOCD and gdb work? See https://stm8-binutils-gdb.sourceforge.io/