From 5e5cdf0e6703a71813e2581977d7a7ce40d1c061 Mon Sep 17 00:00:00 2001 From: apatura-iris <40609843+apatura-iris@users.noreply.github.com> Date: Tue, 26 Jun 2018 12:55:39 -0600 Subject: [PATCH] Update installing.rst The file 99-openocd.rules as downloaded from githubusercontent.com seems to be outdated and does now work on Ubuntu 16.04. The version that ships with OpenOCD has an additional ``TAG+="uaccess"`` in the rules file and works fine. Thus I suggest to use the file that is bundled with OpenOCD. --- doc/manual/installing.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/manual/installing.rst b/doc/manual/installing.rst index 7b726e2ec..f2f666a84 100644 --- a/doc/manual/installing.rst +++ b/doc/manual/installing.rst @@ -117,11 +117,14 @@ Configuring OpenOCD Some additional steps are necessary to ensure that OpenOCD can communicate with the FPGA board. -On Linux, first ensure that the current user belongs to the ``plugdev`` group. If it does not, run ``sudo adduser $USER plugdev`` and relogin. Afterwards:: +On Linux, first ensure that the current user belongs to the ``plugdev`` group. If it does not, run ``sudo adduser $USER plugdev`` and relogin. Afterwards if you installed OpenOCD using conda:: - $ wget https://raw.githubusercontent.com/ntfreak/openocd/406f4d1c68330e3bf8d9db4e402fd8802a5c79e2/contrib/99-openocd.rules - $ sudo cp 99-openocd.rules /etc/udev/rules.d - $ sudo adduser $USER plugdev + $ sudo cp ~/.conda/envs/artiq-main/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d + $ sudo udevadm trigger + +if you installed it from source:: Assuming you installed OpenOCD in ``/usr/local``, otherwise please substitute the install directory:: + + $ sudo cp /usr/local/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d $ sudo udevadm trigger On Windows, a third-party tool, `Zadig `_, is necessary. Use it as follows: