Hi, On 23 Feb 99 at 9:48, Chris Morison wrote: > 1) What are the chances of a program running if no CALL 04FFh / > MOVWF OSCCAL instructions are present at the beginning of the > program? Bear in mind the said program should only flash an LED > every second(ish). Should run fine. Remember, the chip has to run in order for it to load OSCCAL. Its just that the timing would be off. > 2) If I can get a program working and monitor the internal clock on > the CLKOUT pin and measure the frequency, is there some formula > for calculating the correct calibration value? Silly me erased the > part before reading about internal oscillators. Why can't Microchip > print the value on the bottom of the chip instead of programming it > into the memory? If you have another chip from the same batch you could try reading the value from it, they're probably the same. The datasheet should contain a graph showing the relationship between OSCCAL and frequency (typical). You could start from there and tweak it till you get closest to your desired frequency. Probably more expensive for Microchip to print it. Hope this helps, Guy - mlsirton@inter.net.il