Writing to LC eeproms requires 2ms to 5ms delay after each write.

You are sending a block of bytes at one shot.
Try sending(writing) them single by single and have 5ms pause after each write.
Or, you may want to use page write feature for one whole 128-byte page (for LC512) and have one pause after each page.
check this link :
http://www.picbasic.co.uk/forum/show...8811&highlight=