Hi Melanie,
Thats interesting about the erase, had never thought of doing that. Our programmer erases before programming anyway, but I will mention that to the factory chaps and see if it helps.

18F2420 is a recent transition from 16F876 to give us more memory. I pressume the 18F2520 suffers similar problems?

Many thanks
Tim.