OK, I was finally able to get this working.
I was using the USBTEST files above.
I added the extra configs for the write protect stuff that was not in the code and VOILA!!!, it works now.
It seems to be an issue with the PicKit2. It barks at you if those configs are not included, it usually isnt an issue as long as the important ones are defined. However in this case I assume since they were missing , the PicKit2 changed some of the needed configs to something incompatible for some reason.
This should not be the issue, however it works. I removed the extra configs and it doesnt work, add them and its just fine!!!
Now to figure out how to get data INTO the pic.
Bookmarks