• Hello ES! We could use some help to get us past the finish line on building the new knowledgebase for the forum.
    Can you donate? Please see our fundraising page. Thank you!

TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C-850C-SW102.

One question: have you also tried v20.1C.5?
To understand the source of the problem, it's important for me to know if this version also has the same issue.
If you haven't tried it, can you? Thanks.
I haven't tested version 20.1C.5. I can test it after my vacation (early September). Regards
 
I haven't tested version 20.1C.5. I can test it after my vacation (early September). Regards
The term "motor braking" you used is just an impression, because if the sprag clutch is working properly, the motor doesn't prevent the pedals from turning, even if it's locked. I interpreted it as a delay in reactivating the assistance when you've just stopped pedaling.

I asked you to try v20.1C.5 because in the latest version 5-update-1, I increased the minimum rpm for reactivating the motor, and this should have improved the situation.
I suspected I'd introduced a bug, but I checked carefully and ruled it out.

The delay in reactivating the assistance is a known issue, already reported by others, but not since the latest version, but always. It's a problem that only occurs under certain conditions; it rarely happens to me.
Finding the cause has always been on my to-do list.

I've been analyzing the code carefully these days and think I've figured out the cause of the delay in reactivating the assistance.
However, reading your description, I'm not sure if this is the same problem.
Now enjoy your vacation; I'll send you a new version to try before the end of the month.
 
The term "motor braking" you used is just an impression, because if the sprag clutch is working properly, the motor doesn't prevent the pedals from turning, even if it's locked. I interpreted it as a delay in reactivating the assistance when you've just stopped pedaling.
Thanks for the support.
- It's exactly as you described, it's a braking sensation caused by the lack of motor assistance (there's a directional bearing, so reverse rotation isn't possible :) )

Currently, the most annoying thing is the frequent E7 error. This forced me to return to the "Torque offset adj = 20" setting, but the error persists. I've noticed that the triggering factor for this error is pressing hard and quickly on the pedals, even when the gear ratio is set to light.

Best regards
 
If e7 occurs during normal use, it may be a false error; try gradually increasing the "Overcurrent Delay".
 
Hi, Mbrusa. I was comparing several versions of your code to determine which bits of code had changed. It was a bit of a chore until I found some free software. You just point it at two of your zip files and it highlights which folders / files have been changed / added or deleted. if you then click on a changed file (Text or binary) it highlights the changed lines / bytes side by side. S/W is called Winmerge.
 
Hi, Mbrusa. I was comparing several versions of your code to determine which bits of code had changed. It was a bit of a chore until I found some free software. You just point it at two of your zip files and it highlights which folders / files have been changed / added or deleted. if you then click on a changed file (Text or binary) it highlights the changed lines / bytes side by side. S/W is called Winmerge.
That doesn't require any external tools even. All that information is in the repository already.

Here's an example of commits(==changes) in between "v20.1C.6" and "v20.1C.6-update-2" using just
the github:

From there you can click "Files changed (103)", and it will list the actual changes into files instead of
just commits that should describe those changes.

And once you have it cloned on your machine, you could just use git for the commit logs(/commit diffs).
 
Last edited:
That doesn't require any external tools even. All that information is in the repository already.

Here's an example of commits(==changes) in between "v20.1C.6" and "v20.1C.6-update-2" using just
the github:

From there you can click "Files changed (103)", and it will list the actual changes into files instead of
just commits that should describe those changes.

And once you have it cloned on your machine, you could just use git for the commit logs(/commit diffs).
I have always been intimidated by Github. Maybe it is time i tried it. Thanks.
 
Hello
I just installed on a TSDZ2B the v20.1.C6U2 from july 5, in only Torque mode and display EKD01
A strange thing is that when starting the display, it comes in level 0 , and when pedalling level 1, does not engage the engine ! Only it wil start when going to level 2 and then back to 1
Does anyone else experience this ?
Any ideal ini file for this display, and have the Bosch Feeling with this OSF
Tips are welcom
Tnx JP
 
