1. Take one set of TSDZ2 Programming Kit.
2. Download the STVP Software: stvp-stm32 (Click me to download).
3.Install the STVP Software. Refer to this video:
4. Connect the programming cable to the ST-Link V2
5. Connect the speed sensor 6pin male plug of the motor to the 6pin female plug.
6. Connect the ST-LINK V2 to the computer via USB.

7. Configuration: ST-LINK >USB>SWIM>STM8S105x6
8. Read the firmware from the controller: Read>All tabs(on active sectors if any)

9. Back up the current firmware as a Hex file: File>Save As

10. Open the Hex firmware file that you want to program.

11. Flash the controller of motor with the HEX firmware file: Program>All Tabs (on active sectors if any)





