Chris , Thank you for your reply. > You should be able to power the PIC with the PICKit3. I am not sure of that. If I connect PICkit3 only to a board with PIC, ( and no external power is = there), MPLAB( I am using) does NOT recognise any target device being connected. ( I tested that with 44 pin demo mainboard by Microchip ) But as soon as I connect the external power to the mainboard, target device= is recognignised=20 > Look at the pin outs for the PIC16F628A and connect them to the > corresponding pins on the PICKit3 and you should be good to go, as > long as the PICKit3 is connected and is Powering the PIC. > If you need to run the PIC with the PICKit3 disconnected, you will > have to then provide external power and also hold MCR high, refer > again to the PIC PDF. >=20 >=20 > On 22 October 2011 15:22, wrote: > > Thanks for your reply > > I thought that PICkit3 works as > > a debugger and a programmer > > > > So, when I compile a sample program > > I must upload to ( program) a microchip, in my case to PIC16F628A. > > Only after that I can debug it. > > Is it so? Or working with PICkit3 is different? > > > >> The simplest is that it has just power. > > Do you mean only + and - and that is ALL? > > > >> Use the internal oscillator > >> and disable MCLR > > But do you think that internal oscilator is important for PICkit3 to re= cognise PIC16F628A? > > I thought that =A0MCLR is set up in config and has not any influence on= PICkit3 in finding the > > PIC16F628A. > > > > > > PICkit3 requires only these signals > > Vpp > > VDD Target > > Vss > > PGD > > PGC > > PGM > > > > Does it mean that if I connect these 6 signals to PICkit3 and power to = PIC16F628A , > > PIC16F628A must work? > > > > Thanks > > L. > > > > > >> > Can anyone suggest the simplest connection of PIC16F628A? > >> > >> The simplest is that it has just power. Use the internal oscillator > >> and disable MCLR > >> > >> > Target Device ID (00000000) does not match expected DeviceID (000011= 20). > >> > >> Are you connecting to the correct pins for programming ? Double > >> check. How you have the 628 configured for run-time shouldn't > >> affect the programmer (as long as any circuitry isn't interfering with > >> the programming) > >> > >> > so I am not sure if the PIC is faulty > >> > >> Unlikely, but not impossible of course > >> > >> > or the schematic is =A0faulty > >> > >> Hmmmm > >> > >> > Is 3.6V as power supply enough? > >> > >> Yes. Vdd is 3V - 5.5V > >> -- > >> 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 > --=20 > 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 .