sdroege / arduino-due-rust

Arduino Due Rust Example Application
24 stars 5 forks source link

Update for Mac instructions #1

Closed philip-peterson closed 3 years ago

philip-peterson commented 3 years ago

It seems to work on Mac with latest BOSSA (1.9.1-14-g3532de8). You just need to run:

sudo bossac -p /dev/cu.usbmodem143201 -e -w -v -b -R image.bin

Note the sudo and the -p parameter.

philip-peterson commented 3 years ago

Strike that, it seems to render the device not operable (i.e. doesn't respond to BOSSA device type queries)

sdroege commented 3 years ago

Ah, I saw that BOSSA supposedly got a fix for the bug I encountered but I didn't check if that's actually the case. So if I understand you correctly, the latest version doesn't work either?

philip-peterson commented 3 years ago

Not sure if it's that same bug that's an issue or if it's a new bug, but at any rate, yeah, writing to an Arduino Due seems to soft-brick the device. It can be reset by writing a program from Arduino IDE.

sdroege commented 3 years ago

Sounds like the same bug that I got on Linux with the old BOSSA version, yes.