From ff8091199972b753adff1219ee8ba846d06fdee4 Mon Sep 17 00:00:00 2001 From: "jixing.zou" Date: Mon, 5 Sep 2016 09:53:36 +0800 Subject: [PATCH] Solve openocd issue on Linux --- 98-daplink.rules | 4 ++++ README.md | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 98-daplink.rules diff --git a/98-daplink.rules b/98-daplink.rules new file mode 100644 index 0000000..9c6acb3 --- /dev/null +++ b/98-daplink.rules @@ -0,0 +1,4 @@ + +# mbed CMSIS-DAP +ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0204", MODE="664", GROUP="plugdev" +KERNEL=="hidraw*", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0204", MODE="664", GROUP="plugdev" diff --git a/README.md b/README.md index 6f0fa9e..795cc76 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,14 @@ Get this driver and install it if you are using an Windows PC, so that you can u * Note that you do not need any driver for OSX and Linux platforms. +## Add udev rules (Linux only) + +Copy file "98-daplink.rules" to path "/etc/udev/rules.d/". Then restart or reloaded with + + $ sudo udevadm control --reload-rules + +We thank bapowell & kdsoo for solving this problem. +[openocd error on Linux](https://github.com/RedBearLab/nRF51822-Arduino/issues/73) ## Burn Bootloader