[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-21 Thread Andries Oyens via OpenOCD-devel
Dear all, thanx again for your help. But still I have the feeling something changed in the Ubuntu/openocd settings. In the Arduino IDE all my other program possibilities show as a port. Also the Teensy, which uses a udev entry in the rules.d. Only the Atmel ICE using openocd doesn't show. I did

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Tommy Murphy via OpenOCD-devel
> openocd -f openocd.cfg -c "program test.bin exit 0x" > works, that's a start :-) > but can you still help me with the programmer getting accessible in the IDE? Then that is an IDE issue and not an OpenOCD issue. You really need to ask about the IDE issue on the appropriate forum. ---

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Andries Oyens via OpenOCD-devel
Dear Paul, I used to flash the programmer by Arduino IDE because I am used to work in Arduino IDE (all my software uses Arduino libraries and they worked fine) normaly the Atmel ICE appeared as a port. Suddenly on all my computers the Atmel ICE is not there as a programming port?? On Wed, Nov

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Paul Fertser via OpenOCD-devel
On Wed, Nov 20, 2019 at 06:23:43PM -, Andries Oyens wrote: > openocd command gives: ... > Info : at91samd21e18.cpu: hardware has 4 breakpoints, 2 > watchpoints So the adapter is working just fine, what's the problem? And why do you need any IDE to flash the target?.. -- Be free, use free (h

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Andries Oyens via OpenOCD-devel
Dear Jonathan, I added ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2141", MODE="664", GROUP="plugdev", TAG+="uaccess" to 60-openocd.rules rebooted and no succes I also tried ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2141", MODE="660", GROUP="plugdev", TAG+="uaccess" reboot and no succes how

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Paul Fertser via OpenOCD-devel
On Wed, Nov 20, 2019 at 04:25:56PM -, Jonathan McDowell wrote: > FWIW the Debian package installs the udev rules to > lib/udev/rules.d/60-openocd.rules, as they are part of the package. However > they > do not have the 2141 PID in them, just 03eb/204f, so if it was working before It should ge

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Tommy Murphy via OpenOCD-devel
Is Andries on Debian? I didn't see that mentioned anywhere... --- ** [tickets:#258] sudo apt install openocd** **Status:** new **Milestone:** 0.9.0 **Labels:** openOCD arduino no port **Created:** Wed Nov 20, 2019 12:22 PM UTC by Andries Oyens **Last Updated:** Wed Nov 20, 2019 04:25 PM UTC **

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Jonathan McDowell via OpenOCD-devel
FWIW the Debian package installs the udev rules to lib/udev/rules.d/60-openocd.rules, as they are part of the package. However they do not have the 2141 PID in them, just 03eb/204f, so if it was working before there must have been something extra installed/configured. --- ** [tickets:#258] su

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Andries Oyens via OpenOCD-devel
Dear Tommy ls /etc/udev/rules.d gives: 49-micronucleus.rules 70-snap.core.rules z65-anyma-udmx.rules z65-fx5-hid.rules z65-spi.rules 49-teensy.rules70-snap.libreoffice.rules z65-dmxusb.rules z65-peperoni.rules so I guess not. Strange while it was working for month on

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Andries Oyens via OpenOCD-devel
Yes I did a reboot, no succes Did you reboot or manually trigger a reload of the udev rules files (udevadmin trigger I think)? I normally just reboot if I change the udev files. If the rules are in force and the one that you cite is the correct one for your programmer then openocd should be

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Tommy Murphy via OpenOCD-devel
(first attempt to send bounced so trying again) Did you reboot or manually trigger a reload of the udev rules files (udevadmin trigger I think)? I normally just reboot if I change the udev files. If the rules are in force and the one that you cite is the correct one for your programmer then open

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Tommy Murphy via OpenOCD-devel
Did you reboot or manually trigger a reload of the udev rules files (udevadmin trigger I think)? I normally just reboot if I change the udev files. If the rules are in force and the one that you cite is the correct one for your programmer then openocd should be able to use it when run in non root

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Tommy Murphy via OpenOCD-devel
Did you reboot or manually trigger a reload of the udev rules files (udevadmin trigger I think)? I normally just reboot if I change the udev files. If the rules are in force and the one that you cite is the correct one for your programmer then openocd should be able to use it when run in non root

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Andries Oyens via OpenOCD-devel
Dear Tommy, i found a file on internet named 99-openocd.rules and added # Atmel-ICE JTAG/SWD in-circuit debugger ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2141", MODE="664", GROUP="plugdev" to it and placed it in /etc/udev/rules.d still no succes. How can I check if a non superuser can use t

[OpenOCD-devel] [openocd:tickets] Re: #258 sudo apt install openocd

2019-11-20 Thread Tommy Murphy via OpenOCD-devel
Doesn't look like there's any openocd udev rules file installed so? You need a udev rule for your programmer to allow openocd non root/su access to your programmer. If this was working for you before but is no longer working on the same machine then something obviously must've changed. http://op