• AVR Freaks

AnsweredHot!chabb

Page: 12 > Showing page 1 of 2
Author
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
2020/09/04 10:43:16 (permalink)
2.33 (3)

chabb

To program one Pic 18f25k42 using MPLABx I recently buy the tool "MPLAB PICkit4. Connecting Pickit4 on USB on my PC
no light illuminates. Please what is wrong
#1
NKurzman
A Guy on the Net
  • Total Posts : 18976
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: chabb 2020/09/04 11:17:58 (permalink)
+1 (1)
Does the Light on the PICKit4 light if it is the plugged in to the PC and Not the PIC?
Have you checked the USB Port with another USB Device?
What version of MPLab did you Install?
Does the USB Device show up on the PC? (What OS are you using)?
#2
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
Re: chabb 2020/09/05 01:52:27 (permalink)
0
Thank you NKurzman. I plugged Pickit4 on 2 PC. Yes I try an USB kee that is read correctly. The OS is
Windows 7. Mplab V5.30. When I plug or unplug pickit4 the PC emit a sound.
When plugging the pickit4 his light would be red then blue, but no light appears. Nevers.
I use the Usb cable shepped whit the Pickit 4. May be The Pickit 4 is out of service? Is there a fuse?
When I plug  the pickit4 The PC send a message :"Periferique non identifié - Windows does not find a pilote".
Thank you for your help.
post edited by Chabb - 2020/09/05 06:20:03
#3
PStechPaul
Super Member
  • Total Posts : 2951
  • Reward points : 0
  • Joined: 2006/06/27 16:11:32
  • Location: Cockeysville, MD, USA
  • Status: offline
Re: chabb 2020/09/05 03:08:52 (permalink)
0 (2)
Check the drivers that are installed for the PICkit4. They may not be compatible with Win7. You might also try installing and using an older version of MPLABX, or even 8.92, although that might not work with the PICkit4. I still use my PICkit3 and I also have a PICkit2 (and a PICkit1 and ICD2), but haven't used them for years.

 
#4
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
Re: chabb 2020/09/05 06:34:10 (permalink)
0
Thank you PStechPaul How to chek the drivers that are installed for the Pickit4
#5
dan1138
Super Member
  • Total Posts : 3918
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
Re: chabb 2020/09/05 15:05:38 (permalink)
+1 (1)
Chabb
To program one Pic 18f25k42 using MPLABx I recently buy the tool "MPLAB PICkit4. Connecting Pickit4 on USB on my PC
no light illuminates. Please what is wrong

Your PICkit4 may be in the "recovery "mode.
 
See this thread: https://www.microchip.com/forums/FindPost/1045185
#6
PStechPaul
Super Member
  • Total Posts : 2951
  • Reward points : 0
  • Joined: 2006/06/27 16:11:32
  • Location: Cockeysville, MD, USA
  • Status: offline
Re: chabb 2020/09/05 20:50:23 (permalink)
+1 (1)
Chabb
Thank you PStechPaul How to chek the drivers that are installed for the Pickit4


Use "Device Manager" in the Control Panel. You should see the USB device when it is plugged in and enumerated. You can then see if the device is (supposedly) working properly, and you can try updating the driver, or you can remove it and allow the application to reinstall it.

 
#7
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
Re: chabb 2020/09/06 08:16:03 (permalink)
+1 (1)
Hello PStechPaul. Dans le gestionnaire de peripheriques je vois un "Peripheriqu inconnu" Windows ne trouve pas de pilote pour ce peripherique.
#8
dan1138
Super Member
  • Total Posts : 3918
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
Re: chabb 2020/09/06 11:50:40 (permalink)
+1 (1)
Français
Hello PStechPaul. Dans le gestionnaire de peripheriques je vois un "Peripheriqu inconnu" Windows ne trouve pas de pilote pour ce peripherique.

 
English
Hello PStechPaul. In the device manager I see an "Unknown Peripheral" Windows cannot find a driver for this device.

 
There are quite a few things that can cause any USB device to show as an "Unknown Peripheral" in Windows. They range from staggering simple to incomprehensibly complex.
 
We should check the simple ones first.
  • The PICkit 4 uses a USB-Type-A to USB-Micro-B cable. Try several new cables.
  • The USB-Micro-B connector that is on the device do fail so inspect the PICkit4 to see if there is anything wrong with the connector on the PCB. Is the debris in the connector? Is it still soldered to the PCB correctly?
