TSDZ8 OSF (open source firmware)

... The drawback is that when you release the pressure on the pedal, the assistance will decrease only after one or two pedal rotation. ...
I took a short ride with version 0.1.16 860C.
I left all the settings on the display as they were.
My first feelings about the ride were that I would probably kill myself and the bike wouldn't stop. I don't have brake sensors or a gear shift sensor installed. Otherwise, all expectations about smoothness were met in this version.
I'm very curious about the feelings of others.
 
In my first tests with this version, I had also some code in order to allow faster assistance decrease.
When the "actual" torque was less than 1/2 of the maximum of "current" and "previous" pedal rotation torque, the assistance discarded "current" and "previous" max and switched to "actual" torque. I had then a very bad feeling and so I removed this code.

As the "actual" torque sensor varies a lot over one rotation in normal use, I do not see how to have a fast assistance decrease based on torque sensor value.

Currently, the faster way to decrease assistance is to stop pedaling. Otherwise, it takes between 1 and 2 pedal rotations to decrease the assistance.
I could also decrease the assistance (switching to "actual" torque instead of "max") when pedal rotation decreases fast or when cadence is below some thresehold.
 
I now put on github version 0.1.17 (for 860C)
Version 0.1.16 is still available in folder "files_to_flash" so you can compare the feeling.

In 0.1.17, changes are:
- current and previous rotations torque sensor are discarded when cadence is lower than 30 (instead of being 0 in 0.1.16)
- current and previous rotations torque sensor are discarded (and reset to 0) when cadence decreases quite fast.

I hope this help to get faster assistance decrease when pedal torque decreases.

In 0.1.17, I also added the posibility to let the user modify the way torque sensor generates assist.
This is done with the parameter Torque range adj (in menu torque sensor in 860C). Sorry if the name if confusing but it was the only field from 860C that I could reuse for this.
This parameter does not change the maximum assistance provided for any selected level when pressure on pedal is maximum but
it allows to increase (or decrease) the assistance when pressure on pedal is quite low.
This parameter can vary between 1 and 40.
When this parameter is set on 20, the assistance is calculated (just as before) based on the value of the torque sensor.
The more the parameter is higher than 20 (up to 40) the less assistance you will get for small pressure on the pedal (and the more you get for high pressure - still never exceeding the max value defined for the selected level). In other words, the ratio assistance per torque is lower for lowest pressure and higher for highest pressure compared to parameter = 20.
The more the parameter is lower than 20 (up to 1), the more assistance you will get for small pressure on the pedal. In other words, the ratio assistance per torque is higher for lowest pressure and lower for highest pressure compare to parameter = 20.

I suggest that you first test with parameter = 20 and then with other values to see if you get a better/worst feeling.

Note: I had no time to test this 0.1.17 version
 
No sense in starting a new thread. I'm a Noob to OSF, it looks interesting. I currently have the TSDZ2 36V 500W with VLCD6 on my bike. I need a replacement motor and am considering the TSDZ2B 48V 500W with OSF 860C No Brake. I would like to continue to use my 36V batteries with the new motor. My understanding is that the 860C display with OSF will allow me to change voltage setting to use either 36V or 48V batteries. Is this correct? Will the motor perform well with the 36V battery and the OSF 850C settings modified for 36V? Thanks!
 
Last edited:
No sense in starting a new thread. I'm a Noob to OSF, it looks interesting. I currently have the TSDZ2 36V 500W with VLCD6 on my bike. I need a replacement motor and am considering the TSDZ2B 48V 500W with OSF 860C No Brake. I would like to continue to use my 36V batteries with the new motor. My understanding is that the 860C display with OSF will allow me to change voltage setting to use either 36V or 48V batteries. Is this correct? Will the motor perform well with the 36V battery and the OSF 850C settings modified for 36V? Thanks!
With OSF for TSDZ8 you can use the motor with a 36V battery. I did it for a bike trip of 1000 km.
Still you will not get the same maximum power as with a 48V battery and the maximum cadence (with assistance) will also be less.
 
Yep power etc will be down plus there may a difference between a 48v and a 36v motors like with the TSDZ2(B)s.
 
Thanks, and the settings can be done through the 860C display? Nothing special is required? I have 36V batteries so I would like to make use of them. Once I feel that I need new batteries or if I am not satisfied with the performance I'll switch to 48V. I imagine that the 36V performance of the TSDZ2B will be similar to the 36V TSDZ2 that I am currently using.
 
Yep, had a check, be it a 36V TSDZ2 or 36V TSDZ2B they use the same bare motor, the same applies to the 48V versions, I use both the original and "B" version and see no difference, perhaps the original internals in the stronger "B" version casing, that's just me as my first TSDZ2 is now 4 years old, with the third bearing mod and running the OSF, and still in one piece.

Any this thread is for the 8 version.
 
Witam mam tsdz8 z 860c na fabrycznym sofcie czy może ktoś nagrać filmik albo opisać jak przeprowadzic cały proces przeprogramowania na osf ?
 
Can software 0.1.17 be flashed to a controller with a VLCD5 display?
No. It works only for a 860C display that has been upgraded with the 860c display provided by mbrusa.

If it is confirmed that 0.1.17 works fine for 860C display, I will make the same changes for TSDZ8 with VLCD5 display.

So I hope it will be done in a few days.

Please note that I just realised I made a small mistake in 0.1.17 version. It has no impact when ADC range Adj is 20 (default value) but well with other values.
I will fix this soon in a version 0.1.18
 
