From 8a2b8fc634484242f699a2ca71a6b363da3bf0a2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 11 Apr 2015 22:54:17 +0800 Subject: [PATCH] artiq_flash: do not always assume permission problems --- artiq/frontend/artiq_flash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_flash.sh b/artiq/frontend/artiq_flash.sh index 375bae185..4fd0a743f 100755 --- a/artiq/frontend/artiq_flash.sh +++ b/artiq/frontend/artiq_flash.sh @@ -112,7 +112,7 @@ check_return() { xc3sprog -c $CABLE -R 2&>1 > /dev/null if [ "$?" != "0" ] then - echo "Flashing failed because it seems you do not have permission to access the USB device." + echo "Flashing failed. Maybe you do not have permission to access the USB device?" echo "To fix this you might want to add a udev rule by doing:" echo "$ sudo cp $ARTIQ_PREFIX/misc/$UDEV_RULES /etc/udev/rules.d" echo "Then unplug/replug your device and try flashing again"