2022-02-24 01:15 AM
2022-02-24 02:29 AM
Welcome, @Community member, to the community!
Although the STM8 are very old, you can of course program them via Command Line with the ST Visual Programmer. For this purpose the program STVP_CmdLine.exe is used, which can access your ST-LINK/V2 directly.
Attention: please install in a directory with short length, without spaces in the directory names and write access for normal users, i.e. without admin rights.
Good luck!
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter
2022-02-24 02:29 AM
Welcome, @Community member, to the community!
Although the STM8 are very old, you can of course program them via Command Line with the ST Visual Programmer. For this purpose the program STVP_CmdLine.exe is used, which can access your ST-LINK/V2 directly.
Attention: please install in a directory with short length, without spaces in the directory names and write access for normal users, i.e. without admin rights.
Good luck!
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter
2022-11-16 01:07 AM
Don't bother with the visual programmer tool. It has several deficiencies like the path length Peter mentioned as well as not being able to select the programming adapter by serial number ... There is a beautiful open source project to flash stm8 chips called stm8flash https://github.com/vdudouyt/stm8flash another option is openocd, which should also be supported by windows.