Hello
I just installed on a TSDZ2B the v20.1.C6U2 from july 5, in only Torque mode and display EKD01
A strange thing is that when starting the display, it comes in level 0 , and when pedalling level 1, does not engage the engine ! Only it wil start when going to level 2 and then back to 1
Does anyone else experience this ?
Any ideal ini file for this display, and have the Bosch Feeling with this OSF
Tips are welcom
Tnx JP
If the EKD01 turns on at level 0, it's a display feature; I don't think it's adjustable.
For assist level 1, did you set "Assist level 5 (%)"?
It should be "AFTER TURBO" and 130%.
This was discussed here:
ekd01 findings · Issue #154 · emmebrusa/TSDZ2-Smart-EBike-1
 
Hello everyone. The battery on my beloved wife's bike has worn out. And since the battery will have to be replaced, I think this is a good reason to switch from 36v to 48. Moreover, the old motor is also very worn out, so it makes sense to replace the entire kit with a 48-volt battery. I have already ordered a new battery in a small case for 14 Ah. And now the question is about the motor: Which motor will best match this battery? There is tsdz2b on Ali Express. Can I order it to use the OSF firmware? What motor voltage best matches a 48-volt battery? In the previous version, 36 volts, I configured the system for maximum output. (because in the morning my wife likes to go to work very quickly)).
 
Hello everyone. The battery on my beloved wife's bike has worn out. And since the battery will have to be replaced, I think this is a good reason to switch from 36v to 48. Moreover, the old motor is also very worn out, so it makes sense to replace the entire kit with a 48-volt battery. I have already ordered a new battery in a small case for 14 Ah. And now the question is about the motor: Which motor will best match this battery? There is tsdz2b on Ali Express. Can I order it to use the OSF firmware? What motor voltage best matches a 48-volt battery? In the previous version, 36 volts, I configured the system for maximum output. (because in the morning my wife likes to go to work very quickly)).
If I were to buy a new battery now, it would be 52V (14S). Higher voltage means lower current and less heating at the same power. Most motors, including TSDZ, can handle voltages up to 60V. Unfortunately, newer Tongsheng motors do not allow programming, and you cannot flash OSF firmware.
 
It depends where you firstly buy the TSDZ2B from as there are two versions of the controller V1 and V2, V1s are programmable, V2 are not. I have a TSDZ2B which was programmable and one which was not., for that I just replaced the controller with a V1. For example German drives are not going to be programmed due to German government restrictions.
 
have any of you tried to install the firmware with a linux computer?
I did have a quick look at a Linux installation, but ended up just using an old Windows machine as it seemed more straightforward. I'm far from being a Linux expert though, so I'm sure a more competent user would have no problems.
 
Does anyone know if you can enable/disable street mode via the DZ40 display?

I have a TSDZ2B that came with the DZ40 and flashing the OSF with the screen setting to VLCD5 works but I can't figure out if it's possible to change the street mode. I've tried following the manual i.e. holding the lights button until 02 appears but it doesn't seem to do anything.
 
New tsdz2 user here, can someone please explain in laymen terms what exactly is happening with torque "calibration" enabled versus disabled?
 
Hello

I'm not sure what happened to my TSDZ2B. After servicing the motor (oiling and greasing), it started behaving differently. Previously, in Off-Road mode, I could reach speeds of over 55 km/h.

Now, the motor shuts off at 41 km/h in Off-Road mode.

I'm wondering if I accidentally changed some settings using the display? Is that possible?

Until now, to activate Off-Road mode, I had to switch to level 0, turn the lights on and off, then switch to level 2 and turn the lights on and off again. Sometimes I performed this sequence incorrectly.

