Quote Originally Posted by kelangfei View Post
Left out one piece of the reply:

I am using a 4mhz crystal oscillator with the markings ECSH4.0EX on top. Hope that's not an issue.

K
Could be a little slow for 9600. 2400 will be fine.

I think you mean I should have a carriage control and line feed for every serout command, not just the initial one. I'll give that a try and see what happens also.
Yes, That is what I was trying to say.

As far as your programmer, I do not use that one but being from Melabs I am sure it is good. There should be some place to erase the config, program, and eeprom areas, maybe it does it all at once.

For the dead PIC see if you can be sure the config area is being erased and do a blank check. You may have to use MPLAB for this?