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

The 860C Bafang uart display has a 5-pin Bafang connector.
Then you need a DIY adapter cable, Bafang 5 pin M to Tonsheng 6 pin M.
Or an alternative is this:
Écran Expert 860C avec Open Source Firmware pour kit de conversion de vélo électrique - Syklo.fr
it should already have the 6-pin connection cable, ask for confirmation anyway.
I bought the same 860C as The_Ball and will solder it on my own. As the pcb from my 850C is still working, does someone know where one can buy displays? It is the ILI9481 driver, right?

 
....
You may have wondered why the standard display version is stuck at .2.
Because when I made someone try versions 3, 4, 5, it was a massacre of controllers, yet it never happened on my bikes.
Now I think I have identified the cause, so "incrociamo le dita". In German perhaps they say “Ich drücke dir die Daumen”?

It wasn't a problem with the settings or the way of use, I think the cause was the undefined Irq uart priority level.
I'm 100% sure, but confirmation will only come when many people try...
:bigthumb:
Congratulations on finally finding the likely cause after all this time.
I hope that the Java version can finally reach the same level as the 860C version without fear of a burned controller. 🔥

The main question is:
Does correct handling of this Irq solves the ghost pedaling, unexpected error E05 too, or only prevent a burning controller?
 
Last edited:
Hello, I am looking to buy my first TSDZ2B (actually my first ebike kit ever). I am reading up on OSF, and I am not sure if I will be able to flash this on a new motor? Something about whether I get V1 or V2 controller? Is there any way I can know which controller motor is using, before ordering it?

Thanks for any help :)
 
.... whether I get V1 or V2 controller? Is there any way I can know which controller motor is using, before ordering it?
Unfortunately, no.
The seller doesn't know about it either.

PSW always sold the old version, but now that is no longer so certain, but still the best chance.
Enerprof always sells the new version.

If PSW has integrated the new version not flashable too, you can consider to buy a separate controller and replace it.
 
Help!

TSDZ2 does not shutdown after pressing the ON/OFF button.

The word "OFF" stays on the screen, and so now the only way to turn it off completely is to switch off or disconnect the battery. And then when the battery is reconnected, the display turns on immediately. Everything else is working fine so far.

The motor was working fine after flashing several versions of this firmware, but after flashing a version with the "Set parameters on Startup" and testing, that's when the problem began.

Using VLCD5 8 Pin

I have restored factory firmware and the problem persists and have also re-flashed this firmware and no change. The motor does work tough.

I don't see any damage to the cables that would hint a short.

Would the problem be the VLCD5?

Thanks in advance for the help.
Witaj Five01,
mam ten sam problem z moim VLCD5.
Tak jak Ty zazwyczaj odłączam akumulator przed flashowaniem.

Co zrobiłeś, aby to rozwiązać?
Help!

TSDZ2 does not shutdown after pressing the ON/OFF button.

The word "OFF" stays on the screen, and so now the only way to turn it off completely is to switch off or disconnect the battery. And then when the battery is reconnected, the display turns on immediately. Everything else is working fine so far.

The motor was working fine after flashing several versions of this firmware, but after flashing a version with the "Set parameters on Startup" and testing, that's when the problem began.

Using VLCD5 8 Pin

I have restored factory firmware and the problem persists and have also re-flashed this firmware and no change. The motor does work tough.

I don't see any damage to the cables that would hint a short.

Would the problem be the VLCD5?

Thanks in advance for the help.
Hello Five01,
I got same issue with my VLCD5.
As you I usually disconnect the battery before flashing.

What did you do to resolve it ?
 
Hello Five01,
I got same issue with my VLCD5.
As you I usually disconnect the battery before flashing.

What did you do to resolve it ?
Or somebody could help us to fix it ?
Should I flash VLCD5 screen ? but how and with what firmware ?

Thank you in advance for your answers.
I got same issue with my VLCD5
 
´Buy a 860C. 67 Euros to Germany, all incl. I had a VLCD5 in spare. It works, kind of... No temp of the motor, no graphs of speed etc. Really terrible against the coloured screens. And the soft of the 850/860 is newer. But it seems that Mbrusa found a solutuion for the last point. Which is brilliant. But the coloured are so much better.
 
I have just under 400 miles on my TSDZ2 conversion and it's been running great so far. Today I noticed a minor problem with the speed display. It's stuck in MXS (max speed) mode & will not display current wheel speed even if I select it in the menu. What happened and how do I get it back?

I am running Release Open source firmware TSDZ2-v20.1C.4-LCD3 update 3 · emmebrusa/TSDZ2-Smart-EBike-LCD3

Problem solved. My fault. I inadvertently changed the wheel speed to "peak" in group 7 of the odometer field.
 
2 months after the release of the beta version v20.1C.5-beta-1-860C, no problems have been found, it is therefore confirmed as v20.1C.5-860C, without changes.

The time has come to release the new beta version for stock displays:
Release Open source firmware TSDZ2-v20.1C.6-beta-0 VLCD5-VLCD6-XH18 · emmebrusa/TSDZ2-Smart-EBike-1
I tested well before the release, but it remains a beta version, meaning there may be potential risks of malfunctions.
I ask anyone who encounters problems to report them on this forum.
 
