Pic Dude wrote: > > WaitEEWriteComplete: > btfss PIR2,EEIF > goto WaitEEWriteComplete > > return Shouldn't you clear the EEIF bit after it is set by hardware ready for the next write. -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics