stm8flash icon indicating copy to clipboard operation
stm8flash copied to clipboard

stm8prog & stlinkv1 keep device in reset after flasher terminates

Open treideme opened this issue 10 years ago • 2 comments

I love the programmer you put together so far. However, one annoyance is that it keeps the device in reset after it terminates, despite having reset routines in the code.

My configuration

  • stm8prog @ f4b19f2a5b22a25e6c8c790edac76735f709a1f9
  • OS Ubuntu Linux 12.04 (amd64)
  • stm8vldiscovery (using onboard stlinkv1 debugger, STM8S003k3)
  • newest stlink firmware flashed to the programmer (2.21.4, from here http://www.st.com/web/en/catalog/tools/PF258194#)

The only remedy I currently have to reset the device is to replug the USB cable or to manually assert the resetline of the STLink MCU.

treideme avatar Oct 04 '14 18:10 treideme

This happens to me when verifying (-v) the STM8S003F3. I had put flash & verify on my makefile, and thought my device wasn't working.

anderson- avatar May 22 '18 12:05 anderson-

I tried with current stm8flash, Debian GNU/Linux testing, and an STM8SVLDISCOVERY board. It looks like it works for me. But I have no idea what firmware version is on the board (or how to check the version).

spth avatar Nov 17 '21 09:11 spth