PIC mcu gets programmed but doesn’t get executed

microcontrollerpicprogramming

I am using 'pickit2' through Mplab to burn my code. Suddenly none of the codes (even blinking led) that I fuse through it gets executed.

I confirmed whether it writes the hex code properly using the 'Read Memory' feature. On comparison, I found no change in the hex.

I changed lot of IC's (16f/18f), I tried other boards too, but nothing worked.

What's going wrong with my setup? please help me to figure it out.

Best Answer

Check the configuration fuse options, that you are using the correct ones for your hardware. Specifically the clock type (internal rc, external crystal) etc matches your hardware because it sounds like the chip is not running.