Hello Again All; So thought about it and it doesn't matter if I post my code or not. I know this code works, it has worked in the past and no changes have been made. I will outline exactly whats going on:
1) No device found - I have seen this in the past but not this frequently. I am lucky if I can get a device to be read or recognized 1 out of 20 times.
2) If i am able to program, (either by MPlab or by pk2 Hex file), then I go to read what is on the PIC to verify the checksum, the software normally says "no device detected"....or if it is detected, then it will sometimes go into "code protect" and all registers read 0000.
3)then I am likely never able to read or write to that PIC again correctly. This happens instantly even with brand new PICS.
and again, this happens to the PICS no matter what program I try to write to it.
I am sick and tired of spending all of this troubleshooting time and money between buying new PICS, Pickit2, trying new USB cables, Different computers and always downloading updates and latest revisions for the .NET program, MPlab ide and the Pk2 software.
Please Help!