Re: 12F675 - another issue
If your application is not that much timing sensitive, get rid of the DEFINE OSCCAL line.
There's a thread in here showing how to recover the OSCCAL value.
Before ereasing the PIC, you may want to read the OSCCAL value, write it on a label, stick it on the top of your PIC and then set it manually your code.
Same goes for the Bandgap value
^Note 1: The Bandgap Calibration bits are factory programmed and must be read and saved prior to erasing
the device as specified in the PIC12F629/675 Programming Specification. These bits are reflected
in an export of the configuration word. Microchip Development Tools maintain all calibration bits to
factory settings.
Last edited by mister_e; - 26th August 2011 at 17:41.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks