• AVR Freaks

Hot!ICD2 "failure"

Author
Trevor Smith
Super Member
  • Total Posts : 211
  • Reward points : 0
  • Joined: 2013/07/22 11:42:07
  • Location: Peterborough UK
  • Status: offline
2019/12/13 12:58:36 (permalink)
0

ICD2 "failure"

Hi all,
Today I needed to plug my ICD2 into the other side of my laptop, because the USB cable was too short to reach target.
I'd not plugged it into that USB port before.
Immediately got into Win7 automatically installing driver problems, which I eventually sorted out.
 
So, I now have one ICD2 which will not connect in MPLAB IDE ........
Connecting to MPLAB ICD 2
...Connected
Connecting to MPLAB ICD 2
ICD0192: Failed to clear COM error.  (RetVal = 0xFFFFFFF0, ErrRet = 0x0)
ICD0082: Failed MPLAB ICD 2 operation
 
I do have another ICD2 which is still fine.
After Win7 driver problems sorted, it now works in all USB ports.
 
Any ideas on the "faulty"one please ?
 
Trevor
 
 
#1

5 Replies Related Threads

    KTrenholm
    Super Member
    • Total Posts : 787
    • Reward points : 0
    • Joined: 2012/08/08 14:04:23
    • Location: Connecticut, USA
    • Status: offline
    Re: ICD2 "failure" 2019/12/13 13:14:33 (permalink)
    0
    Do you have another PC somewhere you can test?  If it doesn't work on any PC, it might be worth giving Firmware Recovery a shot.  You could also try connecting via RS232 rather than USB and see if there's any difference in behavior.
     
    In MPLAB X:
    Debug > Hardware Tool Emergency Boot Firmware Recovery
     
    [EDIT] Are you using MPLAB Legacy or MPLAB X?
    post edited by KTrenholm - 2019/12/13 13:17:26
    #2
    Trevor Smith
    Super Member
    • Total Posts : 211
    • Reward points : 0
    • Joined: 2013/07/22 11:42:07
    • Location: Peterborough UK
    • Status: offline
    Re: ICD2 "failure" 2019/12/13 13:18:33 (permalink)
    +1 (1)
    Update, which I hope might help others .....
    Just plugged the "faulty" ICD2 into my poor old WIN XP laptop, with MPLAD IDE 8.92.00.00 and downloaded a new operating system to it and it worked ok.
     
    It now works ok again on the WIN7 laptop too !!!!
    It's fixed !!!!
    #3
    Trevor Smith
    Super Member
    • Total Posts : 211
    • Reward points : 0
    • Joined: 2013/07/22 11:42:07
    • Location: Peterborough UK
    • Status: offline
    Re: ICD2 "failure" 2019/12/13 13:24:40 (permalink)
    0
    Thanks for the reply Kyle,
    Your help may assist others too.
    Just successfully used both of my ICD2's to program a target ... all OK now.
    Very strange that I could not recover my mess in WIN7, but WIN XP laptop did it ok.
     
    I have now installed the correct drivers for every USB port on both of my WIN7 laptops ..... won't get caught out like this in the field again.
    Trevor
     
    post edited by Trevor Smith - 2019/12/13 13:27:13
    #4
    NKurzman
    A Guy on the Net
    • Total Posts : 18850
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: ICD2 "failure" 2019/12/13 15:19:07 (permalink)
    0
    Note the you can recover an ICD2 via its serial port if it is corrupted.
    #5
    Trevor Smith
    Super Member
    • Total Posts : 211
    • Reward points : 0
    • Joined: 2013/07/22 11:42:07
    • Location: Peterborough UK
    • Status: offline
    Re: ICD2 "failure" 2019/12/13 15:51:37 (permalink)
    0
    Thanks for the reply Neil,
    My Win7 laptops don't have COM ports.
    I couldn't get the XP laptop to connect through it's COM port, even with FIFO buffers off.
    I'm keen to continue this thread, in case it might help someone else in future.
    Trevor
     
    post edited by Trevor Smith - 2019/12/13 15:53:26
    #6
    Jump to:
    © 2020 APG vNext Commercial Version 4.5