-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openocd issue on Linux #73
Comments
`Open On-Chip Debugger 0.10.0-dev-00254-g696fc0a (2016-04-09-12:07) the selected serial port This is the error message I got with version 1.0.7. |
Thank you for pointing out this, we will look into this. |
Tye open Arduino with sudo privileges |
@zoujixing , |
I tried setcap on openocd (sudo setcap cap_net_raw+eip PATH_TO_REDBEAR_OPENOCD/openocd) |
I had the same problem (under Ubuntu 14.04). After much googling, I found this: openocd.udev, which shows the following udev rules for the CMSIS-DAP device:
After ensuring that my userid was a member of the plugdev group, I created a new udev rules file, /etc/udev/rules.d/98-blenano.rules, with these rules; then reloaded with |
@bapowell Thank you. It works like a charm. |
Thanks for good information. Arduino IDE supports its rules so I also succeeded with arduino/OpenOCD/contrib/60-openocd.rules I set the rules by the following commands. cd /etc/udev/rules.d
sudo wget https://raw.githubusercontent.com/arduino/OpenOCD/master/contrib/60-openocd.rules
sudo udevadm control --reload-rules Thanks. |
Hi,
I recently upgraded to bsp version 1.0.7 which seems to be the latest version and currently having problem just like we had in version 1.0.6. (revisiting.... #68 )
I rolled back to version 1.0.5 for now, which has no openocd problem.
But rolling back to 1.0.5 has also some problem. It won't compile some example codes with API function which have changed arguments
Please let me know if there is solution for this.
The text was updated successfully, but these errors were encountered: