[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] #258 sudo apt install openocd

2019-11-20 Thread Andries Oyens via OpenOCD-devel
Dear all 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? I appreiciate all your time enormously. thanx, Andries --- ** [tickets:#258] sudo apt install openocd** **Status:**

[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] #258 sudo apt install openocd

2019-11-20 Thread Andries Oyens via OpenOCD-devel
Dear Tommy, Jonathan and Paul, thank you all for helping me. I have to program 700 SAMD21 chips and suddenly it is not working. You can imagion I am quite stressed. The strange thing is that LSUSB shows the programmer Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device

[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] #258 sudo apt install openocd

2019-11-20 Thread Tommy Murphy via OpenOCD-devel
Apologies for the repeated replies above but I was getting bounces from the mailing list address even though those replies obviously got through anyway Are you sure that your user is a member of the plugdev group in order to have non root/su access to the device? That's what the rule that yo

[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] #258 sudo apt install openocd

2019-11-20 Thread Tommy Murphy via OpenOCD-devel
For some reason repeated attempts to email a reply failed. Anyway here is what I was trying to send... 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 yo

[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

[OpenOCD-devel] [openocd:tickets] #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 di

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

2019-11-20 Thread Tommy Murphy via OpenOCD-devel
Normally inability to detect/use the programmer except in root/su mode indicates a problem with the udev files. Are you sure that the relevant udev files/rules are still installed on your machine? Is there a /etc/udev/rules.d/xx-openocd.rules installed on your machine and does it describe the A

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

2019-11-20 Thread Andries Oyens via OpenOCD-devel
--- ** [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 12:22 PM UTC **Owner:** Paul Fertser Dear people, I used to program with