Next check that the controller in the PICkit4 functions. This is more complex. This controller has a built in USB loader that will cause the PICkit4 to be found by the USB host driver in Windows as a USB CDC device using the generic drive that is already installed in the OS.
 
Use the MPLABX IPE v5.40 application and select the menu:
  • Tools->Hardware Tool Emergency Boot Firmware Recovery
This dialog box will show you how to reload the Microchip PICkit4 firmware using the USB loader built into the controller in the PICkit4.
 
This process is tricky any you may need to try it several times before you can be certain that the PICkit4 has a destroyed controller.
 
If you cannot restore the PICkit4 firmware with the recovery procedure you will need to buy a new one.
 
I am not saying yours is definitely dead, just you do not have enough experience yet to fix it.
#9
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
Re: chabb 2020/09/06 12:15:25 (permalink)
0
Thank you dan1138 for this long explanation. I have to load Mplab x ipe V5.40 and try the recovery procedure. I don't see any damage on the micro usb connector. Thank you.
#10
Ken_Pergola
Super Member
  • Total Posts : 2248
  • Reward points : 0
  • Joined: 2003/11/07 12:48:48
  • Status: offline
Re: chabb 2020/09/06 14:09:00 (permalink)
+3 (3)
Bonjour Chabb,
 
Before you try the 'Hardware Tool Emergency Boot Firmware Recovery' it would be helpful for you to try something.
 
First some background:
The MPLAB ICD 4, MPLAB PICkit 4, MPLAB PKoB 4, and MPLAB Snap ICD tool all use an ATSAME70 MCU.
(ATSAME70Q21B for the MPLAB ICD4, and MPLAB PICkit 4, and ATSAME70N21B for the MPLAB PKoB 4 and MPLAB Snap ICD.)
 
The ATSAME70 MCU has a ROM-based (fixed, not erasable) program called SAM-BA (SAM Boot Assistant).
SAM-BA will USB-enumerate as Virtual COM port.
 
It could be that the MPLAB PICKit 4's 'Emergency Recovery Button' was pressed (via the small hole near the USB connector) while being plugged into the USB port. If this happens the SAM-BA will be active and no lights will be active on your MPLAB PICkit 4 tool after a subsequent power cycle of the tool. This is because the 'ERASE' pin on the ATSAME70 MCU ultimately gets asserted which erases the tool's Application and Bootloader programs which are responsible for controlling the LEDs.
 
In any event, SAM-BA will USB-enumerate as a Virtual COM port so it will be easy to know if your MPLAB PICkit 4 is in SAM-BA mode -- you should see 'AT91' (or sometimes inadvertently as 'Bossa' if I remember correctly).
 
Could you try this?:
When you plug your MPLAB PICkit 4 into the PC (and no lights are lit as you have stated in your original post), in the USB list, do you see 'AT91' (or sometimes 'Bossa')? If you have a Windows machine you can look at Device Manager or use a free utility such as USB View.
 
If you don't see 'AT91' (or sometimes 'Bossa'), then try the 'Hardware Tool Emergency Boot Firmware Recovery'.
The full details of this is documented in the MPLAB PICkit 4 In-Circuit Debugger User's Guide on Microchip's web site: http://ww1.microchip.com/downloads/en/DeviceDoc/MPLAB_PICkit_4_In-Circuit_Debugger_User's_Guide_50002751E.pdf
 
What the 'Hardware Tool Emergency Boot Firmware Recovery' does (in a nutshell) is to utilize the ROM-based SAM-BA to re-program the Microchip custom flash-bassed Bootloader into the tool. Then, when you USB-unplug/re-plug the tool will execute the flash-resident Microchip custom Bootloader.
 
In this state with the flash-resident Microchip custom Bootloader running, MPLAB X IDE/IPE should now recognize the Microchip Bootloader and then will bootload the Application firmware into the tool and you should be up and running again.
 
I hope this helps.
 
Best regards,
 
Ken
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
#11
NKurzman
A Guy on the Net
  • Total Posts : 18976
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: chabb 2020/09/06 15:08:17 (permalink)
+1 (1)
If you can’t get the PICKit4 working.
You can either return it to the place you bought it, for exchange.
Or use this link.

