i’ve got a little project where i need to take a PLC and talk to an odrive…
now the odrive is playing up a bit… and i’m going around in circles…
when my Odrive arrived i plugged it in … did all the anaconda stuff did a few command line bits and bobs… saw the motor spinning… and ticked it off as working but felt it was a bit long winded…
fast forward to more recent times where i needed too a bit of positional work on a oddball machine i’m working on … so my first idea was talk to the odrive directly… tried that… seems puking out ascii from the PLC didn’t seem to be an option…
so next idea… bang an arduino in the mix… yell Modbus down the ethernet from the PLC and get the arduino to do the talking… (not pretty but it aint stupid if it works as someone once said)
so off we go… i get all the bits together… arduino mega… ethernet gubbins… wires… and being a bit of a wally… i start simple… let get a demo sketch on the mega. and lets see the odrive doing something…
and so far… i’ve not really got further than that… and i’ve tried… so i’m using a demo sketch… it all compiles… i’ve got all the libraries… ive put my logic doofer on the pins and i can see data… and every now and again when the wind is blowing in the right direction it’ll allow me to hit zero in the serial terminal, and it’ll do what looks like a calibration… so i’m thinking the wiring cant be very wrong…
so then i was wondering if i had managed to re configure the settings when i first played with it… so i looked for a reset option… and well then it dawned on me… is the firmware uptodate…
so i got it plugged into the computer it had worked on when i first got it… and i started the process of updating the firmware…
then i got the error about the USB stm bootloader… so off i go and i do the old switch-a-roo… but after playing about to get it to start the upgrade… i get one run through where it erases the sectors 0-6 and then when it starts to writ them it bombs out… errors up the wazoo… and now if it try and do it again it fails at the erase stage…
i’ve tried adding pictures and helpful stuff but this just aint my day…
so what are my options on getting this drive working again … ???.. remember speak slow… i’m at the limit of my experience here…
additional… i’ve just been looking through the other posts… and thing that are helpful will be things like i’m using windows 10, ive got a board with V3.6 on it… and the firmware did say it was 4.11 dev… and then told me i was upgrading to 4.11 (but without the dev bit maybe)
thanks
Pb