Skip to main content
Visitor II
September 26, 2019
Question

Can't debug STM8s105C6 , SWIM error 30004 Comm timeout

  • September 26, 2019
  • 1 reply
  • 1410 views

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

    This topic has been closed for replies.

    1 reply

    Visitor II
    October 6, 2019

    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/