If I remember my initial reading of 12C5XX app notes, you should save the OSCCAL value by reading it with your programmer BEFORE you erase it. When you reprogram the device, reprogram the old OSCCAL value with it. CIAO - Martin R. Green elimar@bigfoot.com ---------- From: Lawrence Lile[SMTP:lilel@TOASTMASTER.COM] Sent: Thursday, August 28, 1997 5:56 AM To: PICLIST@mitvma.mit.edu Subject: OSCCAL and UV erase PIC-nikkers: What happens to the OSCCAL number when you UV erase a windowed PIC12C508? Is the OSCCAL even programmed into windowed parts in the first place? I've noticed that piezo beepers hooked up to two different windowed parts usually have different tones, meaning the oscillators must run at different freq's. -- Lawrence Lile Download AutoCad blocks for electrical drafting at: http://members.sockets.net/~llile/index.htm