Backup found.
Added the change to the latest version.
Here are the files to replace, I hope it works.
View attachment 323618
The Tongsheng protocol provides 5 levels, only 4 are used in the stock displays, the fifth unused is between 0-OFF and 1-ECO.
Therefore the configurator levels from 1 to 4, on the display will be from 2 to 5. The assistance at level 1 on the display is 70% (configurable in main.h) of the ECO levels of the configurator.
Hi sorry this is an old thread but there was some discussion about using the DZ41 display here, with 5 levels. Then the conversation went on to something else and I don't think anybody confirmed that this actually worked? So just wanted to check if this has been confirmed working as I will be trying to install OSF with a DZ41 (which is already working fine with stock firmware). Also the files to replace are given here but there are 3 versions of the OSF depending on which display you're using? As DZ41 is not listed which version would you start with before replacing the files? Thank you.
 
The DZ41 display should work by setting VLCD5 in the configurator.
If there are 5 assistance levels on the display, OSF adapts automatically.
If the battery bars are 5, set these values:
Cell voltage 5/6 = 3.90
Cell voltage 4/6 = 3.90
Cell voltage 3/6 = 3.70
Cell voltage 2/6 = 3.50
Cell voltage 1/6 = 3.30

Before flashing, save the stock firmware files (3).
 
I have checked the wiring of my bootloader again. Rx goes to Tx, Tx to Rx based on the labeling of the usb-uart modul and the attached scheme of the display (with mirroring due to the female part of the cable). The display turns in with the usb-uart plugged in with 29v voltage, so that part seems okay as well. Also I can open the port and with that a red led turns in on the usb-uart, but after that when I push upload firmware, there is just waiting waiting and nothing happens when I push buttons on the controller.

What can be wrong?
Hi Coolby ,all

I had exactly the same behaviour , It appear to be that the CP210 is not the best USB to UART bridge ( or, at least not all of them..). I've poked in my stuff and found an old PL2303 ..Worked like a charm !! Beware at the drivers for this ...
 
....The time has come to release the new beta version for stock displays:
Release Open source firmware TSDZ2-v20.1C.6-beta-0 VLCD5-VLCD6-XH18 · emmebrusa/TSDZ2-Smart-EBike-1
I tested well before the release, but it remains a beta version, meaning there may be potential risks of malfunctions.
I ask anyone who encounters problems to report them on this forum.
Thank you, @mbrusa !
After about 150km I can confirm that this f/w works flawless!
There is a noticeable improvement in motor-'smoothness':
While prior the update my motor made a turbine like whining noise, this is gone with this new f/w.
(It sounds now exactly as when I use mspider65 setup on this bike).
Also, the new java tool is very intuitive.
-> Thank you so much for 'not forgetting' us - the user group with stock displays!
 
I am new to this forum so please excuse me if I am posting this issue in the wrong place. I have a TDSZ2B 860C v20.1C.4 (from eco cycles as is) and it recently started displaying error 1 motor not initialising.

The TDSZ2B boots up OK and operates well for the first 30 seconds or so, then support goes to zero and the error code "e: 1 Motor not init" appears. No more support thereafter until reboot.

Connectors to display and speed sensor seem fine. No water ingress. Speed sensor works 100%. Battery connection seems fine.
I have not been able to find any commentary on error 1 for the TDSZ2 online. Does anyone have any ideas or links for this problem? Thanks.
 
- Error codes
Error codes and description:
E01 – MOTOR_NOT_INIT
Communication problem, the display receives data from the motor controller, but the controller does not
receive it from the display. Check the wiring.

From the manual, so perhaps a loose wire or loose connector between display and motor check the two data wire connectors and clean the connectors.
I believe that some people have a cleaner on the connector pins and sockets and had success, I wonder if you could have a broken wire or a dry joint
 
Last edited:
´Buy a 860C. 67 Euros to Germany, all incl. I had a VLCD5 in spare. It works, kind of... No temp of the motor, no graphs of speed etc. Really terrible against the coloured screens. And the soft of the 850/860 is newer. But it seems that Mbrusa found a solutuion for the last point. Which is brilliant. But the coloured are so much better.
I´m Looking for an P860C forth the TSDZ2 but can´t find any. Where did you find those?
 
I am new to this forum so please excuse me if I am posting this issue in the wrong place. I have a TDSZ2B 860C v20.1C.4 (from eco cycles as is) and it recently started displaying error 1 motor not initialising.

The TDSZ2B boots up OK and operates well for the first 30 seconds or so, then support goes to zero and the error code "e: 1 Motor not init" appears. No more support thereafter until reboot.

Connectors to display and speed sensor seem fine. No water ingress. Speed sensor works 100%. Battery connection seems fine.
I have not been able to find any commentary on error 1 for the TDSZ2 online. Does anyone have any ideas or links for this problem? Thanks.
UPDATE: mbrusa points out below the original Tongsheng error codes don't apply to OSF, so this German thread is not relevant.
------
I found this forum discussion on E01 in German language. A vendor reached out to Tongsheng and they replied it is an error related to overheating the controller. Another user commented they had the same problem as me, E01 soon after turning on before any chance of overheating. Therefore they suspected overheating due to a defective MOSFET in the controller, or...temperature sensor is defective.


Notwithstanding this, I guess it could still be a continuity issue with connectors?
 
Last edited:
onetaste, this is the great thing about these forums in that we can pool our knowledge to help each other.
 
Using the lastest Beat with a Stock 850C Display. While the Firmware seems to work fine on the Drive Unit it seems there is no useful date shown on the Display at all. Also there is no speed shown while pedaling along.

Did I miss something in the configuration?
 
Back
Top