skestans
100 W
I have a tsdz2 running the stock firmware along with a 850c display.
I can’t successfully flash the display to the open source firmware yet but I do need to use my bicycle until I figure it out.
I charged my 52V battery close to full, and now the voltage is too high for a 48V battery and the 48V motor goes into failsafe mode where it won’t provide any assistance. If I provide a lower voltage (51V) with a generator instead, everything works fine.
I tried flashing the 52V version of the firmware following the eco-ebike instructions but it won’t work using the windows software. The ST software says it can’t get a connection. I’m using three wires: +5V, GND, and SWIM.
If I use the stm8flash utility in Linux, I can dump the firmware and write to the motor. But if I try to flash the 52V version of the firmware (from eco-ebike), I’m getting an error that it can’t write to addresses below 0x4000:
How do I flash this image to the motor?
And why won’t the windows software work when the Linux ones does?
I can’t successfully flash the display to the open source firmware yet but I do need to use my bicycle until I figure it out.
I charged my 52V battery close to full, and now the voltage is too high for a 48V battery and the 48V motor goes into failsafe mode where it won’t provide any assistance. If I provide a lower voltage (51V) with a generator instead, everything works fine.
I tried flashing the 52V version of the firmware following the eco-ebike instructions but it won’t work using the windows software. The ST software says it can’t get a connection. I’m using three wires: +5V, GND, and SWIM.
If I use the stm8flash utility in Linux, I can dump the firmware and write to the motor. But if I try to flash the 52V version of the firmware (from eco-ebike), I’m getting an error that it can’t write to addresses below 0x4000:
Code:
$ sudo ./stm8flash -c stlinkv2 -p stm8s105?6 -w ~/Downloads/52vdatamemory.s19
Determine FLASH area
Due to its file extension (or lack thereof), "/home/user/Downloads/52vdatamemory.s19" is considered as MOTOROLA S-RECORD format!
Address 00004000 is out of range at line 1
How do I flash this image to the motor?
And why won’t the windows software work when the Linux ones does?