Author Topic: Misconnected Pickit3 - dead MCU  (Read 5038 times)

0 Members and 1 Guest are viewing this topic.

Offline miceuzTopic starter

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Misconnected Pickit3 - dead MCU
« on: January 20, 2015, 08:56:29 pm »
Yesterday was a sad day.

I have unfortunately misconnected Pickit3 to the PIC18F4620 board I'm working with. I'm not sure exactly, but I think I have shifted Pickit3 "left" so that MCLR pin went into VDD pin, etc. The board was energized during the event. After the event the microcontroller instantly went dead - no stuff displayed on LCD, no led blinking, no nothing. I can connect to the chip via pickit and query it's ID, but can't programm it anymore. Even more, the relay that's connected to PB5/PGM pin is buzzing when I try to programm (I don't use LVP).

Nevertheless it's strange - MCLR/Vpp shouldn't be high voltage when not programming, should it?

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: Misconnected Pickit3 - dead MCU
« Reply #1 on: January 20, 2015, 09:00:10 pm »
strange, I have connected my pickit3 upside down without hurting the chip, maybe i was lucky?
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5319
  • Country: gb
Re: Misconnected Pickit3 - dead MCU
« Reply #2 on: January 20, 2015, 09:11:38 pm »
Yesterday was a sad day.

I have unfortunately misconnected Pickit3 to the PIC18F4620 board I'm working with. I'm not sure exactly, but I think I have shifted Pickit3 "left" so that MCLR pin went into VDD pin, etc. The board was energized during the event. After the event the microcontroller instantly went dead - no stuff displayed on LCD, no led blinking, no nothing. I can connect to the chip via pickit and query it's ID, but can't programm it anymore. Even more, the relay that's connected to PB5/PGM pin is buzzing when I try to programm (I don't use LVP).

Nevertheless it's strange - MCLR/Vpp shouldn't be high voltage when not programming, should it?

By "high voltage" what do you mean? Is it at Vpp or Vdd or something else?
 

Offline miceuzTopic starter

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Re: Misconnected Pickit3 - dead MCU
« Reply #3 on: January 20, 2015, 09:19:22 pm »
Nevertheless it's strange - MCLR/Vpp shouldn't be high voltage when not programming, should it?

By "high voltage" what do you mean? Is it at Vpp or Vdd or something else?

Vpp is up to 14V according to microchip documentation.

Offline Andy Watson

  • Super Contributor
  • ***
  • Posts: 2085
Re: Misconnected Pickit3 - dead MCU
« Reply #4 on: January 20, 2015, 09:30:24 pm »
I would have thought it more significant that programmer VDD would have been connected to the target's ground causing the programmer's ground to drive the target PDG pin negative.
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5319
  • Country: gb
Re: Misconnected Pickit3 - dead MCU
« Reply #5 on: January 21, 2015, 05:12:02 am »
Nevertheless it's strange - MCLR/Vpp shouldn't be high voltage when not programming, should it?

By "high voltage" what do you mean? Is it at Vpp or Vdd or something else?

Vpp is up to 14V according to microchip documentation.

Sorry, I assumed you were telling us that you were experiencing that the MCLR pin was at an unexpectedly high level.

No, MCLR/Vpp should usually be at or aound Vdd, or, of course, Vss temporarily during reset.
 

Offline miceuzTopic starter

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Re: Misconnected Pickit3 - dead MCU
« Reply #6 on: January 21, 2015, 02:06:00 pm »
Just replaced the dead microcontroller, so yeah, lesson learned - you *can* fry MCU by shifting your Pickit in the connector.

Offline mazurov

  • Frequent Contributor
  • **
  • Posts: 524
  • Country: us
Re: Misconnected Pickit3 - dead MCU
« Reply #7 on: January 22, 2015, 05:31:45 am »
That's why I'm using ICD - it has keyed connector. You only need to pay attention once while soldering "5 pin to RJ-11" adapter to the MCU board.
With sufficient thrust, pigs fly just fine - RFC1925
 

Offline voja

  • Contributor
  • Posts: 45
  • Country: 00
Re: Misconnected Pickit3 - dead MCU
« Reply #8 on: January 22, 2015, 08:50:15 am »
That's why I removed the original female connector on Pickit3 an placed tne Nylon 2.54 mm 5-pin male connector instead (ignoring pin 6). I only had to cut the part of nylon as it was too thick to place the Pickit cover. Now I can use crimped female connectors on my programming cable, with low possibility of frying MCUs. Pickit opening was also the good moment to remove the buggy S1 key (upper right on the photo), which kills some MCUs.

