SOLVED - ICD4 not connecting after updating toolpack - Page 1
Forum section: electronics / projects

author: ricko_uk
author_rank: Super Contributor
timestamp: November 03, 2021, 02:17:44 am
content: UPDATE: I made this post with list of solutions on this and other issues. I hope it helps others too.https://www.eevblog.com/forum/projects/solved-mplab-1)-slowno-variables-updates-2)-icd4-not-connecting-3)-others/Hi,after updating MPLABX to the latest ICD4 toolpack update (to try various things to sort out the array init issue mentioned yesterday in the other post) the ICD4:- does connects to the PC, you can hear the USB succesfull connection sound- it appears in the device manager tree in its own "Microchip Tools" section as "Microchip WinUSB Device"-butis not seen by MPLABI tried all the usual (unplugging, restarting MPLAB, etc) but it does not appear anywhere in MPLAB and when running to run the ICD4 diagnostics from MPLAB it says:"Could not connect to the selected hardware tool. Please make sure the tool is not being used by another project in MPLAB X."No other project uses it as I have only 1 project open and only 1 MPLAB instance running.Few questions:1) any suggestions how to fix it?2) how can I revert to the previous toolpack which was working yesterday?3) doe the ICD4 appear ONLY as "Microchip WinUSB Device" in its own "Microchip Tools" section in the device manager tree? i.e. there and only there and with that name?Thank you as always!

author: sicco
author_rank: Regular Contributor
timestamp: November 05, 2021, 11:53:17 am
content: Same just happened to me with my ICD4. It does show in win11 device manager up as "Microchip WinUSB Device" and that's what it should do. Only thing I notice is that before today, when plugging in the USB cable there were not only beeps but there was more, like a popup message saying something like MPLAB ICD4 serial nr blabla inserted. Not anymore today...My ICD4 led bar colors do go purple/yellow/blue as before.Went to an older Win7 PC, and there all was working fine in MPLAB (v5.25) with the same ICD4.Although it does the FPGA update - but that it often did anyway when switching from old/new versions.Went back to the W11 PC, and in MPLAB it failed again to recognize the ICD4.Went to the IPE (the programmer only PC tool, same version as MPLAB, v5.45). Same W11 PC. That worked without any issues...Closed the IPE, back to MPLAB X IDE, and again no luck. The ICD4 is not detected in MPLAB on this PC.Tried to connect via USB-C/3 port on my HP W11 laptop. - that did not help.Went to the IPE (the programmer only PC tool, same version as MPLAB, v5.45. That works without any issues...Closed the IPE, back to MPLAB X IDE, and again no luck. The ICD4 is not detected in MPLAB on this PC.Root cause here also appears to be an update by Microchip. Clicking 'accept' too easily when it pushed me to update... The same MPLAB v5.45 on same machine and same ICD4 worked just fine yesterday...So I'm also stuck for now...

author: sicco
author_rank: Regular Contributor
timestamp: November 05, 2021, 12:20:15 pm
content: So I downloaded latest version MPLAB X. That is v5.50 today. That fixed the issue for me. For today...Fingers crossed.

author: ricko_uk
author_rank: Super Contributor
timestamp: November 05, 2021, 08:34:05 pm
content: UPDATE: I made this post with list of solutions on this and other issues. I hope it helps others too.https://www.eevblog.com/forum/projects/solved-mplab-1)-slowno-variables-updates-2)-icd4-not-connecting-3)-others/