I know that when running in MPLAB, and programming the parts.....you have to disable the debugger if you want the code to run stand alone. Not being familiar with the CCS setup, its probably the same thing. _________________________________________________________________ Is your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.