PIC10F - Invalid Calibration Memory Error

At start up the PIC® device jumps to the RESET vector and expects to see a MOVLW XX instruction, where XX is the calibration data for that PIC device. This is erased during the erase cycle. The programmer then restores this value during the program cycle. Sometimes the programmer fails to do so which causes the invalid calibration error.

The calibration data for a PIC device is factory programmed during testing. There is no universal value for every PIC10F but the value remains the same for a given batch of PIC10Fs.

To work around this problem, you need to read the program memory of a new PIC10F device that has the calibration value intact.:

  1. The last location of memory should have a calibration value; record that value.
  2. Read the contents of the erased device and write the value at the same memory location. The device should be restored.

Newer devices no longer use this method so consider using a newer release device.

© 2018 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.