Maker Pro
Maker Pro

About PIC18F4550 programming

Hi,

I have designed a PCB to program pic18f4550 controller IC. I am using pickit3 to program the pic18f chip. I can't able to programm the pic18f chip and I am getting the error that " 0x0 target device ID does not match expected device ID 0x1200".

If I replace pic18f4550 chip with pic16f877(same pin configuration as pic18f4550). chip then my pickit3 is connecting with it without any error.

Please let me know any there anything needs to be done to programm pic18f4550.
 
Things to look for.

1. Have you powered all of the Vdd and Vcc pins and have decoupling capacitors (100nF) on each pait?

2. Have you pulled PGM low? This can be a problem if it is floating.

3. Is anything, other than the PICkit connected to the MCLR pin?

4. Have you tried a second chip (maybe it is damaged?)

Bob
 
I have checked below points.

1. I have Powered pin no 32 and 11 with 5 volt, both the pins has decoupling capacitor of 100nf.

2. I have pulled PGM low but no sucess

3. MCLR is pulled to VCC using 10k and connected to GND through 100nf capacitor.

4. I have tried two chips but no sucess. ( I have ordered new chips from trusted source).
 
Try getting rid of the capacitor on MCLR. I have never used one myself.

The datasheet says you need a 220nF cap on the Vusb pin. You might try that.

Bob
 
Hi Bob,

As per your suggestion I removed 100nf capacitor from MCLR pin and added 220nf capacitor to Vusb pin. Now I can detect my controller and also able to program it. Thanks for the support
 
Top