Wimpy747 said:Hello Guys, I have the tsdz2 motor for more than one year now but was a bit disappointed in the software causing very strange behaviour sometimes. That's why I started searching and found the forum, in the meantime I have already flashed the latest firmware 20 beta1a with the vlcd5 display and was impressed how much smoother the motor performs.
However even after reading the 5 page manual for changing settings I am not able to change settings on the display, sorry but just don't fully understand how to.
I had first flashed it as streetmode at startup, but not able to get it into offroad, so always stuck in max speed of 25kmh.
I now have it flashed to start in offroad but rather would like street as default en change the mode with the display.
But in streetmode as I have the display in eco and press the light swith I see E02 flashing but the speed limit is not removed.
I know it's annoying for you as experts that I can't get this to work, but can someone point me in a direction of what I am doing wrong?
Furthermore thank you very much for all the effort you guys put in this firmware.
That is the correct setting if you want to switch between "street mode" or "offroad mode" in only one step.emr said:..., but only after setting the 'ENABLE_SET_PARAMETER_ON_STARTUP' to 1 in the 'Advanced settings' when flashing the controller.....
mbrusa said:Already in version 20 beta 1 for LCD3, buba had eliminated the boost function.
It can be replaced with the "motor acceleration" parameter. Increase very carefully!
Another possibility to have the push at the start is to enable "assist without pedal rotation".
What version of firmware are you using?
Motor? Battery? Display?
With the 20 beta 1, I have always used "assist without pedal rotation" enabled and without brake sensors.geekmystique said:...
I might consider trying "assist without pedal rotation" - however can this even be enabled without brake sensor installed? (yes also the rider needs to be very careful with this). Maybe if i tune it with a low value that it is still relatively safe.
mbrusa said:You need to set ASSISTANCE_WITHOUT_PEDAL_ROTATION_THRESHOLD to 30 max and go safe.
Thats what I thought but does E02 have to steady or flashing at this point?emr said:Wimpy747 said:Hello Guys, I have the tsdz2 motor for more than one year now but was a bit disappointed in the software causing very strange behaviour sometimes. That's why I started searching and found the forum, in the meantime I have already flashed the latest firmware 20 beta1a with the vlcd5 display and was impressed how much smoother the motor performs.
However even after reading the 5 page manual for changing settings I am not able to change settings on the display, sorry but just don't fully understand how to.
I had first flashed it as streetmode at startup, but not able to get it into offroad, so always stuck in max speed of 25kmh.
I now have it flashed to start in offroad but rather would like street as default en change the mode with the display.
But in streetmode as I have the display in eco and press the light swith I see E02 flashing but the speed limit is not removed.
I know it's annoying for you as experts that I can't get this to work, but can someone point me in a direction of what I am doing wrong?
Furthermore thank you very much for all the effort you guys put in this firmware.
I have found that this can be accomplished when in ECO mode by pressing the 'Lights' button once to enter E02, and then pressing the 'Lights' button again, but only after setting the 'ENABLE_SET_PARAMETER_ON_STARTUP' to 1 in the 'Advanced settings' when flashing the controller.
Please someone else chime in if my advice is not correct.
Wimpy747 said:Thats what I thought but does E02 have to steady or flashing at this point?emr said:Wimpy747 said:Hello Guys, I have the tsdz2 motor for more than one year now but was a bit disappointed in the software causing very strange behaviour sometimes. That's why I started searching and found the forum, in the meantime I have already flashed the latest firmware 20 beta1a with the vlcd5 display and was impressed how much smoother the motor performs.
However even after reading the 5 page manual for changing settings I am not able to change settings on the display, sorry but just don't fully understand how to.
I had first flashed it as streetmode at startup, but not able to get it into offroad, so always stuck in max speed of 25kmh.
I now have it flashed to start in offroad but rather would like street as default en change the mode with the display.
But in streetmode as I have the display in eco and press the light swith I see E02 flashing but the speed limit is not removed.
I know it's annoying for you as experts that I can't get this to work, but can someone point me in a direction of what I am doing wrong?
Furthermore thank you very much for all the effort you guys put in this firmware.
I have found that this can be accomplished when in ECO mode by pressing the 'Lights' button once to enter E02, and then pressing the 'Lights' button again, but only after setting the 'ENABLE_SET_PARAMETER_ON_STARTUP' to 1 in the 'Advanced settings' when flashing the controller.
Please someone else chime in if my advice is not correct.
If I push again the display switches to E03..
Elinx said:That is the correct setting if you want to switch between "street mode" or "offroad mode" in only one step.emr said:..., but only after setting the 'ENABLE_SET_PARAMETER_ON_STARTUP' to 1 in the 'Advanced settings' when flashing the controller.....
It is possible to choose this "set parameter" setting (or "display data" setting) also in Off level (0) too.
After that you can choose in Eco level (1) "street mode" or "offroad mode". In that case you need two steps.
Andrew707 said:Yesterday I flashed my 36V motor with 48V stock firmware and it worked well.
Today I want to try out OS firmware with VLCD5 display. I read the wiki and skimmed through the manuals. However, I didn't understand how to flash the controller. After running JavaConfigurator and pressing "Compile & Flash" will it automatically flash the controller if it's connected? Or it'll just update required files with the right config and I'll have to run ST Visual Programmer to load and write files from releases/20.1 folder?
Yes, I read it like 10 times. In general, this is a very good description, but it doesn't explain well what happens in step 7. Does it actually flash everything necessary (program, data, option memory) for you or you have to do it yourself manually and then step 7 just apply custom config to your already flashed controller?gomyles said:Did you see this Andrew ? https://github.com/stancecoke/TSDZ2-Smart-EBike/wiki
Really explains well how to do it. Just follow it step by step.
Till here you did goodAndrew707 said:Yes, I read it like 10 times. In general, this is a very good description, but it doesn't explain well what happens in step 7. Does it actually flash everything necessary (program, data, option memory) for you or you have to do it yourself manually and then step 7 just apply custom config to your already flashed controller?gomyles said:Did you see this Andrew ? https://github.com/stancecoke/TSDZ2-Smart-EBike/wiki .............
Here's what I've tried so far:
- Connected everything as explained in main wiki page.
You must not download a hex file, but the master code of stancecoke github chamnnel and then follow the guide.gomyles said:- Then downloaded the firmware hex file from here and flashed program memory tab (this step was in main wiki page too). ........
Thanks, so now I understood what I did wrong. First thing was manually flashing memory before running JavaConfigurator. Second thing was that I was using my work windows laptop and it has some restrictions which prevents running scripts from .bat files so that's why JavaConfigurator was failing to compile the code and invoke program_20.bat.Elinx said:You must not download a hex file, but the master code of stancecoke github chamnnel and then follow the guide.
With step 7
If you have connected the STlink V2 to the Tsdz2, the code will be compiled and flashed (program, data, option memory)
But there are some conditions that the bat file needed otherwise you must change something inside.
The programs SDCC and ST link must be in the root directory ( C:\SDCC\ and C:\STMicroelectronics\ ) of a Windows PC.
Because you run a VM inside a Mac, I don't know if the paths to these installed programs are right.
Andrew707 said:Thanks, so now I understood what I did wrong. First thing was manually flashing memory before running JavaConfigurator. Second thing was that I was using my work windows laptop and it has some restrictions which prevents running scripts from .bat files so that's why JavaConfigurator was failing to compile the code and invoke program_20.bat.Elinx said:You must not download a hex file, but the master code of stancecoke github chamnnel and then follow the guide.
With step 7
If you have connected the STlink V2 to the Tsdz2, the code will be compiled and flashed (program, data, option memory)
But there are some conditions that the bat file needed otherwise you must change something inside.
The programs SDCC and ST link must be in the root directory ( C:\SDCC\ and C:\STMicroelectronics\ ) of a Windows PC.
Because you run a VM inside a Mac, I don't know if the paths to these installed programs are right.
On my Windows VM on a MAC everything worked well since this VM is just a fresh windows with no restrictions.
Thank you! :thumb:mbrusa said:I posted the new version on GitHub
Hi stancecokestancecoke said:Thank you! :thumb:mbrusa said:I posted the new version on GitHub
Unfortunately, you did not use the github fork function, so the link to the original project of casainho was lost.
Please, can you copy the wiki of my repo to yours, then I can delete my repo.
regards
stancecoke