• AVR Freaks

Helpful ReplyPICKit3 Connection failed with new version of MPLAB X 2.05

Page: 12 > Showing page 1 of 2
Author
OscarTheGrouch
Super Member
  • Total Posts : 310
  • Reward points : 0
  • Joined: 2010/11/29 18:07:28
  • Location: 0
  • Status: offline
2014/02/23 00:21:42 (permalink)
0

PICKit3 Connection failed with new version of MPLAB X 2.05

Really getting tired of screwing with MPLAB X and it's connection problems with PICKit3
Was able to use, connect with version 2.00 though it did show two PICKIt3s connected one with VID, serial number another called "DEFAULT"
That one worked. Now with new version 2.05 no DEFAULT and connection failed.
PICKit3 connects fine and works under IDE 8.86 just fine.
MPLAB IPE does not connect either .. never did show "DEFAULT" PICKit3.
Running Windows 8.1
Any help MicroChip???
#1
leon_heller
Super Member
  • Total Posts : 6411
  • Reward points : 0
  • Joined: 2004/08/17 13:19:45
  • Location: St. Leonards-on-Sea, E. Sussex, UK.
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/02/23 04:15:55 (permalink)
5 (1)
I've just installed MPLABX 2.05, and my PICkit 3 works OK with it. I'm using Win7 x64.

Leon Heller
G1HSM

#2
OscarTheGrouch
Super Member
  • Total Posts : 310
  • Reward points : 0
  • Joined: 2010/11/29 18:07:28
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/02/23 13:13:11 (permalink)
0
Good to know. Wonder if there is an issue with Windows 8 or 8.1
#3
vloki
Jo, alla!
  • Total Posts : 6815
  • Reward points : 0
  • Joined: 2007/10/15 00:51:49
  • Location: Germany
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/02/24 01:39:53 (permalink)
0
dhpalmer

Good to know. Wonder if there is an issue with Windows 8 or 8.1

I think I have seen some other threads the last few days complaining issues
with PICKIT3 and windows 8 ...
(never had any problems with PK3 but use XP, win7 or ubuntu)

Uffbasse !
#4
Tim hutcheson
Starting Member
  • Total Posts : 24
  • Reward points : 0
  • Joined: 2010/09/18 04:42:26
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/07 14:12:27 (permalink)
4 (1)
When I see this, its because the PICkit3 Hardware Tool became disassociated - usually switched to Simulator for some reason.  Go to Configuration and re-pick the corret tool.
 
Tim
#5
JorgeF
Super Member
  • Total Posts : 3341
  • Reward points : 0
  • Joined: 2011/07/09 11:56:58
  • Location: PT/EU @ Third rock from the Sun
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/07 15:55:32 (permalink)
4 (1)
Hi
 
dhpalmer
Good to know. Wonder if there is an issue with Windows 8 or 8.1

Most probably.
It wont be a surprise. Usualy M$ operating systems start to get trustworthy only after SP2. wink
 
Best regards
Jorge
 
#6
OscarTheGrouch
Super Member
  • Total Posts : 310
  • Reward points : 0
  • Joined: 2010/11/29 18:07:28
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/08 00:26:34 (permalink) ☄ Helpfulby langxinke 2014/03/16 23:06:34
0
Tim hutcheson

When I see this, its because the PICkit3 Hardware Tool became disassociated - usually switched to Simulator for some reason.  Go to Configuration and re-pick the corret tool.

Tim

What I have seen is after opening the project, it will not see the Tool. Opening the properties, closing then opening again, the tool that works is then there and selected. I have an open ticket on this issue, they just sent me new DLLs and now it will not see my PICKit3 at all .. just like 2.05 .. good thing a saved the originals.
Will keep any developments posted here for anyone who is interested.
#7
Obbligato
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2014/03/12 05:25:38
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/12 05:44:39 (permalink)
0
We are running into the same problem. Our university just "upgraded" our computers to Windows 8.1, and now we can no longer program PIC microcontrollers using a PICkit 3 or a PM3. Our students are panicked that they won't be able to finish their projects by the semester's end. I tried the suggestions posted by other users but nothing seems to work. With the PICkit 3 we get the consistent error "connection failed". I have a ticket pending and hope Microchip can solve this, or at least provide a workaround. If they do, I'll post the solution.
#8
RookieRick
Starting Member
  • Total Posts : 76
  • Reward points : 0
  • Joined: 2014/01/25 16:39:45
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/12 20:42:16 (permalink)
0
I am running MPLABX 2.00 and 90% of the time I can't connect, can't find ID, code gets lost and debugger doesn't know where it went, can't program device, and on and on.  I just purchased a brand new PICKit 3 because the one I borrowed from work was doing the same thing.  It seems the PICKit 3 works great for about 5 minutes and then gets completely flaky.  I can leave it powered for hours, come back and it works fine for about 5 minutes and then flakes out again.
 
