• AVR Freaks

Hot!PICKIT 4 not detecting

Author
Kartha
New Member
  • Total Posts : 13
  • Reward points : 0
  • Joined: 2017/07/14 21:44:40
  • Location: 0
  • Status: offline
2020/01/13 03:00:56 (permalink)
0

PICKIT 4 not detecting

Hi everyone. I purchased a PICKIT 4 last year which is very convenient when comes to program PIC32 micros. Unfortunately few days back it stopped working . Leds are turned off and the device itself is mentioned as "Bossa Program Port (COM27)"  in the device manager. By reading the Pickit4 user manual I tried Hardware Tool Emergency Firmware Boot Recovery Utility, but sadly it did't work for me. Do anyone faced the same issue? Can anyone suggest a method for recovery?
Thanks in advance.    
#1

19 Replies Related Threads

    crosland
    Super Member
    • Total Posts : 1779
    • Reward points : 0
    • Joined: 2005/05/10 10:55:05
    • Location: Warks, UK
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/13 07:43:58 (permalink)
    +1 (1)
    I had a brand new one that enumerated once and then wouldn't work for love nor money after installing. It came back to life after a reboot (Windows).
     
    Microchip support are VERY, VERY good, even for the little guys, at least here in the UK, with dev tools and had a replacement ready to ship within a day or so of me opening a ticket and explaining the issue.
     
    It's definitely worth opening a support ticket.
     
    If only the tool developers and forum admins were as switched on.
    #2
    NKurzman
    A Guy on the Net
    • Total Posts : 18266
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/13 08:12:44 (permalink)
    +1 (1)
    https://www.microchip.com/cisar/Home.aspx
    #3
    Ken_Pergola
    Super Member
    • Total Posts : 2198
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/13 08:31:41 (permalink)
    +1 (1)
    Kartha
    ...I tried Hardware Tool Emergency Firmware Boot Recovery Utility, but sadly it didn't work for me...



    Hello Kartha,
     
    1) Do you have another computer you could try the 'Hardware Tool Emergency Boot Firmware Recovery' on?
    2) What version of MPLAB X IDE or MPLAB X IPE did you try that did not work for you?
     
    Best regards and thank you,
     
    Ken
    #4
    Kartha
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2017/07/14 21:44:40
    • Location: 0
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/19 07:43:43 (permalink)
    0
    Hi Ken, thanks for your valuable suggestions. I will try 'Hardware Toll Emergency Boot Recovery' on another PC, and I will update the result. 
    The MPLAB IDE and IPE version is 5.05. I just run the recovery process on this version. But the process failed.
    Thanks for your support.
      
    #5
    Kartha
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2017/07/14 21:44:40
    • Location: 0
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/19 07:51:38 (permalink)
    0
    Hi Crosland, rebooting my windows 7 PC doesn't solve the problem. In fact I didn't tried for microchip support. As you suggested I will open a ticket on microchip support, before that I have to try some suggestions made by one of the forum member Ken.
    Thanks for your support.
    #6
    Kartha
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2017/07/14 21:44:40
    • Location: 0
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/19 07:53:14 (permalink)
    0
    Thanks man.
    #7
    Ken_Pergola
    Super Member
    • Total Posts : 2198
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/19 23:08:24 (permalink)
    0
    Kartha
    ...I will try 'Hardware Toll Emergency Boot Recovery' on another PC, and I will update the result. 
    The MPLAB IDE and IPE version is 5.05...



    Hello Kartha,
     
    I don't have a MPLAB PICKit 4 tool in front of me now to test against MPLAB X IDE/IPE v5.05.
     
    If you have the time and desire (I know this is frustrating) may I suggest you try the latest MPLAB X IDE/IPE public installer v5.30?:
    https://www.microchip.com/mplabx-ide-windows-installer
     
    I would also try to USB-unplug all other Microchip tools you may have connected to the system so that you just have the MPLAB PICkit 4 connected. Make sure you remove and re-connect the MPLAB PICkit 4 tool at the appropriate times the 'Hardware Tool Emergency Boot Firmware Recovery' wizard tells you to. I sometimes space out and click too fast and end up starting over again.
     
    You seem to be so close to success. Let us know if your are able to get the tool up and running again.
     
    Best regards,
     
    Ken
    #8
    Ken_Pergola
    Super Member
    • Total Posts : 2198
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/19 23:24:35 (permalink)
    +1 (1)
    Hello Kartha,
     
    If you are still stuck there is a 'USB Tool Connection Diagnostics' utility here that Jim Nickerson kindly linked in one of his posts in the past:
    https://www.microchip.com/forums/m1106715.aspx#1106888
     
    If you get the output I will consult with the developer who wrote it to see if there is anything in the log that could help us diagnose your problem.
     
    Best regards,
     
    Ken
     
    P.S. Thanks Jim! I was trying to find that utility but was drawing a blank. :(
    #9
    Jim Nickerson
    User 452
    • Total Posts : 6474
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/20 08:00:34 (permalink)
    0
    Ken,
    You are very welcome.
    I have found it very useful.
    #10
    Kartha
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2017/07/14 21:44:40
    • Location: 0
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/20 18:18:21 (permalink)
    0
    Hi ken, thank you very much, the problem just solved. As you said I have tried the 'Hardware Tool Emergency Boot firmware recovery' on another windows PC which have MPLAB IDE version 5.10. And the recovery got successful. But another problem just started, Pickit4 always shows device ID error when programming. I tried to program PIC24, dspic and PIC32MZ series but the result is the same - 'Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.'. So I think I should go for a microchip support ticket What you think?
    Thank you very much Ken.
    post edited by Kartha - 2020/01/20 18:20:20
    #11
    Ken_Pergola
    Super Member
    • Total Posts : 2198
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/20 19:12:28 (permalink)
    0
    Kartha
    ...But another problem just started, Pickit4 always shows device ID error when programming. I tried to program PIC24, dspic and PIC32MZ series but the result is the same - 'Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.'. So I think I should go for a microchip support ticket What you think?...



    Hello Kartha,
     
    It might be something simple & quick to solve here in the forums but it begs some questions.
     
    Is this a case in which the PIC24, dsPIC and PIC32MZ devices are programming fine with a different Microchip tool but the MPLAB PICkit 4 tool can't (and gives you this invalid Device ID)?
     
    Let's start with the above question which may lead to some follow-ups...
     
    Best regards,
     
    Ken
    #12
    Kartha
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2017/07/14 21:44:40
    • Location: 0
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/20 22:13:06 (permalink)
    0
    Hi Ken as you said I have programmed one of my controller (PIC24FJ64GA702) with PICKIT4 first then following message appears - "Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.
    Programming did not complete.You are trying to change protected boot memory. In order to do this you must select the "Boot, Secure and General Segments" option on the debug tool Secure Segment properties page. "
    Then I used Snap ICD then controller programmed correctly with no time. So it's not a connection issue. Please help me with this. I have used another PC and repeated the same but no success.
    Thank you for your great help.
    #13
    Ken_Pergola
    Super Member
    • Total Posts : 2198
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/20 23:22:42 (permalink)
    0
    Kartha
    ...(PIC24FJ64GA702) with PICKIT4 first then following message appears - "Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device...
     
    ...Then I used Snap ICD then controller programmed correctly with no time. So it's not a connection issue...I have used another PC and repeated the same but no success...



    Hi Kartha,
     
    Can you show us a picture of your entire setup including the MPLAB PICKit 4 and ICSP cable ? Sometimes that triggers additional questions whose answers may lead to a resolution.
     
    Also to help anyone reproduce the issue:
     
    1) What MPLAB X IDE/IPE version are you using?
    2) What is the Vdd voltage (w.r.t. Vss) is being supplied to the PIC24FJ64GA702?
    3) What is the capacitance value of Vcap?
    4) Are the PIC24FJ64GA702's AVdd & AVss pins connected appropriately?
     
    Thank you Kartha.
     
    There is a possibility your MPLAB PICkit 4 could be damaged. Microchip will replace it if needed. But it is always good to double-check things.
     
    Best regards,
     
    Ken
    #14
    Kartha
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2017/07/14 21:44:40
    • Location: 0
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/21 00:07:10 (permalink)
    0
    Hi ken,
    1) What MPLAB X IDE/IPE version are you using?
               MPLAB XIDE v5.05, and MPLAB IPE v5.05.
    2) What is the Vdd voltage (w.r.t. Vss) is being supplied to the PIC24FJ64GA702?
              There is an FT232 USB to USART converter on my control board, I'm using the regulated 3v3 from this IC as  the power supply of my controller. And when I measure it, it shows 3.27 Volts.
    3) What is the capacitance value of Vcap?
              10uF as specified in data sheet.
    4) Are the PIC24FJ64GA702's AVdd & AVss pins connected appropriately?
               Yeah I'm pretty sure that its connected correctly, since the code is configuring the ADC for measuring multiple                         channels and is working fine.
    As u said I have attached a Picture of my programming setup, in this same way I have programmed using SNAP and its working fine.
    Thank you very much.
     
    post edited by Kartha - 2020/01/21 00:09:51

    Attached Image(s)

    #15
    Ken_Pergola
    Super Member
    • Total Posts : 2198
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/21 00:53:47 (permalink)
    0
    Kartha
    ...There is an FT232 USB to USART converter on my control board, I'm using the regulated 3v3 from this IC as  the power supply of my controller. And when I measure it, it shows 3.27 Volts...



    Hello Kartha,
     
    If you or any of your colleagues do not have another MPLAB PICkit 4 to try I think you have done your due diligence and are in a position to get a replacement MPLAB PICkit 4 from Microchip.
     
    Please contact support here (https://support.microchip.com) and reference this Microchip Forum thread we are conversing in (https://www.microchip.com/forums/m1124620.aspx).
     
    I am so sorry you ran into all of this trouble and frustration. I am not sure how your MPLAB PICkit 4 got into this original state. If the MPLAB PICkit 4's Emergency Recovery Button was not inadvertently depressed (sometimes customers think it is a reset button) perhaps something damaged your MPLAB PICkit 4 which is now causing your new problem. Contact support above to initiate a replacement.
     
    Thank you Kartha for your patience and for your time in trying to provide clues. Thank you for using Microchip and for your patronage.
     
    Best regards,
     
    Ken
     
     
     
     
     
     
     
    #16
    Ken_Pergola
    Super Member
    • Total Posts : 2198
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/21 01:06:02 (permalink)
    0
    Hello Kartha,
     
    I had a posting mishap -- sorry for this separate message. I forgot to thank you. Thanks Kartha for taking the time to take and upload the photo -- it was really helpful in my opinion.
     
    At first I thought that perhaps your board was drawing too much from the FTDI module's 3.3 V supply (not sure if the limit is 50 mA max) but the MPLAB Snap ICD works for you.
     
    As a last ditch effort, maybe trying the latest MPLAB X IDE/IPE v5.30 would yield a different result with the MPLAB PICkit 4? I understand if you have reached your limit though. Thanks for your patience and understanding.
     
    Best regards,
     
    Ken
     
    P.S. Please let us know if the replacement unit solves your issue when you receive it.
    #17
    Kartha
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2017/07/14 21:44:40
    • Location: 0
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/21 02:11:39 (permalink)
    0
    Hi ken as you said I will try using latest version of the IDE. But now am busy with a project, after finishing that I will update the result. And by that time I will seek microchip support for a replacement.
    Thanks Ken.
    #18
    Kartha
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2017/07/14 21:44:40
    • Location: 0
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/21 04:15:03 (permalink)
    0
    Hi Ken, I installed the latest IDE 5.30 but no success. The programmer shows the same device ID  error. So what do you think? Is it right time for getting support from microchip for a replacement?
    Thank you very much Ken.
    #19
    Ken_Pergola
    Super Member
    • Total Posts : 2198
    • Reward points : 0
    • Joined: 2003/11/07 12:48:48
    • Status: offline
    Re: PICKIT 4 not detecting 2020/01/21 08:10:58 (permalink)
    0
    Kartha
    ...I installed the latest IDE 5.30 but no success. The programmer shows the same device ID  error...Is it right time for getting support from microchip for a replacement?...



    Hi Kartha,
     
    Thanks again for that one last try and data point with MPLAP X IDE/IPE v5.30.
    Yes, I would say that it is time for contacting Microchip support so they can get a replacement sent to you.
     
    Best regards and thank you,
     
    Ken
    #20
    Jump to:
    © 2020 APG vNext Commercial Version 4.5