I'm having a problem with the Microchip ICD3 programmer.
I'm getting connection problems, connecting to the programmer itself, even when using the selftest mode with the Microchip-provided selftest hardware board.
After plugging the ICD3 into my laptop, it always works the first time I run the selftest.
The second time, I get this error message:
"Could not connect to the selected hardware tool. Please make sure the tool is not being used by another project in MPLAB X."
If I unplug and replug the ICD3 to the laptop, it works again one more time.
I'm running Linux Mint Qiana. I've tried it in Windows 7, and there it works reliably every time. I've also tried it in Debian Jessie, and there it fails like in Linux Mint Qiana. I've also tried it on Redhat Fedora Core 22, and there the computer hangs at the end of the MPLabX install (screen goes black, computer becomes unresponsive).
I've been using MPLabX version v3.05 (I've tried it with version 2.x-something as well, but it fails in the same way with a slightly different error message).
So, the above eliminates the following causes:
- My PIC program/PIC (since it isn't even involved)
- My ICD3 hardware (since it works in Windows)
So the problem must be in my linux installation. I'm assuming Microchip, being a large and quality-minded company, must be testing their software before release. So I'm assuming the ICD3 worked at one time for a Microchip-employee. So my question is basically, what Linux distro were they using, and what differs between that and mine so that mine doesn't work?