Duet3 Bossa firmware flash fails
-
Your input file is './Duet3Firmware_MB6HC.bin' Where did that originate?
Also you have the -U -p and -R flags specified. You don't need them. In particular, bossac will auto discover the port. Try:
bossac -e -w -v -b /opt/dsf/sd/sys/Duet3Firmware_MB6HC.bin
-
@judicar the only other instance of something similar I've seen was resolved by trying another usb cable. It's it the exact same address it falls at each time?
-
@bearer It fails at different points with different versions of firmware. I assume 0x400e0c08 is some register that contains the result of whatever operation its trying to perform.
-
Odd, the target is "dead" and shouldn't react differently afaik.
I suspect @droftarts may know a thing (or 2000) about this. Meanwhile I'd give another cable a go.
-
@Danal I should've mentioned this running standalone
-
Standalone when running, got it. At the same time, per the "sudo" you are bossac-ing from unix/linux/pi, correct? If so, I would seriously consider changing the flags.
And, as mentioned above, try different USB cables.
-
Looks like it's a bug in the macOS/BSD version of Bossa. Dug up an old pc and it flashes fine with the Windows version. Thanks for the assistance.
-
If you kept the complete debug output could you add it to pastebin or directly in the issue on github, maybe it helps get it fixed.
https://github.com/shumatech/BOSSA/issues/106
(or if you wanna get down and dirty try testing https://github.com/shumatech/BOSSA/pull/121 if you only
make bossac
it shouldn't have dependencies) -
@bearer Will do!
-
@judicar Yes, current version of Bossa 1.9.1 on Mac OS seems to be broken for Duet 3. Has been reported here https://github.com/shumatech/BOSSA/issues/106 but there doesn't seem to be much activity on the bossa github.
Please let us know if you recompile it with that fix, and it works.
Ian