xmosdfu causes error "Could not find/open device" on Linux

If you have a simple question and just want an answer.
User avatar
Thomas
Experienced Member
Posts: 66
Joined: Fri Feb 05, 2010 12:34 pm

xmosdfu causes error "Could not find/open device" on Linux

Post by Thomas »

When xmosdfu is invoked with a parameter that causes access of the USB device (e.g. --upload) then this causes an error on Linux:
Could not find/open device

The solution is to invoke xmosdfu as super user with sudo.
E.g.
sudo ./xmosdfu <device PID> --upload extracted.bin

This resolves the issue on Ubuntu and Raspbian.