yasser_shoukry
Full Member level 4
- Joined
- May 31, 2006
- Messages
- 233
- Helped
- 25
- Reputation
- 54
- Reaction score
- 5
- Trophy points
- 1,298
- Location
- Cairo - Egypt
- Activity points
- 2,749
hello all
i am using a pic 18f4580 with the icd2, and i am putting it in a circuit powered by 5 v regulated supply and the MCU and 16 MHZ crystal and led.
when i connect the icd2 to the mplab (in either programmer or debugger mode , i get the following error :ICDWarn0020: Invalid target device id (expected=0xD4, read=0x0), i always get validation error, such that every expected variables is read as zeros, which prohibit debugging and programmin).
i tried to program the MCU with a program to turn on the led (using another programmer). and then place the MCU in the debugging crcuit again so the led is on and after connecting the icd2 it is off (mclr is down) then in mplab when i choose the programmer settings to release from reset mode, the led lights again (all i want to tll is that all tests of the connection from the icd2 to MCU is good), so what is the problem , why he reads anything as zero.
Thanks in advance
i am using a pic 18f4580 with the icd2, and i am putting it in a circuit powered by 5 v regulated supply and the MCU and 16 MHZ crystal and led.
when i connect the icd2 to the mplab (in either programmer or debugger mode , i get the following error :ICDWarn0020: Invalid target device id (expected=0xD4, read=0x0), i always get validation error, such that every expected variables is read as zeros, which prohibit debugging and programmin).
i tried to program the MCU with a program to turn on the led (using another programmer). and then place the MCU in the debugging crcuit again so the led is on and after connecting the icd2 it is off (mclr is down) then in mplab when i choose the programmer settings to release from reset mode, the led lights again (all i want to tll is that all tests of the connection from the icd2 to MCU is good), so what is the problem , why he reads anything as zero.
Thanks in advance