testing the pic problem



It's NOT an error message, nor is it displayed as such, it's just a warning. I would also suggest you use the INC file bitname (RP0) rather than '5' which is pretty meaningless?.

As for your problems, I would suggest you ensure the hardware is connected correctly? (particularly the oscillator!), and that you have the configuration fuses set correctly.

You don't appear to be setting the fuses in your source code (as recommended by MicroChip - and by ME!), so presumably you're setting them in your programmer software?.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…