I get the error message when trying to program my IC. It is a very simple program to flash an LED On/Off. I tried to switch to high voltage program entry mode but then it give a target voltage not detected error. The only thing I have connected right now is the LED/resistor to pin 9 and a .1uF cap between Vdd and Vss.
added note... Using a 5V 2 amp power supply for power to the IC.
Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.51.06
Firmware type..............dsPIC33F/24F/24H
Target voltage detected
Target device PIC24F08KL200 found.
Device ID Revision = 2
Device Erased...
Programming...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x3ff
configuration memory
configuration memory
Address: f8000c Expected Value: 7b Received Value: fb
Failed to program device