Have you also provided the analog power pins (it looks like you did but I can't be sure). And try pushing the dsPIC into the breadboard harder. HARD. I spent 30 hours in the university lab "debugging" this problem.
Just clutching at straws, are you sure that the power rails are continuous, most I have used have a gap half way along. Have you tried metering from the ICD board to the Pic pins.
Unless this is a very old and well used breadboard I would be very surprised if it was a bad connection.
I've double and triple checked that. Went over all the connected pins with a meter to verify that they're electrically connected to the board and wires. Even pulled the chip to make sure I didn't fold a pin under when I inserted it. All fine.
I can "Hold in Reset" and "Release from Reset" in MPLAB and with a meter on the MCLR/VPP pin, it responds as expected.
Hmm... Wonder if I got a bum chip? That would be a first.
Just clutching at straws, are you sure that the power rails are continuous, most I have used have a gap half way along. Have you tried metering from the ICD board to the Pic pins.
Today I pulled the dsPIC and put a new 18F4620 in its place, made the couple small wiring changes needed and powered it up. Everything worked fine.
So I wired up the 4620 on another breadboard and tested it. All good. Then I pulled it and put the dsPIC in its place, made the wiring changes needed and powered up. Dead. Same error.
ICDWarn0020: Invalid target device id (expected=0x141, read=0x0)
I have a dsPIC30F3013 works fine on either the Junebug or Inchworm+, the breadboard has a lot of capacitance so you have to keep the PGC & PGD connections very short.
The two purple wires are very short. **broken link removed**
I have a dsPIC30F3013 works fine on either the Junebug or Inchworm+, the breadboard has a lot of capacitance so you have to keep the PGC & PGD connections very short.
The two purple wires are very short.