I've not had this problem with the PIC32 Ethernet starter kit (with a built in debugger).
 
Searching the web I've seen this complaint numerous times but I've never seen any solution.  I'm using Win7 x64 also.
#9
OscarTheGrouch
Super Member
  • Total Posts : 310
  • Reward points : 0
  • Joined: 2010/11/29 18:07:28
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/12 22:13:25 (permalink)
0
Obbligato
We are running into the same problem. Our university just "upgraded" our computers to Windows 8.1, and now we can no longer program PIC microcontrollers using a PICkit 3 or a PM3. Our students are panicked that they won't be able to finish their projects by the semester's end. I tried the suggestions posted by other users but nothing seems to work. With the PICkit 3 we get the consistent error "connection failed". I have a ticket pending and hope Microchip can solve this, or at least provide a workaround. If they do, I'll post the solution.

Only solution I know of right now is to go back to version 2.00 of MPLAB X
#10
trippyben
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2014/03/11 02:07:15
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/13 02:51:51 (permalink)
0
I had to go back to V1.95 of MPLAB X to get mine to work under windows 8.1.
#11
OscarTheGrouch
Super Member
  • Total Posts : 310
  • Reward points : 0
  • Joined: 2010/11/29 18:07:28
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/15 17:49:22 (permalink)
0
Now I can't get it to work at all. Was using with MPLAB IDE 8.92
 
#12
OscarTheGrouch
Super Member
  • Total Posts : 310
  • Reward points : 0
  • Joined: 2010/11/29 18:07:28
  • Location: 0
  • Status: offline
Re: PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/29 10:48:28 (permalink)
5 (1)
MicroChips has sent me two DLLs that seem to have fixed this issue.
#13
tom maier
Super Member
  • Total Posts : 2116
  • Reward points : 0
  • Joined: 2013/08/22 15:27:12
  • Location: earth
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/29 11:11:32 (permalink)
5 (4)
Obbligato
We are running into the same problem. Our university just "upgraded" our computers to Windows 8.1, and now we can no longer program PIC microcontrollers using a PICkit 3 or a PM3. Our students are panicked that they won't be able to finish their projects by the semester's end.



I used to teach, and here are a couple of tips for keeping the lab running:
 
1.)  Don't let the IT department near your lab computers without your authorization.
 
2.)  Disconnect the cluster from the network.
 
Because lab computers are normally used for many unique hardware related tasks, they are not like the normal campus computers and are actually instruments with very special software needs. That's your justification for having the IT department back off and let you run the cluster. Every time they upgrade or do anything, they risk shutting you down. You need to be in the driver's seat. Getting this control can be a bit of a tussle through the administration, but it is well worth the effort in the long run.
 
The reason to disconnect the cluster from the net is because of "auto-updates" and other stuff you might get through the net that cause system instability with your hardware config. Also ban students from installing their own software.
 
And this same policy is normally done in industry... lab computers are designated as "special" and are not to be fiddle with by non-lab people.
 
When you want to upgrade your computers, you can have IT install the new OS or patches on a couple beta test computers to make sure your unique hardware is compatible before doing the cluster.
 
 
#14
vloki
Jo, alla!
  • Total Posts : 6815
  • Reward points : 0
  • Joined: 2007/10/15 00:51:49
  • Location: Germany
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/29 11:57:22 (permalink)
0
In my university you have to do what the ITs say or you get disconnected from the net ;-)
Unfortunately the "labs" are used for many different lectures and most require the net :-/

Uffbasse !
#15
gweb
Senior Member
  • Total Posts : 145
  • Reward points : 0
  • Joined: 2011/02/15 15:30:59
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/30 02:43:48 (permalink)
0
Trying to get back into PIC processors after working with other stuff...
Ubuntu, Mplabx 1.85 -> 2.05, PicKit 2 / 3
PicKit 3 seems very flaky with PIC16F887, I cannot even reliably program processor. Sometimes it works,
once it fails restartng IDE / unplugging / replugging / changing to Pickit2 / back to 3 still fails.
Once in a while, boot computer, debug with PicKit3 WORKS once.....
I had to go back to Pickit 2 which DOES program it...
 
PIC32MX250.... programming works mostly, debug behaves erratic, step OVER steps INTO, flakey......
 
What to do? Program development halted, hw/sw  worked last time many generations MplabX ago....
#16
tom maier
Super Member
  • Total Posts : 2116
  • Reward points : 0
  • Joined: 2013/08/22 15:27:12
  • Location: earth
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/30 06:08:10 (permalink)
0
gweb
Trying to get back into PIC processors after working with other stuff...
Ubuntu, Mplabx 1.85 -> 2.05, PicKit 2 / 3

 
I also have been getting back to microchip, after not doing any real development for 8 years. I started with trying mplabx and xc compilers on windows, because I've never been able to use linux for any serious hardware development, for assorted reasons. It worked on windows XP, so I dared to try it on linux. It blew me away when the tool packages just installed and worked as well as on windows, with no futsing around.
 
I ordered a smörgåsbord of new model chips and walked through the whole menu of them, writing and blowing code successfully into pic10, pic12, pic24, and pic32. Am using pickit3 for this. The only troubles I had were some electrical connection problems, the programmer seems pretty picky about connections to the pic, especially pic32.
 
I have to say I don't use the simulator or debugger.  Not because it is mplabx, but because I don't like using those types of tools unless I'm really up a tree. Over the decades, I've have been bitten too many times by bugs in simulators and debuggers, so I just don't trust them. I use other methods.
 
I can't explain all your rebooting and stuff. Never happened to me even once. I have been using mint 14, and recently upgraded to mint 16 and have also been trying the fedora electronics package. All seem to be doing OK. I am presently still using mplabx 1.90. Have you tried rolling back to some other ide? You know you don't always have to use the latest release. I normally lurk and read other people's reviews before rolling forward. My attitude is that if I have something that is working, I'm reluctant to roll forward. Also, when I do roll forward I do it by testing first before destroying my working system. I'm running two mint 16s and two fedoras, for redundancy.
 
Some of your problems sound electrical.
 
Try 1.90
 
Do you have any other software installed that might be interfering with your development system? Another thing I do is I have a development system (with redundant) and a "play" system. I don't clutter up my development system with "toys" or experiments.
 
These types of things are standard methods for creating a solid development system, no matter what tool chains you are using. Be conservative about roll forward. Sit on stability once you have it. Test new tool chains on a beta system first, before clobbering your working system.
 
You shouldn't be having as many problems as you describe... except maybe for the simulator and debugger, which I have tested very much.
 
#17
gweb
Senior Member
  • Total Posts : 145
  • Reward points : 0
  • Joined: 2011/02/15 15:30:59
  • Location: 0
  • Status: offline
Re:PICKit3 Connection failed with new version of MPLAB X 2.05 2014/03/31 07:48:12 (permalink)
0
Hmm, trying to analyse this, it seems the most probable problem is some subtle difference in MplabX view of the code vs. the hw / pickit3 / debugger. While the code compiled without any errors in the "output" window, one of the source modules har lots of little red exclamation marks, and helpful messages indicating it could not resolve statements that to the naked eye looked OK. (when hovering over the exclamation mark)
Deleting some whitespace and replacing it, while observing if anything "strange" happened, which did not, the exclamations went away, and NOW it was suddenly possible to program, AND to step the code. Note that NO error messages were logged as compiler / linker output. So, very simple standard C statements were flagged with errors unexplicable. I suspected ctrl characters somehow had crept into the source, cannot eliminate or confirm, but editing deleted the "local" errors, and subsequent remake made code "work". Weird.....
 
This is for the pic32mx250 case, I have to finish this session before debugging more, still have the 16F887 issue, and will check that one again, once finished with this part. The 16F887 can be worked around with PicKit2.
Gweb
post edited by gweb - 2014/03/31 07:50:41
#18
papi92
New Member
  • Total Posts : 11
  • Reward points : 0
  • Joined: 2011/01/09 08:08:06
  • Location: Sofia, Bulgaria
  • Status: offline
Re: PICKit3 Connection failed with new version of MPLAB X 2.05 2014/04/07 11:43:59 (permalink)
4 (1)
dhpalmer
MicroChips has sent me two DLLs that seem to have fixed this issue.




Can you upload somewhere (dropbox for example) these DLLs?
#19
fcapozzi
New Member
  • Total Posts : 16
  • Reward points : 0
  • Joined: 2014/02/16 14:34:39
  • Location: 0
  • Status: offline
Re: PICKit3 Connection failed with new version of MPLAB X 2.05 2014/04/07 15:32:22 (permalink)
0
Hi all,
i have the same problems reported.  I am running MPLAB X 2.05 in Windows 8.1 32 bit.
I am working on a project based on PIC16F874 device
When i connect pickit3 to the usb port i see at first that the device is recognised and listed under project properties. If i select it and click apply the device is stil present but appear to be without any serial number.
In this condition if i try to program the chip mplab-x say connection failed.
Sometimes changing usb port on my laptop or unplugging and plug again it works, but most of the time it seam to have connection problems. 
In the pictures you can see the differences in both cases when working and when not.
 
I found that using mplab-IPE pickit3 work fine if i perform  a new usb connection. If i have pickit3 already plugged when mplab-IPE starts it wont work.  However i can program the chip making a few attempts. But i have to say that in the past versions of IDE i never experienced this problems.
May be it is a matter of driver compatibility with Windows 8.1 ....
 
  
 
Under Linux OpenSuse 13.1 pickit3 work fine without problems. 

Attached Image(s)

#20
Page: 12 > Showing page 1 of 2
Jump to:
© 2020 APG vNext Commercial Version 4.5