vdudouyt / stm8flash

program your stm8 devices with SWIM/stlinkv(1,2)
GNU General Public License v2.0
401 stars 182 forks source link

how to reset stm8 with stm8flash (with no power down) #140

Closed JiaDuo closed 8 months ago

JiaDuo commented 3 years ago

I don't kown how to reset the stm8 use stm8, I known when flash a program ,it will be reset auto. I want to reset wihtout flash .how to do that ?

thanks

stefaandesmet2003 commented 2 years ago

there is no command line option for reset only, but write a 0 byte file will trigger a reset ./stm8flash -c stlinkv2 -p stm8s103f3 -s eeprom -b 0 -w dummy.bin

schneidersoft commented 1 year ago

It seems there is a need for proper independent reset control. see also #153