I should add that I have the stock 850C display with the Tongsheng protocol and an old version of OSF (though I don't remember which one, since my controller no longer connects to the ST-Link V2). I also don't remember which settings were flashed with OSF, as I flashed them about 3 years ago.
 
If I were to buy a new battery now, it would be 52V (14S). Higher voltage means lower current and less heating at the same power. Most motors, including TSDZ, can handle voltages up to 60V. Unfortunately, newer Tongsheng motors do not allow programming, and you cannot flash OSF firmware.
My experience is that it is not possible to fit 56 pcs of 18650 cells (14S4P) and a small BMS in a normal-sized Hailong case. 14S might mean a noticeably bulkier battery pack, and not a "small case". 13S4P has worked just fine for me, charged up to 53.3. I guess by Tongsheng motors do not allow programming you mean only TSDZ2B with the XMC1300 processor, and not TSDZ8 with XMC1302 - which I haven't tested myself but I’ve seen there’s an open-source firmware project available.
 
Last edited:
Does anyone know if you can enable/disable street mode via the DZ40 display?

I have a TSDZ2B that came with the DZ40 and flashing the OSF with the screen setting to VLCD5 works but I can't figure out if it's possible to change the street mode. I've tried following the manual i.e. holding the lights button until 02 appears but it doesn't seem to do anything.
I seem to have the same behaviour on DZ40.

Also, to check, DZ40 has 5 levels, is the 5th 'before eco', or 'after turbo'.

Doing the calibration is not great as it only has a 2 digit display.

I got readings of 15x and 25x, where I don't know the last digit. But I have put in 150 and 260 and this makes the torque assist much better than no settings, where it was dreadful. But at the moment I have set 'Before Eco', and levels 1 & 2 are exactly the same. I guess I need to try 'After Turbo'.
 
To confirm, Before Eco is the correct setting for DZ40, as using after Turbo gives loads of power in level 1.

So I tested with just 20% of level 1 as the setting, and even with this I can feel no difference between the new level 1 and 2 in Torque mode.

I set 80, 120,180, 250 in the levels, and 20% for 'Level 5'
I set display motor power as the 'lights on display' and again, no difference in power between 1 & 2.

Is there a bug where the 'level 5' is not using the percentage to calculate the new level when it is 'Before ECO', or maybe just a bug for DZ40?
 
I have figured out the street mode on the DZ40 but its very finicky.

I have got it to work when turning on the display then going to level 1 (does nothing on the DZ40) holding the power up button until 02 appears. Let go briefly and then press and hold power up again until you see either 00 or 10, keep holding to change the value then let go. 02 should flash a few times to confirm the change.

I think 00 is to disable street mode but sometimes it still does nothing and it can take a few attempts until it disables it.

Easiest way to test is to use a throttle. Disable throttle use in street mode and enable it in off road mode. If you get it right the throttle should start working.
 
Last edited:
Colleagues, does anyone know what key combination turns on/off the "street mode"(speed and power limits) on the SW102 display? I mean kinda "hot-key")
(Because I didn't even understand it for the 860C when reading the manual...)
 
Colleagues, does anyone know what key combination turns on/off the "street mode"(speed and power limits) on the SW102 display? I mean kinda "hot-key")
Hold POWER and DOWN buttons for 2 seconds.
The line surrounding the upper part of the display will disappear when you are in offroad mode.
Note that you have to enable the hotkeys function in the menu.
 
My experience is that it is not possible to fit 56 pcs of 18650 cells (14S4P) and a small BMS in a normal-sized Hailong case. 14S might mean a noticeably bulkier battery pack, and not a "small case". 13S4P has worked just fine for me, charged up to 53.3. I guess by Tongsheng motors do not allow programming you mean only TSDZ2B with the XMC1300 processor, and not TSDZ8 with XMC1302 - which I haven't tested myself but I’ve seen there’s an open-source firmware project available.
Yes, the 14S5P 52 V fits into bigger Hailong G80 18650 battery box or custom pack.
 
Back
Top