--_002_vss9f9xqmcln2hakerswarbrickdnsaliascom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable KPL writes: > I had exactly the same problem, with exactly the same chip. > But finally I got it working with the new device file and pickit2, > under linux. I just do not recall if I found a solution somewhere, or > I asked for help in microchip forums. In both cases a good search > should help you find that. If I could solve that, anyone can :) Ah, just realised that I didn't explain the solution I ended up with. Basically, the current pk2cmd distribution (1.21-RC1) doesn't have the most recent device file. So you need the source wget http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit2_PK2CMD_WIN32= _SourceV1-21_RC1.zip (WIN32? Yep, apparently). Unzip it, go into the pk2cmd subdirectory and "make linux". Now get the new device file: while in the pk2cmd subdirectory, do wget http://ww1.microchip.com/downloads/en/DeviceDoc/PK2DFUpdate-1-62-14.= zip unzip PK2DFUpdate-1-62-14.zip (this puts the new device file in the right place). Install the result in whichever way you choose. (I used stow to stick it in /usr/stow/pk2cmd and set up symlinks). Note: The installer puts the device file in /usr/local/share/pk2cmd (I think) and then can't find it. Probably the easiest option is to symlink from somewhere in your path. For example: ln -s /usr/local/share/pk2cmd/PK2DeviceFile.dat /usr/local/bin As long as PK2DeviceFile.dat isn't executable, this won't screw up tab completion, even if sticking random files in your bin directory is icky. Microchip's recommendation is to add /usr/local/share/pk2cmd to your $PATH, but that strikes me as even nastier. I should say thanks again to Adam Goldman, who sent me a (more concise) email with the solution. Rupert --_002_vss9f9xqmcln2hakerswarbrickdnsaliascom_ Content-Type: text/plain; name="ATT00001.txt" Content-Description: ATT00001.txt Content-Disposition: attachment; filename="ATT00001.txt"; size=208; creation-date="Wed, 08 Aug 2012 11:08:11 GMT"; modification-date="Wed, 08 Aug 2012 11:08:11 GMT" Content-Transfer-Encoding: base64 LS0gDQpodHRwOi8vd3d3LnBpY2xpc3QuY29tIFBJQy9TWCBGQVEgJiBsaXN0IGFyY2hpdmUNClZp ZXcvY2hhbmdlIHlvdXIgbWVtYmVyc2hpcCBvcHRpb25zIGF0DQpodHRwOi8vbWFpbG1hbi5taXQu ZWR1L21haWxtYW4vbGlzdGluZm8vcGljbGlzdA0K --_002_vss9f9xqmcln2hakerswarbrickdnsaliascom_-- .