TSDZ2 stock firmware DATA MEMORY

sv1che

1 µW
Joined
Feb 14, 2022
Messages
3
What kind of data are stored in data memory and what happens if there are lost?
I have only a program memory backup , so i am not sure if the restore procedure is reliable and fully functional.
Same question for option byte....
 
sv1che said:
What kind of data are stored in data memory and what happens if there are lost?
I have only a program memory backup , so i am not sure if the restore procedure is reliable and fully functional.
Same question for option byte....
I'm a little surprised that you're asking some questions here and there about tsdz2 stock firmware, without mentioning the issues you have and want to fix. (this is the troubleshooting section :wink:)

imho it does not matter which version is installed on the controller with regard to the operation of the tsdz2.
A newer version will therefore not solve the problems you may have.
As you understood stock FW is on three files
Optionbyte - used to assign I/O ports
Program memory - controls the motor depending on the sensor input
Data memory - contains its basic settings and changes made by the program in program memory

If the option byte is missing, there is no assign of I/O ports.
if data memory is missing, there are no basic settings, so there is a change that tsdz2 doesn't run.

There is a good change you can combine your program memory backup with the "google" files
 
Elinx, thanks for your interest.
Your surprise may be reasonable. Let me explain:
As I said, I have only a program memory backup from my stock firmware. The need is to revert to stock (tsdz2 36v, no throttle, no coaster, VLCD-5 v3.6) after trying emmebrusa firmware. I used the "google" files https://drive.google.com/drive/folders/1eGcBtTj8GrGQ4tDJAECr6ejMrpW2ZqvH
without success. The power on error was ERR-04 (Throttle failure). So last chance is using My program memory backup and (data memory , optionbyte both from "google"). This mix and match seems to work, but I am not sure if this is the right firmware as it should be. There is a slight deference on battery level indication behavior. Even the battery is fully charged, in some cases, not very often, the rightmost bar blinks when pedaling .This never happened on stock firmware. So, I don’t want surprises in the middle of a ride or damages, that’s why I am trying to find a recent good working set of stock firmware files, or at least info about the data memory and option byte. The motor is very new; the purchase was a few days ago.
I am aware about eco cycles article https://www.eco-ebike.com/blogs/eco-cycles-instructionals/tsdz2programmingfromscratch
The data memory file I used from "google" seems to be not exactly compliant with this.
This is the story in details and that’s why I post it in troubleshooting section
 
sv1che said:
..... So, I don’t want surprises in the middle of a ride or damages, that’s why I am trying to find a recent good working set of stock firmware files, or at least info about the data memory and option byte. ....
I only was on stock FW for a very short time before I went to OSF.
Never checked the version of it and never restored back again for driving, only for testing the files, before flashing OSF.
I have several backup files from me, other and google.
Inside data memory there are only 3 different bytes (first two and seventh). Everything else is zero
I can't imagine these bytes are responsable for the battery level, because imho the program need to measure this Voltage level.
 
Back
Top