TSDZ2 OPENSOURCE FIRMWARE | PART 3

Поділитися
Вставка
  • Опубліковано 12 вер 2024
  • PART 3 - Reading the TSDZ2 Motor Firmware
    If you haven't seen Part 1 or Part 2 then choose the links below, otherwise welcome back.
    This video guide will take you through how to make up a cable to connect to the motor which will allow you to read and backup your existing firmware.
    Flashing of the motor is done via the motor side of the speed sensor connection. You need to buy another speed sensor cable or a 6 pin extension cable if you can find one so you can cut off the male plug to wire to the st-link flashing tool.
    I was sent the Y-splitter version of this cable from PSWPOWER.com because they were out of stock however this only contains 3 wires which do not match the colours in the documentation. I had to hack off the back of the connector and solder on my own wires. Although it was painful I was also able to use the female socket from the extension cable to wire up the KT-LCD3 later on.
    Link to TSDZ2 Opensource Wiki and Firmware
    github.com/Ope...
    Pinouts for programming cable
    github.com/hur...
    Link to Part 1 Video - Introduction & What you will need
    • TSDZ2 OPENSOURCE FIRMW...
    Link to Part 2 Video - Flashing KT-LCD3 Display
    • TSDZ2 OPENSOURCE FIRMW...
    Link to Endless Sphere discussion
    endless-sphere...
    Link to Facebook Discussion - The Best Ebike
    / 193581737807033
    Link to Casainho's youtube
    / casainho
    Please subscribe and stay tuned for Part 4 Installing the KT-LCD3 and the Opensource firmware

КОМЕНТАРІ • 25

  • @BartTech
    @BartTech 4 роки тому +2

    Yesterday i flashed the TSDZ2 motor, had some minor issues:
    1st: My cable was to long, shorted to 10 cm
    2nd: First connected to 5v, but this failed, 3.3v did the job
    3rd: There are 2 pinout versions of the ST-link v2, the SWIM and ground pin are switched! look on your own ST-link v2, to double check.

    • @jbalatutube
      @jbalatutube  4 роки тому

      Seems a few people are having issues, thanks for sharing some good tips !

    • @gomyles2164
      @gomyles2164 4 роки тому +1

      YES! THIS WORKED FOR ME! THANK YOU SO SO MUCH!!!!

    • @beauheath4863
      @beauheath4863 3 роки тому

      Thank god I stumbled on this post 3.3V solved it for me! Legend.

    • @salcedo98
      @salcedo98 3 роки тому

      this also worked for me, well to read the firmware at least, I'll get around to flashing it eventually

    • @veryveryintense
      @veryveryintense Рік тому

      Honestly you are a legend for posting this comment Bart. i couldn't for the life of me work out why the cable I built wouldn't let me flash my custom firmware. It was the old 3.3v problem. In the ST link flashing tool I had errors constantly all evening trying to do mine on 5v despite everywhere saying that was the correct voltage!

  • @primozcorpse
    @primozcorpse 5 років тому +1

    Hello
    Thanks for all the videos.
    Let's say you just want to increase the cadence limit...is it enough just to flash the motor and not use the kt-lcd3.
    Thank you

  • @armandval6914
    @armandval6914 Рік тому

    Hy, sorry, but how do you turn the three cables (only) of the speed sensor into four (needed for the usb connection) ?? like a magic or smtg, Tadaaam, and they connect?

  • @simonB143
    @simonB143 5 років тому

    hi great videos
    i have 1 question. you made a point of downloading the raw data file you put it in downloads and then didnt seem to use it. is this file needed? thanks

  • @lijuvaidhyan6477
    @lijuvaidhyan6477 4 роки тому +1

    Dose this firmware works with other tongsheng motors like tsdz3

    • @jbalatutube
      @jbalatutube  4 роки тому

      The tsdz3 has never been mentioned since you need a special frame to use it. I honestly don't know but I would say there is a good chance it would work

  • @georgemason1829
    @georgemason1829 2 роки тому

    Hi, these videos were super helpful and really got me on the path of the TSDZ2 open source firmware. I managed to cook a motor (towing my daughter uphill and at speed, my bad!) and so replaced it, and this time around for some reason I had to use the 3.3v output on the ST Link adapter, and also the hardware model needed to be STM8S105x6 as mentioned in this video ua-cam.com/video/S2SRKu6-Qyw/v-deo.html - pretty sure I followed @jbalatube's instructions to the letter first time around so no idea why this one is different. Anyway thanks again and keep up the good work!

    • @jbalatutube
      @jbalatutube  2 роки тому

      Glad you got it working yes I heard some like 3.3v better

  • @squatseveryday
    @squatseveryday 3 роки тому

    Am I able to send you my motor for a firmware flash? Happy to throw some beer money your way :-). I'm stuck and would love to get this going for my partner. Thanks!

    • @jbalatutube
      @jbalatutube  3 роки тому

      You are better off sorting this out with the help of the guys on the endless sphere group or post on our Facebook group the best ebike and I can help you there

    • @squatseveryday
      @squatseveryday 3 роки тому

      @@jbalatutube Thanks mate, what's the FB group?

  • @squatseveryday
    @squatseveryday 5 років тому

    I was able to program the lcd but the motor won’t connect in ST Link regardless of what troubleshooting steps I take.
    I’m located in Australia, is it possible to send it to you to have a go at uploading the software?
    Thanks

    • @jbalatutube
      @jbalatutube  5 років тому

      Try using the 3.3v instead of 5v on the stlink also try a short cable like mine.

    • @d3rsch0rsch
      @d3rsch0rsch 4 роки тому

      Did your figured out the problem in the meantime? Because i got the same. No connection, and i tried troubleshoot A LOT!
      Flashing the display was an easy breeze.
      Greetings from germany.

    • @d3rsch0rsch
      @d3rsch0rsch 4 роки тому

      Also, all the how-tos state, that i have to use STM8S105x6 instead of the x4
      I tried both, with 3 different ST Links - no connection.
      I also checked all the cabeling, everything is fine -.-

    • @squatseveryday
      @squatseveryday 4 роки тому

      @@jbalatutube Hey there, trying to restart my project again since my bike with a BBSHD got stolen : - (
      Is there a chance I could send you the kit to have a look at the firmware? Happy to pay for labour.
      Thanks mate

    • @jbalatutube
      @jbalatutube  4 роки тому

      @@squatseveryday so you still havent managed to flash it ?