PDA

View Full Version : Help! Can I program a 16F627A???



MarkL
11-22-2007, 01:20 AM
Hi all,

I'm trying to figure out how to program the 16F627A that I need for the Ren-C. All I have is a PicKit1, and I've built an adapter that connects to the ICSP header on the Ren-C board. Problem is, the PicKit1 programming software doesn't recognize the device, and the MPLAB software won't allow selection of the PicKit1 programmer when the 16F627A device is selected.

Does anyone know if programming the 16F627A is possible with pickit1? Do I need some other programming software? Failing that - anyone willing to trade one or two programmed PICs for my unprogrammed ones?

Thanks.
Mark

Mudsculpter
11-22-2007, 09:18 AM
I have the pickit2 and I had to use the pickit2 programmer software because mplab would not recognize the chip for me either. Is there a pickit1 programmer software on your included docs? however, If all else fails, I have two 627a's that I can trade with you if you don't find a resolution. PM me with your address. and I will respond in kind. Include what firmware you want flashed.

P. Short
11-22-2007, 10:52 AM
There is a separate programming utility included with the PicKit1 that can program a whole bunch of other chips. Look in the start menu under PicKit1 in the Start Menu->Programs, something with a 'Classic' in its name, IIRC.

--

Phil

MarkL
11-23-2007, 12:18 AM
Thanks for the advice. (And thanks, Mud, for the offer.) I think I got it. I actually got it programmed two ways.

1. Lie to MPLAB. (I.e., select a different device that the pickit1 does support.)
2. Use the pickit classic software. I had actually tried this before Phil suggested it, but it gave me "device not detected" messages. I tried it again today, and after hitting "Write Device" a few times, it recognized it as the 16F627A and wrote. A "verify" confirmed it to be written.

When I hook everything up, the PIC appears to be programmed correctly. (I get a heartbeat, no errors, and the Rx flashes when Vixen sends commands.) Unfortunately, the whole package still doesn't work though.

http://www.christmasinshirley.com/forum/viewtopic.php?p=9314
if you have anything to offer.

Mark