eco-ebike.com now offers some customized firmware for the TSDZ2 that I'd like to try:
https://www.eco-ebike.com/blogs/eco-cycles-instructionals/tsdz2programmingfromscratch
They offer instructions on how to flash with the st-link software, but I don't have a windows machine. My plan was to try flashing with stm8flash, modifying the flashing script in the open source project: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Flash-the-firmware-on-TSDZ2
One question I had was that eco-ebike provides a program memory and data memory .hex, in contrast to the open source project which is a single file. Should I write both the program and data memory files to the motor, and does order matter?
Would, eg:
...work?
https://www.eco-ebike.com/blogs/eco-cycles-instructionals/tsdz2programmingfromscratch
They offer instructions on how to flash with the st-link software, but I don't have a windows machine. My plan was to try flashing with stm8flash, modifying the flashing script in the open source project: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Flash-the-firmware-on-TSDZ2
One question I had was that eco-ebike provides a program memory and data memory .hex, in contrast to the open source project which is a single file. Should I write both the program and data memory files to the motor, and does order matter?
Would, eg:
Code:
stm8flash -c stlinkv2 -p stm8s105?6 -w datamemory.hex
stm8flash -c stlinkv2 -p stm8s105?6 -w programmemory.hex