So, I pulled out my trusty JDM PG2C I nabbed from Sparkfun a few months back to work on a little project, and it doesn't seem to be behaving. Not sure if it matters, but I'm using icprog to program through the JDM.
I know I've programmed from my machine before with this same configuration without issue, but now I'm constantly getting the ever so lovely 0000h error and have no idea why.
I thought the old chip I had on the breadboard might be buggered up. So I pull another one from an old socket on a project board, still can't program or even read it. Thinking maybe both are goobered, I pull a new one out of the tube, plug it in, and download blink.hex for the 628a from sparkfun, and it programs! Test it, and it works fine. So I try and re-program it with my test program, and I get 0000h errors.
I've tried ICP, and even plugging the chip directly into the programmer, no avail. Just 0000h errors. I don't want to keep popping new chips in the programmer as I only have a couple new ones left, but this is really frustrating.
---
After some additional troubleshooting, the only thing I can think of is that the test program is somehow interfering with the program/erase of the pic once it's been programmed. But I'm really clueless, this is only a shot in the dark.
I can't even erase a chip, as after it goes through the erase cycle on the programmer, it's still running the test program.
... any suggestions would be greatly appreciated. Thanks!!!
I know I've programmed from my machine before with this same configuration without issue, but now I'm constantly getting the ever so lovely 0000h error and have no idea why.
I thought the old chip I had on the breadboard might be buggered up. So I pull another one from an old socket on a project board, still can't program or even read it. Thinking maybe both are goobered, I pull a new one out of the tube, plug it in, and download blink.hex for the 628a from sparkfun, and it programs! Test it, and it works fine. So I try and re-program it with my test program, and I get 0000h errors.
I've tried ICP, and even plugging the chip directly into the programmer, no avail. Just 0000h errors. I don't want to keep popping new chips in the programmer as I only have a couple new ones left, but this is really frustrating.
---
After some additional troubleshooting, the only thing I can think of is that the test program is somehow interfering with the program/erase of the pic once it's been programmed. But I'm really clueless, this is only a shot in the dark.
I can't even erase a chip, as after it goes through the erase cycle on the programmer, it's still running the test program.
... any suggestions would be greatly appreciated. Thanks!!!