Slowly increase the value of Pedal torque ADC offset (no weight) until the Err2 message disappears. Sometimes it is enough to turn the pedals to another position and the Err2 message disappears, because this value changes depending on the rotation of the pedals. For example, like this in my case:
View attachment 371512
I think I've got the mechanics figured out as far as creating the configuration and using the JFlash to flash the configurations now. Getting a lot of practice, with the trial and error tweaking the offset. However, I've increased it incrementally up to the max allowed and the error still persists.
I expect that when using EKD01, you can't display the ADC torque offset (no weight). I would have to as mbrusa to find a way to display on EKD01.
When you do not get access to ADC torque values, the first point would be to check that you controller is still OK.
One easy way to do it is to upload the original firmware (or one of the 2 versions avalable on facebook).
If the motor runs with the original firmware, the controller is still OK. If not, it could be that one component that drive the torque sensor is damage. This can occurs when the controller is powered simultaneously by the battery AND by the J_Link (via the PC).
When torque driver is damaged, the ADC values provided by the torque sensor are very low (much less than 100).
OSF gives the err2 (on EKD01) when the value returned by torque sensor is out of range during the first 3 sec after a power on. During those 3 sec you have to avoid pressing on the pedal. To avoid Err2, the torque sensor must provide a value that is:
- greater than the offset your specify in javaconfigurator minus 60
- lower than the offset your specify in javaconfigurator.
Usually for TSDZ8 the ADC torque offset (no load) is between 150 and 200.
As EKD01 does not display the ADC torque value (I think) , you have to use another way to find it.
You can
- try with another display (like VLCD5)
- use ucprobe: This is a program that allows to display all internal data in the microprocessor. Still to use it without damaging the controller, you have to take care that your Jlink does not provide power to the controller. The controller must be powered ONLY by the battery. I can explain further how to use ucprobe if you want.