hi i am having trouble loading hex to pic12f675 my pickit2 detects it but on the right side i see this message "OSCCAL:Invalid Value 3FF" i can import hex but when i try to write it gives me an error "invalid osccal value detected " please help me.....
i get two options enter manually or auto regenerate if select the second option it gives me an error saying osccal auto-regenerating failed and if i don't know what value to enter
Import a valid hex file... manually insert 0x2C into the OSCCAL and try to upload the hex file... If you read the chip it will erase the windows applications program area and the OSCCAL value.
Before I had a PICkit2 programmer I used this to recalibrate my 12F675 and 12F629 when I accidentally erased them. It saves the value to EEPROM which you need to read back and then enter manually PIC 12F629 / 12F675 internal oscillator recalibration utility
Since I got a PICkit2 I've never needed to use it since the PICkit2 does it and writes the value back to the correct location making it quicker and easier.