stm8flash
stm8flash copied to clipboard
stm8prog & stlinkv1 keep device in reset after flasher terminates
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.
This happens to me when verifying (-v) the STM8S003F3. I had put flash & verify on my makefile, and thought my device wasn't working.
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).