Hi Bart,
Been going thru your problems with OSCAL. I make it a point of reading content a fresh MCU and checking the last position -03FF for 12F629 and force the number while programming. I also use another method - I limit the erasing of the chip to a value well short of the max (03FF or 1K in my case) so the programmer never resets it to 3FFF.
I don't know if this is good programming practice! I have used it with no problems.
I also set WPU (weak pull up register) on always on all I/O. If TRIS changes any pin to an output it PIC auto diasbles it anyway so no harm done.
-warrier




Bookmarks