I just upgraded the firmware to 5.3 (I was on really old firmware, around 4.11 I think). I also installed odrive tool (which is awesome). Before that I did everything with the arduino, which was a bit of a mistake i guess.
Anyway, using odrivetool i was abe to set the torque_constant. I will try and make some improvements to my arduino program to check if it can now write to it as well.
So just a small update: this morning I tried to calibrate the motor with the arduino and now that part at least worked, even though I did not make any hardware or software changes this morning… (For some reason last night nothing was working…)
This was the reason I wanted to upgrade to 0.5.4, because of the explanation above that there are bugs in 0.5.3 which might lead to some communication errors…
I still seem to have problems with for example trying to change the odrive control mode via arduino commands… So I still suspect some things are going wrong.
What I will do is I will upgrade my arduino to a mega, so I can stop using software serial and have a more robust connection.
In the meantime, any advice on how to upgrade to 0.5.4 is still welcome, because I suspect this will be needed as well…
thanks all
edit: I did some more testing,
installed fw 0.5.1 and odrv0.fw_version_revision returns 1
installed fw 0.5.2 and odrv0.fw_version_revision returns 1 again
installed fw 0.5.3 and odrv0.fw_version_revision returns 3
installed fw 0.5.4 and odrv0.fw_version_revision returns 3 again
installed fw 0.4.12 and odrv0.fw_version_revision returns 0 ?
installed fw 0.4.11 and odrv0.fw_version_revision returns 11
In other words, I will assume that this revision value could be incorrect… I think the installation of 0.5.4 went well and I am on the correct firmware