https://www.microchip.com/cisar/Home.aspx
#12
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
Re: chabb 2020/09/08 05:19:42 (permalink)
0
Thank you Ken_Pergola.
When I plug in the pickit 4, in the USB list I see only "unknown peripheral" I try many times the emergency boot firmware recevery; the procedure seems run correctly but nothing changes always no light.
#13
NorthGuy
Super Member
  • Total Posts : 6350
  • Reward points : 0
  • Joined: 2014/02/23 14:23:23
  • Location: Northern Canada
  • Status: offline
Re: chabb 2020/09/08 06:31:21 (permalink)
+1 (1)
Chabb
Hello PStechPaul. Dans le gestionnaire de peripheriques je vois un "Peripheriqu inconnu" Windows ne trouve pas de pilote pour ce peripherique.



If your PC has several USB ports, try connecting to different ports. If your keyboard and mouse connect to USB, try connecting them to different ports too - there may be an interference.
 
However, 90% chance that there's something wrong with PICkit4. So the best way is to contact Microchip support.
#14
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
Re: chabb 2020/09/10 05:23:55 (permalink)
0
Hello NKurzman. I send a complaint to cisar/home.aspx three days ego. No response at this time. I suppose my pickit 4 is not dead; it is in recovery mode and is not recognized by the PC but MPLAB X IPE does not take care. same thing on 2 PC (one 64 bits Windows 7 family or one 32 bits Windows 7 pro). regards.
#15
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
Re: chabb 2020/09/13 05:06:54 (permalink)
0
Hello Dan1138. I instal IPE v5.40  in menu tools there is not "Hardware Tool Emergency Boot Firmware Recovery" and also there is not the assembler prog.
#16
dan1138
Super Member
  • Total Posts : 3918
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
Re: chabb 2020/09/13 11:41:47 (permalink)
+1 (1)
Chabb
Hello Dan1138. I instal IPE v5.40  in menu tools there is not "Hardware Tool Emergency Boot Firmware Recovery" and also there is not the assembler prog.

Attachments are not available: Download requirements not met

Attachment(s)

Attachments are not available: Download requirements not met
#17
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
Re: chabb 2020/09/14 11:30:15 (permalink)
0
Dan1138 IPEv5.40 I have not "operate" only "Favorites" Under TOOLS are :
Add to Favorites; Templetes; Plygins; Plugins download; options.
I loaded IPE v5.40 on a PC  portable in Windows 7 family. It seems IPE does not Function.
I have the same as you whit v5.35 but Hardware tool emergency cannot reenter the firware 
because pickit4 is not recognised by the USB port.
Thank you for your response to my problem.
#18
dan1138
Super Member
  • Total Posts : 3918
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
Re: chabb 2020/09/14 12:32:23 (permalink)
+1 (1)
Chabb
Dan1138 IPEv5.40 I have not "operate" only "Favorites" Under TOOLS are :
Add to Favorites; Templates; Plugins; Plugins download; options.
I loaded IPE v5.40 on a PC  portable in Windows 7 family. It seems IPE does not Function.
I have the same as you whit v5.35 but Hardware tool emergency cannot reenter the firmware
because pickit4 is not recognised by the USB port.
Thank you for your response to my problem.

What I understand of what you have posted is that your PICkit4 is not enumerated by any computer you plug it in to.
  • It could mean that you may have destroyed your PICkit4 in a way that it cannot be recovered.
  • Or it could mean that all of the USB cables you have tried do not work.
  • Or it could mean that all of the computers you have connected your PICkit4 have something that blocks USB device enumeration.
  • Or it could mean that the Microchip tools fail when using a non-English language version of Windows.
  • Or it could mean that you need to use the administrator account to enumerate USB devices the first time.
There are many other things it could be, this is just the short list of things I have had issues with.
 
You are looking in the wrong application for the "Hardware Tool Emergency Boot Firmware Recovery" menu item.
 Attachments are not available: Download requirements not met
post edited by dan1138 - 2020/09/15 00:01:42

Attachment(s)

Attachments are not available: Download requirements not met
#19
Chabb
Starting Member
  • Total Posts : 55
  • Reward points : 0
  • Joined: 2019/11/14 10:16:01
  • Location: 0
  • Status: offline
Re: chabb 2020/09/19 07:01:25 (permalink)
0
Yes Dan1138 I am whit IPE v5.40 on my PC HP Pvillon dv7 64 bits windows 7 family. I dont understand.
 
v5_42.jpg                 

Attachment(s)

Attachments are not available: Download requirements not met
#20
Page: 12 > Showing page 1 of 2
Jump to:
© 2020 APG vNext Commercial Version 4.5