Some Jlink devices are delivered with an external board (pcb) that contains several connectors. When you have such a board, the XH-6Y connector can directly fit in one of the board connector.I’m starting to make cables for J-link while waiting it to come. I’m little confused.
I think Segger j-link has 20 pins. In diagram picture from doc folder is only six visible. Which pins I should connect wires. Pinnout is from Segger web page.
J-Link Interface Description
View attachment 366097View attachment 366098
OSF (at least the version that I reused) has currently more that 100 parameters that can be choosen by the user.
Most of them can only be defined within the Java configurator. The configurator generates a file with is used during the compilation step to provide the final firmware. It means that the code implemented in the controller is more or less complex depending on the values filled in the configurator. It is then not possible for the display to activate those function.s that are not in the generated code.
With the display, the user can only activate a few options (like select the assist mode between Power, Torque, Cadence, eMTB,... or the way the lights are working).
E.g. in the configurator you can define the % of assistance in ECO, TOUR, SPORT and TURBO for several assist mode (POWER, TORQUE, CADENCE, ...). With the display you can not changes those % but you can select the assist mode (POWER, TORQUE, ...) that you want.
You have wrong diagram, use thisI’m starting to make cables for J-link while waiting it to come. I’m little confused.
I think Segger j-link has 20 pins. In diagram picture from doc folder is only six visible. Which pins I should connect wires. Pinnout is from Segger web page.
J-Link Interface Description
View attachment 366097View attachment 366098
I only tried it on my windows 10 PC with Chrome and it works. Perhaps it requires that you are the owner of the google sheet document.The button does not perform very special things. It is just a macro that moves to the sheet HEX and select the green cells. Did you try to copy my google doc in you own google drive (to become the owner). It this still doe snot work you can just do the selection and copy of the cells manually.Does this sheet work on Microsoft excel? I have tried with couple of browsers and blue button on advanced is not working.
![]()
TSDZ8 config settings
docs.google.com
View attachment 366240
Each hex file contains the adress (and the data) where the data have to be written in flash memory.hey mstrens. first off thank you for your work on this osf. i'm very excited to try it. i have a question,
when you say to flash the configurations .hex file created with the xlsx doc, are we to flash first the tsdz8 .hex file from github, and in a separate action flash the configurations.hex afterword? or should i somehow be flashing both files to the tsdz8 in one go?
awesome! i noticed today riding home from work the tsdz8 has about 1.5 seconds of lag when you hit the trottle to it actually applying any power... is there any way of changing it so there is less lag in the control system when using the trottle?Each hex file contains the adress (and the data) where the data have to be written in flash memory.
You have to do flash separately the 2 hex files.
The first time you can do it in any order (firmware first of config first).
Afterwards, if you only change the config, you do not have to reflash the firmware.
Also, if I make a new version of the firmware (that do not use new config parameters), you do not have to reflash the config.
Still, rarely, it can be that I made some changes (in the firmware and in the config XLS) that requires that both are re-flash.
That is why there is a "main" version number in the config file. The firmware checks it for compatibility and in case of error gives an error E09 on the display. So, if you get this error, then you have to reflash probably both to be sure with the latest files from github.
Note: it could be that some displays does not use E09 but blinking E08 (not 100% sure, I should check the code).
TSDZ8 firmware re-use mainly the code from TSDZ2.awesome! i noticed today riding home from work the tsdz8 has about 1.5 seconds of lag when you hit the trottle to it actually applying any power... is there any way of changing it so there is less lag in the control system when using the trottle?
After many hours of work and many trials and errors, I finally found the solution. I feel a bit stupid.I only tried it on my windows 10 PC with Chrome and it works. Perhaps it requires that you are the owner of the google sheet document.The button does not perform very special things. It is just a macro that moves to the sheet HEX and select the green cells. Did you try to copy my google doc in you own google drive (to become the owner). It this still doe snot work you can just do the selection and copy of the cells manually.
I do not have XLS microsoft on my PC so I can't test this.
i havent yet flashed mine to the motor however my line 82 is this :02F0A00002006CHi, first i want to thanks MstrensI also tried it, after the first tests, the support works and throttle works as well, it works on xh18, ekd01, vlcd5, I managed to upload the main hex file, but I have a problem with line 82 in the hex sheet, the Ref# error appears, and then it is impossible to upload the personalized hex file to tsdz8. The error appears to be in the original hex spreadsheet. Do you also have such a problem?? Alternatively, what is the value on line 82 of the hex sheet?
Ok thanks, I have it even in original mstrens xlxs file, and also after changing values in yellow chambers.i havent yet flashed mine to the motor however my line 82 is this :02F0A00002006C
where is this ref# error appearing? on the display of the bike? or in the jflash program?
I had some problems but I've found solutions and even in last version working fine, if you can check line 82 in hex file, there was fail. It seems to be great project. Once more thanksImportant note :
I am currently preparing a new version that would not use the XLS sheet but directly the TSDZ2 configurator.
To prepare this, I made (yesterday and this morning) some changes to the XLS.
I forgot to change immediately the version nr in XLS in order to let the firmware automatically detects the incompatibility.
I did it now.
Currently I have not yet updated the TSDZ8 OSF firmware on github. I still must do some changes and tests.
So currently, if you download the latest version on github and google drive, it wil not work.
I hope having the new version using the configurator this evening.
I fixed now the issue with line 82 but be very carreful because I moved some fields to another position. When using the HEX file the firmware can't detect it and so some parameters are totally wrong (shifted)!!I had some problems but I've found solutions and even in last version working fine, if you can check line 82 in hex file, there was fail. It seems to be great project. Once more thanks
Very big thanks to @mstrens developing OSF to TSDZ8.Important note :
I am currently preparing a new version that would not use the XLS sheet but directly the TSDZ2 configurator.
To prepare this, I made (yesterday and this morning) some changes to the XLS.
I forgot to change immediately the version nr in XLS in order to let the firmware automatically detects the incompatibility.
I did it now.
Currently I have not yet updated the TSDZ8 OSF firmware on github. I still must do some changes and tests.
So currently, if you download the latest version on github and google drive, it wil not work.
I hope having the new version using the configurator this evening.
me too, just noticed this thread. Now following.. I use the 860C display currently btwI'm very excited about the firmware project! I hope that other displays will also be compatible with it (I currently use the EKD01).
What solution did you find for line 82? I planned on flashing mine today but don't want to if there is an errorOk I find solution with 82 line in hex file, after first tests osf by Mstrens(thanks again) working fine in my tsdz8 with xh18, on the same hex file its working also with ekd01 (but with some fails). Now tsdz8 working as stronger tsdz2 osf. Respect Mstrens![]()