ech
Junior Member level 2
unable to re-program icd2 usb os firmware.
I built the icd according to the info posted by PiCS
there: **broken link removed**
( top of page 16)
I didn"t want to "pollute" the other thread with my struggling so I created another one.
Here is what I did after having the VPP voltage solved (see previous thread) thanks for the very helpfull advice there...
1- Reprogram new PICs
2- Insert new pics into icd ( no target device connected, 20MHZ crystal C8 = 220nf)
3- Connect icd: D4 & D5 are on ( widnows makes its "happy" sound notifying me that the device is plugged)
Microchip MPLAB ICD 2 firmware client is present in device manager
4- launch MPLAB ( 7.31))
5- Select icd as debugger ( auto connect is on)
Here is the output:
Then I hear notification from windows: Unplugged, Plugged, Unplugged, Plugged
then the following output
if I run the self tests ... I get this output
Could someone help me to sort out this problem.. ( I'm struggling since one week.....)
What info should I try to provide to allow someone to help me ( I don't have any fancy tools like scope or logic analyser....)
Can someone validate those assumptions:
The fact that windows detects the device means that:
- the 4550 works correctly
- the usb communication is good
- I should concentrate on the 877A
- the fact that D2 lit when I tried to donnload the firmware meand that the 877A is at least running ( clock ok ??) ???
- In the ICD documentation, I read that a target device must be connected in order to debug..
- is a target board needed to complete the self tests ?
- should I donwload manually a firmware in the icd ??
- Actually , I tried but MPLAB blocks at ...
then only the progress bar in the status bar
I tried to abort it and then the icd wasn't detected by windows anymore.. had to erase and reprogram the 4550...[/code]
I built the icd according to the info posted by PiCS
there: **broken link removed**
( top of page 16)
I didn"t want to "pollute" the other thread with my struggling so I created another one.
Here is what I did after having the VPP voltage solved (see previous thread) thanks for the very helpfull advice there...
1- Reprogram new PICs
2- Insert new pics into icd ( no target device connected, 20MHZ crystal C8 = 220nf)
3- Connect icd: D4 & D5 are on ( widnows makes its "happy" sound notifying me that the device is plugged)
Microchip MPLAB ICD 2 firmware client is present in device manager
4- launch MPLAB ( 7.31))
5- Select icd as debugger ( auto connect is on)
Here is the output:
Code:
Connecting to MPLAB ICD 2
...Connected
then the following output
Code:
ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Connecting to MPLAB ICD 2
...Connected
ICD0286: Unable to communicate with ICD
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready
if I run the self tests ... I get this output
Code:
Running ICD Self Test
ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Connecting to MPLAB ICD 2
...Connected
ICD0286: Unable to communicate with ICD
ICD0082: Failed MPLAB ICD 2 operation
Could someone help me to sort out this problem.. ( I'm struggling since one week.....)
What info should I try to provide to allow someone to help me ( I don't have any fancy tools like scope or logic analyser....)
Can someone validate those assumptions:
The fact that windows detects the device means that:
- the 4550 works correctly
- the usb communication is good
- I should concentrate on the 877A
- the fact that D2 lit when I tried to donnload the firmware meand that the 877A is at least running ( clock ok ??) ???
- In the ICD documentation, I read that a target device must be connected in order to debug..
- is a target board needed to complete the self tests ?
- should I donwload manually a firmware in the icd ??
- Actually , I tried but MPLAB blocks at ...
Code:
Connecting to MPLAB ICD 2
...Connected
ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Connecting to MPLAB ICD 2
...Connected
ICD0286: Unable to communicate with ICD
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
...Connected
ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Connecting to MPLAB ICD 2
...Connected
ICD0286: Unable to communicate with ICD
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready
Downloading Operating System
I tried to abort it and then the icd wasn't detected by windows anymore.. had to erase and reprogram the 4550...[/code]
Last edited by a moderator: