Defines must be in capital letters DEFINE OSC 20.
Make sure MCLR is pulled up to VDD.
Make sure BOR is off.
I would take away the Conf_Word and set the config manually in my programmer. Just to make sure it is the correct setting, I have never seen your way of using a Define this way.
Bookmarks