Ok, to summarise: The Low Pin Count Demo Board has a 20-pin DIP socket which accepts most 20, 14, and 8-pin PICs, which the 16F690 is mounted in, plus a 6-pin 0.1" pitch SIP ICSP connector, which a PICkit2 or PICkit3 can plug into directly. The PICkit2 or 3 can then program, but not debug, the 16F690. This is because the 16F690, like most other "low pin count" PICs, has no on-chip debug circuitry. Therefore, to debug a 16F690, a special version of that chip (16F690-ICD) i= s used, which includes the debug circuitry plus extra pins dedicated to debug functions, so that all of the 16F690's 18 I/O pins can continue to be used in the target circuit. This debug version of the 16F690 is supplied on a "header" (AC162061), whic= h replaces the original 16F690 in the target circuit (LPC demo board in this case). Therefore the 16F690 is removed, and the AC162061 header is connected directly to the DIP socket where the 16F690 used to be, using the supplied 2 x 10-pin connectors. The AC162061 header also includes an RJ11 connector, for connection to a debugger. Note that this connector, NOT the ISCP connector on the demo board, MUST be used for debugging, because the RJ11 connector connects to those extra debug pins on the 16F690-ICD chip, which are no accessible from the target circuit (demo board). This RJ11 connector can connect directly, through a short straight-through cable, to the RJ11 port on an ICD2 or ICD3 debugger. The PICkit 2 and 3 do not have an RJ11 connector, but Microchip sell an adaptor board, with an RJ11 connector on one end, and a 0.1" pitch ICSP connector on the other, which allows you to plug an RJ11 cable into the PICkit 2 or 3. Or, it's also quite straightforward to make up a suitable cable with RJ11 on one end and ICSP on the other. Just don't make that cable too long! Cheers, David www.gooligum.com.au > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On > Behalf Of RG > Sent: Thursday, 8 September 2011 11:51 PM > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] Pickit2 and debug >=20 > Hi Oli, > look at about the middle of this page: > http://www.microchip.com/stellent/idcplg?IdcService=3DSS_GET_PAGE&nodeId= =3D > 1406&dDocName=3Den023805&part=3DDV164120 >=20 > and you will see what I refer to. > Cheers > Renzo >=20 > 2011/9/7 Oli Glaser >=20 > > On 05/09/2011 23:19, RG wrote: > > > I try to use Mplab ICSP debug program on a my board or simply > using the > > > Microchip Low Pin Count Demo Board. > > > Instructions show how to connect Pickit2 to an IC Header(i.e. the > > AC162961 > > > Ic header for the Pic16f690) and plugging it to the DM164020-1 Low > Pin > > Count > > > Demo Board. > > > > > > But the Ic Header AC162061 has no connector to plug in an external > board, > > it > > > can be only connect to Pickit2 with a RJ-11 adapter and has only a > socket > > in > > > which insert a Pic16f690. > > > Which is the solution? > > > > > > Sincerely Renzo > > > > Sorry if I missed something as I haven't been following all the > thread. > > Are you sure you mean the Low Pin Count Demo Board and/or the > PicKit2? I > > have one around here somewhere and it has no RJ11 on it, or any > > footprint for one. It connects to the PicKit2 (which it came with) > via a > > 6-pin 2.5mm pitch vertical header (no cable, the PicKit2 just plugs > in > > directly) > > Or did you mean the ICD2 instead of the PicKit2? > > > > -- > > http://www.piclist.com PIC/SX FAQ & list archive > > View/change your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .