2021-08-23 07:28 PM
I connect the stlinkv2 to stm8. then the reset button on board not work, Is there a way to reset the stm8 using stlinkv2?.
thanks
2021-08-25 06:40 AM
Post your circuit for your reset pin connection, showing switch and any R or C components. Missing 10K pullup or 100n capacitor may cause such issues.
I've seen this stuff online, but don't have time to dig for it right now.
Paul
2021-09-23 03:02 AM
The stm8 can be reset using ST-Link/V2.
E.g. stm8flash resets it after writing the program (you can also tell stm8flash to write 0 Bytes to just reset without writing anything). Since stm8flash is FOSS, you can look at the source to see how it is done: https://github.com/vdudouyt/stm8flash