No, though I did go through and add some additional decoupling capacitors to the power and reset line, and I haven't seen an undefined halt since. I also added 'resume' to my openocd script, too. It does seem to be working well, I can flash and debug without anything unusual happening
No, though I did go through and add some additional decoupling capacitors to the power and reset line, and I haven't seen an undefined halt since, though I also added 'resume' to my openocd script too. It does seem to be working well, I can flash and debug without anything unusual happening
Reset configuration seems to have helped, I set stm8s.cfg to 'connect under reset' and now I can connect at least, though after a random interval of some seconds, I get 'target halted due to undefined, pc: 0x00006000' ... although it seems to work fine otherwise. GDB connects, I can 'resume' things, etc. The 'target halted due to undefined' only occurs when I first connect. After I start debugging, things work as expected.
Reset configuration seems to have helped, I set stm8s.cfg to 'connect under reset' and now I can connect at least, though after a random interval of some seconds, I get 'target halted due to undefined, pc: 0x00006000' ... I'm still playing with it.
Unable to connect to stm8s105 targets. (Other stm8 targets work)