Witam mam tsdz8 z 860c na fabrycznym sofcie czy może ktoś nagrać filmik albo opisać jak przeprowadzic cały proces przeprogramowania na osf ?
Please note that to use your 860C display with OSF, it could be that you have also to change the firmware in the 860C. The firmware on the 860C must be the one provided by mbrusa for 860C on TSDZ2.
 
Hello, I would like to thank @mstrens to porting OSF on TSDZ8 great job and thanks to all the BETA-testers providing in this thread a lot of valuable. I have a EKD01 with Tongsheng firmware on my TSDZ8, do you think OSF works with that display? Can software 0.1.18 be flashed to a controller with a EKD01 with Tongsheng firmware ? Thanks!
 
Należy pamiętać, że aby używać wyświetlacza 860C z OSF, może być konieczna również zmiana oprogramowania układowego w 860C. Oprogramowanie układowe w 860C musi być tym dostarczonym przez mbrusa dla 860C na TSDZ2.
Czyli najpierw wgrywam OSF_TSDZ8_V00_01_13.hex a pozniej plik konfiguracyjny 0.1.18? Czy tylko wystarczy wgrac 0.1.18 ?
 
Hello, I would like to thank @mstrens to porting OSF on TSDZ8 great job and thanks to all the BETA-testers providing in this thread a lot of valuable. I have a EKD01 with Tongsheng firmware on my TSDZ8, do you think OSF works with that display? Can software 0.1.18 be flashed to a controller with a EKD01 with Tongsheng firmware ? Thanks!
Version 0.1.18 works ONLY with a 860C display (having been updated with the display firmware provided by mbrusa for TSDZ2 - 860C ).
It could also (but I am not sure) that it can also work with a sw102 display (also having been the display firmware provided by mbrusa for TSDZ2 - SW102).

Please note that there are 2 versions of OSF TSDZ8 : one for 860C upgraded display and one for VLCD5 (and similar displays using the stock communication protocol). This is just similar to what exists for TSDZ2 : 2 OSF versions provided by mbrusa for the 2 type of display. With 860C version, the user can change many parameters directy with the display touchs. With the other version, the user has to use a javaconfigurator to change parameters, let it generate a config file that has then to be flashed to the controller.

Currently the OSF TSDZ8 version for VLCD5 has some jerking issues (at least for some users). I have to make the same changes I recently did for 860C version in order to try to fix those jerking issues.
 
1. Upload OSF_TSDZ8_860C_V00_01_18.hex to your motor controler using jlink.
2. Upload one of the files (depends of version of your 860c) TSDZ2-Smart-EBike-860C/releases at master · emmebrusa/TSDZ2-Smart-EBike-860C using usb-ttl to your 860c display.
3. Config your motor from display menu - or use java configurator and upload hex by jlink
Please note that java configurator is never used with 860C version (at least when 860C display has been updated with mbrusa firmware).

Javaconfigurator is foreseen only for the VLCD5 (and similar) display.
 
I tested version 17 today, everything works great, I confirm that it is the best of all so far, I reduced the acc a bit because it even supported too much. I will test version 18 soon, if it was possible to introduce similar changes to the version with vlcd5, ekd and xh18 it would be great. Thank you again @mstrens, and I think that your work puts you in the top of osf ebike champions:)
 
Należy pamiętać, że konfigurator Java nigdy nie jest używany w wersji 860C (przynajmniej w przypadku, gdy wyświetlacz 860C został zaktualizowany o oprogramowanie układowe mbrusa).

Javaconfigurator jest przewidziany wyłącznie dla wyświetlaczy VLCD5 (i podobnych).
Osf bedzie dzialac bez programowania 860c?
 
Yep, had a check, be it a 36V TSDZ2 or 36V TSDZ2B they use the same bare motor, the same applies to the 48V versions, I use both the original and "B" version and see no difference, perhaps the original internals in the stronger "B" version casing, that's just me as my first TSDZ2 is now 4 years old, with the third bearing mod and running the OSF, and still in one piece.

Any this thread is for the 8 version.
Thanks. Should I consider the TSDZ2B 52V 750W with 860C OSF? Can I still set this to work with a 36V battery? I'll upgrade the battery to 48V or 52V in the future when I decide to replace the 36V battery. Is the 750W motor heavier than the 500W? I'm also concerned that 750W may be hard on my 7 speed drivetrain. Any and all opinions are welcome.
 
Thanks. Should I consider the TSDZ2B 52V 750W with 860C OSF? Can I still set this to work with a 36V battery? I'll upgrade the battery to 48V or 52V in the future when I decide to replace the 36V battery. Is the 750W motor heavier than the 500W? I'm also concerned that 750W may be hard on my 7 speed drivetrain. Any and all opinions are welcome.
Please note that this forum is for OSF on TSDZ8 and not TSDZ2(b).
If you really want a reply for TSDZ2, I suggest you put your question on another forum.

If you are still interested in TSDZ8 I could say that:
- as far I know, it is only available in 48V but some use it with a 52V batterry.
- it could work with a 36V battery but only with OSF (version for TSDZ8) so not with original firmware.
- even if the motor is announced for 750W, you can adjust (with OSF) the assistance (so the power) to the levels you want and so limit the forces on the drivetrain.
- TSDZ8 has for sure a better cooling than TSDZ2
- TSDZ8 is heavier than TSDZ2.
 
Back
Top