I have just come across an issue with programming a dspic30f5011 in the MPLab IDE (v8.83) using the ICD3. I have programmed these chips previously and have been successful. Nothing new has been added to the project or the circuit. I have attempted to do 10 of this board and have had a 70% fall out rate for the following error...
The following memory regions failed to program correctly:
Program Memory
Address: 00000000 Expected Value: 00040100 Received Value: 00ffffff
Programming failed
If I try to read the chip it completes fine but all the locations are 0xFFFFFF. Its like it will not program. As I said, I believe nothing has changed from the last time I have programmed this chips (famous last words), and why would three out of the ten program fine? I have looked at the configurations bits and they seem fine. I have tried to program another board (DSPIC30f4013) with the same tools and it works fine. Has anyone else seen this issue or have any suggestions on what to try next.