Another thing to note is that Pickit or ICD or target system can be fryed if you connect/disconnect the programming connector, even if the target system is not energized (but only connected somewhere else), as there might be high potential voltage differece between the GND contacts. So if the signal contact is established before GND, there will be the high voltage spike at some input. So I have GND on my laboratory DC supply shorted to my computer's GND. I was lazy to do it before, so I fried two ICD2s a few years ago.
« Last Edit: January 22, 2015, 08:56:12 am by voja »
:( + :( = :) :)
 

Offline 22swg

  • Frequent Contributor
  • **
  • Posts: 274
  • Country: gb
Re: Misconnected Pickit3 - dead MCU
« Reply #9 on: January 22, 2015, 10:07:28 am »
Voja Thanks for that , been using PK3 some time always been careful about pins and GND , after I  killed a PK2
Check your tongue, your belly and your lust. Better to enjoy someone else’s madness.
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5319
  • Country: gb
Re: Misconnected Pickit3 - dead MCU
« Reply #10 on: January 22, 2015, 04:16:16 pm »
Although I am not doubting that it may be possible to blow up a PIC by mis-connecting the ICSP, I'd say you have to be unlucky, I'm always wiring them up wrong, even after I think I've double checked it. I don't know why, must be a form of wiring dyslexia!

I can't ever remmeber breaking a chip though despite my errors.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Misconnected Pickit3 - dead MCU
« Reply #11 on: January 22, 2015, 04:18:46 pm »
Quote
Pickit or ICD or target system can be fryed if you connect/disconnect the programming connector,

It generally happens if the programmer is powered on after the board is powered on.

In those cases, you can burn the OS onto the pickit to bring it back to life.
================================
https://dannyelectronics.wordpress.com/
 

Offline voja

  • Contributor
  • Posts: 45
  • Country: 00
Re: Misconnected Pickit3 - dead MCU
« Reply #12 on: January 22, 2015, 04:57:07 pm »
I never had the bad experience switching Pickit supply (via USB) and target board supply on and off, at any order, but I learned not to (dis)connect programming cable if GNDs (at Pickit and target board) are not at the common voltage level
:( + :( = :) :)
 

Offline Skimask

  • Super Contributor
  • ***
  • Posts: 1433
  • Country: us
Re: Misconnected Pickit3 - dead MCU
« Reply #13 on: January 23, 2015, 04:14:14 am »
Although I am not doubting that it may be possible to blow up a PIC by mis-connecting the ICSP, I'd say you have to be unlucky, I'm always wiring them up wrong, even after I think I've double checked it. I don't know why, must be a form of wiring dyslexia!

I can't ever remmeber breaking a chip though despite my errors.

Same here.  Vpp on Vdd, Vdd swapped with Vss, 5v on a 3v PIC, the list goes on and on.
The only time I've wiped out PIC's is when I've zapped them with visible/audible static shocks.
Even then, most of those might end up with a single blown pin, which may only have needed an external pullup to replace the blown internal high side FET, or maybe that particular pin may have been blown out completely.
Point being, at most maybe a couple totally dead since I started messing with PICs back in '90.
I didn't take it apart.
I turned it on.

The only stupid question is, well, most of them...

Save a fuse...Blow an electrician.
 

Offline Berni

  • Super Contributor
  • ***
  • Posts: 4953
  • Country: si
Re: Misconnected Pickit3 - dead MCU
« Reply #14 on: February 14, 2015, 09:48:15 am »
I have plugged in a Pickit 2 and 3 backwards or shifted lots of times and all i got was a error message about a wrong device ID.

I did menage to partially blow up a Pickit 2 when i had a board with -12V on it and a accidental short sent the -12V in to the digital supply rail. That Pickit 2 now refuses to supply power to the board but, but when given external power it still flashes PICs just fine. O0

Seams to me like you really have to try hard to completely fry a Pickit

As for sending 5V in to 3.3V PICs they seam to survive that too. I heard stories of PICs being put in sockets backwards (Especially nice on the 18 pin ones as Vdd and Vss swap), getting hot enough to burn your finger and after being put in the right way around still working.
« Last Edit: February 14, 2015, 09:52:41 am by Berni »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf