DiyLightAnimation

Hardware => Lynx Express => Topic started by: ChristmasattheY on November 14, 2012,

Title: Pickit programming
Post by: ChristmasattheY on November 14, 2012,
Simple quick question.  Tried to program my express PICs last night with a PicKit 2 at a friends house.  Something wasn't right and it would program or recognize that a PIC was plugged into the PicKit.  I now have borrowed the Pickit and I'm lost as what to do.  Attached is the screen shot.
Title: Pickit programming
Post by: rm357 on November 14, 2012,
I'm going from memory here, but...

First you need to select the device type under the device family menu.

I think the express is a pic24fj32a002

If the "on" under VDD is not checked, then check it.

Plug the pickit into the header on the LE making sure the arrow alighns with pin 1.
You need to leave the LE unplugged - the pickit will provide the power needed for programming.

I like to erase the pic before programming it - click erase button

Under file, select import hex and find the hex file. If you have not downloaded it yet, look for firmware on the wiki.

Click program.

Takes a few sec and you are done.

I'm pretty sure this procedure is also on the wiki.

Good luck.
Title: Re: Pickit programming
Post by: bisquit476 on November 15, 2012,
If I remember correctly, the pickit2 should automatically sense the pic that's attached, not sure why it isn't being recognized. But follow rm's directions.
Title: Re: Pickit programming
Post by: tbone321 on November 17, 2012,
This could also indicate a bad PIC.  Make sure that the PIC is properly seated in the socket and that there are no bent pins or pins not in the socket.  If you have another PIC, try and probram that one and see what happens.
Title: Re: Pickit programming
Post by: jnealand on November 17, 2012,
I got that message on a bad PIC just yesterday.  Good thing I have spares!!!