• AVR Freaks

Hot!ICD3/ICD4 not detected by MPLAB 4 / 4.01

Author
skywaver
Starting Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2016/03/28 10:22:32
  • Location: 0
  • Status: offline
2017/09/18 04:37:49 (permalink)
5 (1)

ICD3/ICD4 not detected by MPLAB 4 / 4.01

I have a strange problem with the current MPLAB builds.
 
I have different versions on my PC as they all have their own bugs and advantages, however, currently I am using 3.51, 4.00 and 4.01. I have the problem of 4.00 not recognizing any of my debug tools.
I have removed the drivers, then reinstalled them from the driver switcher directory inside the 4.00 and 4.01 directory, but this does not change anything.
The old version of MPLAB X as well as the old IPE (both 3.51) will detect and use the tools (tested with two different ICD3).
The current versions will not list any of my tools within the selection window.
Device manager shows the device properly connected.
What else can I try?
#1

19 Replies Related Threads

    NKurzman
    A Guy on the Net
    • Total Posts : 19146
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/09/18 06:47:10 (permalink)
    0
    You can try clearing the two cache folders. They are listed in the about box.
    #2
    skywaver
    Starting Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2016/03/28 10:22:32
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/09/18 10:19:34 (permalink)
    4 (2)
    I've just tried clearing those folders. Next start of MPLAB took about one minute but the tools are still not recognised.
    Just to mention: I have UAC disabled on this machine.
     
    #3
    RISC
    Super Member
    • Total Posts : 5960
    • Reward points : 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/09/18 12:50:21 (permalink)
    3 (1)
    Hi,
    Which OS do you use ?
    How old is your PC ?
    Did you recently install any graphics driver update or antivirus ?
    Do you connect the ICD3/ICD4 directly to your PC USB connector (not through an external USB hub) ?
    Did you try to connect to different USB connectors on your PC (some may be USB 3.0 some USB 3.1)
    Regards
     
    #4
    skywaver
    Starting Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2016/03/28 10:22:32
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/10/05 16:02:17 (permalink)
    0
    Sorry for replying with a delay, but I've been out of office.
     
    I'm using Windows 7 64 Bit. My computer is pretty up to date, featuring a core i7-6950X, 16GB of ram and some other fancy hardware. I'm using a USB3 port directly connected to my Mainboard. I've tried front and rear ports, that does not make any difference. I do not have any USB2 ports to try on.
     
    But as I mentioned before:
    The ICD3 runs fine with older MPLAB X versions installed on the same computer. It is detected correctly and working as expected. All my ICDs show up correctly in device manager without issues.
    However, when running MPLAB IPE or X in version 4 or greater, the device list is completely empty.
    There must be something else going wrong...
    #5
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 4014
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/10/05 17:32:15 (permalink)
    4 (2)
    I thought all motherboards had at least 1 or 2 usb2 ports on the rear.
    I found pickit 3 used to work with usb3 then it didn't with different versions of mplab x.
     
    mplab x - it's a "constant" battle.
     

    MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
    https://www.youtube.com/watch?v=Iu1qa8N2ID0
    + ST:Continues, "What Ships are Made for", Q's back.
    #6
    skywaver
    Starting Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2016/03/28 10:22:32
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/10/05 17:38:45 (permalink)
    0
    Unfortunately, this is a Supermicro mainboard and it doesn't have any USB2 Port.
    I had some fun with this when installing Windows 7 as this doesn't have native USB3 support and I had to integrate some drivers first.
    I don't really believe this is an usb issue, maybe drivers or some broken configuration due to upgrading.
    Would be really helpful if microchip could look into this case as I do not really enjoy reinstalling my dev-pc with all the software that's on it...
    #7
    tgp
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2016/08/16 09:06:45
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/10/10 04:52:28 (permalink)
    0
    I have the same issue with MPLAB X v4.00 and v4.01 previous versions worked fine. I am using Windows 7 Pro 64 bit, Intel Xeon CPU 3.6GHz, 8GB RAM, HP Z420 Workstation. Was this issue resolved?
    #8
    skywaver
    Starting Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2016/03/28 10:22:32
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/10/10 04:58:47 (permalink)
    4 (2)
    Well, it started working out of a sudden. I don't know how long it will last and I haven't tested my new ICD4 so far. But my ICD3 was recognized yesterday. Seems like you have a pretty similar system. Also Socket 2011?
    #9
    olso4051
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2016/07/01 12:42:56
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/10/12 09:18:06 (permalink)
    0
    I have the same issue with the Pickit 3 not being recognized on MPlabX4.01.
    Which OS do you use ? Windows 7 64bit
    How old is your PC ? 2years
    Did you recently install any graphics driver update or antivirus ? not sure
    Do you connect the ICD3/ICD4 directly to your PC USB connector (not through an external USB hub) ? Yes
    Did you try to connect to different USB connectors on your PC (some may be USB 3.0 some USB 3.1) ? Yes
    #10
    tgp
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2016/08/16 09:06:45
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2017/10/12 10:22:02 (permalink)
    0
    Noticed on MPLABX 4.XX the platform Tool SN is missing in the ProjectName.X\nbproject\private\configurations.xml file.
    Adding  the following in your  ProjectName.X\nbproject\private\configurations.xml file adds the debug tool SN in the Dashboard but still doesn’t connect if that is any help.
    <platformToolSN>:=MPLABComm-USB-Microchip:=<vid>04D8:=<pid>9009:=<rev>0100:=<man>Microchip Technology, Inc. (www.microchip.com):=<prod>MPLAB ICD3 tm (www.microchip.com):=<sn>JIT_Enter_Your_ICD_SN_Here:=<drv>x:=<xpt>b:=end</platformToolSN>
    #11
    dburd
    Starting Member
    • Total Posts : 11
    • Reward points : 0
    • Joined: 2016/10/11 05:08:46
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2018/05/04 12:14:15 (permalink)
    5 (1)
    Anybody resolved this yet?  I updated from 3.3 to 4.15 and have this problem too.
    #12
    tgp
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2016/08/16 09:06:45
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2018/05/04 12:50:44 (permalink)
    5 (1)
    I solved this issue by using the rear USB port of my PC instead of the front USB port for the ICD.
    #13
    Carsten22
    Starting Member
    • Total Posts : 10
    • Reward points : 0
    • Joined: 2018/10/24 17:03:10
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2018/11/09 11:17:05 (permalink)
    5 (1)
    I might be missing something but I am having this same problem and have not seen any clear solutions.  I just recently began using the ICD4 and it was a little flaky at first and then seemed to settle in.  Have seen flakiness in previous microchip programmer/debuggers so giving it a kick seemed not unusual. Now I can not communicate with it at all.  It would sometimes and sometimes not show the serial number of the ICD4, which appears to say it has communicated with the device.  The blue LEDs are constantly on.I am using the usb cable that came with the ICD4.  I am using MPLAB X IDE v5.05 running on Windows 10 Home version. The above posts are now dated and am wondering if a solution has been found and posted and that I am just missing it.
     
    The Microchip web page for the ICD4  doesn't offer any solutions.  It does have a document about Uninstalling Incorrect USB Device Drivers.  Its from 2011 and the drivers it refers to as incorrect are not not the current drivers windows uses.
     
    I have tried connecting to various USB ports, reinstalling drivers, closing MPLAB and restarting, powering down and restarting both the ICD4 and computer.
     
    The ICD4 manual  some troubleshooting tips all can't do anything if MPLAB does not see the device.  It has a section for invoking bootload mode.  Does not work MPLAB does not see the ICD 4.  The next section 4.4.3 comes with dire warnings. EMERGENCY BOOT FIRMWARE RECOVERY UTILITY FOR for use in rare situations, if it does not work on any other machine.  I will try other machines first.
     
    If I find a solution I will post it so that others don't have to go through this.
     
     
    #14
    Carsten22
    Starting Member
    • Total Posts : 10
    • Reward points : 0
    • Joined: 2018/10/24 17:03:10
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2018/11/15 14:49:48 (permalink)
    5 (1)
    Not sure what the cause was.  I suspect windows but I don't know.  Saw the ICD 4 with my laptop, both machines using MPLAB X v 5.05.  Installed v5.10 on first machine which did not see the ICD 4 and it worked.  
    #15
    rpc48gx
    Super Member
    • Total Posts : 342
    • Reward points : 0
    • Joined: 2003/11/07 12:52:16
    • Location: Brighton, UK
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2020/12/23 03:45:16 (permalink)
    4 (1)
    I am having this problem on ubuntu using mplab x ide 4.2
    Just suddenly, out of the blue, it just wont talk to the ICD-3
    lsusb shows the dive in the USB list.
    I have tried different USB ports.
    I have tried different ICD-3s
    I have re started mplabx
    ARRRRGGHH
     
    Not warning message or error message or any clkue, just inaction. A failure to connect to or program the PCB I have
    ready on my desk.
    Its like the mplabx ide  4.2 does not know the ICD3 is there.
     
     
    Have sent more time fighting this than the embedded technical problem I am trying to investigate.
     
     
    VERY VERY FRUSTRATING.
    WHY Arre the drivers so flaky?
     
    post edited by rpc48gx - 2020/12/23 03:48:09
    #16
    rpc48gx
    Super Member
    • Total Posts : 342
    • Reward points : 0
    • Joined: 2003/11/07 12:52:16
    • Location: Brighton, UK
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2020/12/23 04:02:02 (permalink)
    0
    OK now after second restart of MPLAB it see one of them
     

    Now Downloading new Firmware for target device: PIC18F25K80
    Downloading RS...
    RS download complete
    Programming download...
    Transmission on endpoint 2 failed
    The target circuit may require more power than the debug tool can provide. An external power supply might be necessary.
    Connection Failed.
    If the problem persists, please disconnect and reconnect the ICD 3 to the USB cable. If this does not fix the problem verify that the proper MPLAB X USB drivers have been installed.

    *****************************************************
    Transmission on endpoint 2 failed
    The target circuit may require more power than the debug tool can provide. An external power supply might be necessary.
    Connection Failed.
    If the problem persists, please disconnect and reconnect the ICD 3 to the USB cable. If this does not fix the problem verify that the proper MPLAB X USB drivers have been installed.

    *****************************************************
    Transmission on endpoint 2 failed
    The target circuit may require more power than the debug tool can provide. An external power supply might be necessary.
    Connection Failed.
    If the problem persists, please disconnect and reconnect the ICD 3 to the USB cable. If this does not fix the problem verify that the proper MPLAB X USB drivers have been installed.

    *****************************************************
    Transmission on endpoint 2 failed
    The target circuit may require more power than the debug tool can provide. An external power supply might be necessary.
    Connection Failed.
    If the problem persists, please disconnect and reconnect the ICD 3 to the USB cable. If this does not fix the problem verify that the proper MPLAB X USB drivers have been installed.

    *******

     
     
    I get the red endpoint2 message (which points at the 5V kind of on the test board) but I know that one, it actually means its goofed the permissions in the /dev/bus/usb directory
    to fix it you do a
    $ cd /dev/bus/usb 
    $ sudo chmod 0777 */*


    #17
    OsvaldoH
    Starting Member
    • Total Posts : 88
    • Reward points : 0
    • Joined: 2012/11/24 12:49:19
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2020/12/30 11:08:23 (permalink)
    0
    I buyed recently a pickit4

    I have installed MPLABXv5.30  in a small notebook with  Window10

    I will use pic1826q10  (from 2018 -2019) so it is included in v5.30

    --------------------------------


    Open IPE and seted processor

    Pluged Pickit4 and pressed conect

    Waited for new OS and soft loading


    I have connected a board with minimal connections


    I need to enter settings - advance (password = microchip) an check power target from pickit4


    I am very happy - it works !!!  


    So I can recomend try to use v5.30


    --------------------------------------------


    I use  until now MPLAB 8.92 in a PC with WindowsXP SP3

    Also used ICD3 for programing.

    I don't like to modify ICD3 for MPLABX because it will not works anymore with the old MPLAB.  So I buyed the Pickit4 and installed in the W10 machine.


    Unfortunately I need to use MBLABX 5.30  for the new part.   

    And I will not use more new version because I used only MPASAM - it is not present in more recent versions

    For compile and debug in simulation  it works.   


     PROBLEM - for pickit4  I can´t find the usb drivers (windowsXP) , if there are


    I placed a post but no replay  https://www.microchip.com...1161552.aspx?tree=true


    Regards Osvaldo


    #18
    RISC
    Super Member
    • Total Posts : 5960
    • Reward points : 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2020/12/30 14:28:12 (permalink)
    0
    Hi,
    If you install both MPLAB and MPLABX on a computer, and want to use the same tools, then you must use the utility called MPLAB Driver switcher which is automatically installed by MPLAB X : 
    c:\Program Files (x86)\Microchip\MPLABX\v5.40\Switcher\64Bit\
    However, I recommend to have 2 different tools otherwise when you go from MPLAB to MPLABX or viceversa, you need to use driver switcher and then the tool will reload a new firmware...
    Regarding Pickit4, it is a recent tool. It is validated on MPLAB X with Windows 10 PRO. When it became available (3 years ago?) windows XP support was discontinued so you won't find anything...
    Regards

    For support make sure to check first here : http://microchipdeveloper.com
    There are hundreds of PIC, AVR, SAM...which one do YOU use ?
    #19
    OsvaldoH
    Starting Member
    • Total Posts : 88
    • Reward points : 0
    • Joined: 2012/11/24 12:49:19
    • Location: 0
    • Status: offline
    Re: ICD3/ICD4 not detected by MPLAB 4 / 4.01 2020/12/30 19:38:15 (permalink)
    0
    Thank you for the reply.
     
    I agree about having two tools.  I can get a Pickit3 and I have also an ICD3. I had no problem with MPLAB8.9
     
    Do you think I can get operating one of them in my WindowsXP  PC , with MPLABX 5.30  ?
    I don't  like to do many soft replacements in the tools.
    I tested ICD3 with MPLABx3.2 and found "not compatible driver"
    In V5.30 there is not this information but also ICD3 don't works.
    I am afraid to do experiments with ICD3
     
    I will wait some sugestions
     
    I was moving a very long assemble code from pic16f1825  to pic18f26q
    After a lot of work, I get compiling with no errors and  in the board verifyed osc. out working OK
     
    Best Regards
     
     
    #20
    Jump to:
    © 2021 APG vNext Commercial Version 4.5