i'm trying to program PIC24FJ128GA006 using Microchip's ICD2. But i get the following error
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
ICDWarn0020: Invalid target device id (expected=0x407, read=0x0)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 ready for next operation
i'm assuming that it has something to do with the pin that's missing,
target vdd:3.20
target vpp: 3.16(as shown in MPLAB)
>>i'm using ICD2 through USB and powering it through the target device(i.e 3.3V)
>> i have connected MCLR pin to Vdd thru a 10K.
>> i have also given AVdd to 3.3V and grounded AVss
>> i have enabled on-chip regulator by connecting ENVReg to Vdd and VddCore to Vss thru a 10 microfarad cap
>> i have not connected any external oscillator
kindly help!!!
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
ICDWarn0020: Invalid target device id (expected=0x407, read=0x0)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 ready for next operation
i'm assuming that it has something to do with the pin that's missing,
target vdd:3.20
target vpp: 3.16(as shown in MPLAB)
>>i'm using ICD2 through USB and powering it through the target device(i.e 3.3V)
>> i have connected MCLR pin to Vdd thru a 10K.
>> i have also given AVdd to 3.3V and grounded AVss
>> i have enabled on-chip regulator by connecting ENVReg to Vdd and VddCore to Vss thru a 10 microfarad cap
>> i have not connected any external oscillator
kindly help!!!