12F675 error msg

Hi, I am a real newbie to PIC programming.
I have had some success using the 16F627 chip but my first foray with the 12F675 has not been good.
The chip appeared to program ok at first but subsequent re-programming keeps returning “write error osccal 03ff”
I believe this is due to me inadvertently overwriting the Oscillator Callibration Value ??
I have tried a couple of supposedly fixit hex files but to no avail.
I’m not worried about throwing the chip but don’t want to make the same mistake repeatedly.
Can anyone advise??

Many thanks

Sorted it :slight_smile:
Added this line to prog
DEFINE OSCCAL_1k 1
Chip programs ok now