OK, I think I've found the problem. The voltage pins are in odd places on this IC, so I may have to do in-circuit programming; something else that I've never done. I'm going to figure out how to do that next and I'll get back with any results.
Here's the code that I'll be using for a test:
I'm using the old serial programmer and my first problem was not having the cable plugged into the correct header and the IC pin 1 was in the wrong place. Even now with the cable plugged into the correct header and the IC in the ZIF socket correctly, I'm getting a code programming error at 0000.Code:@ device pic16F57, hs_osc, wdt_off, protect_off main: high portA.0 pause 500 low portA.0 pause 500 goto main
Bookmarks