Hot!Dead pic, trying to understand why

Author
__angelo__
Starting Member
  • Total Posts : 71
  • Reward points : 0
  • Joined: 2010/12/02 02:39:25
  • Location: 0
  • Status: offline
2018/11/07 11:39:36 (permalink)
0

Dead pic, trying to understand why

Hi all,
 
i programmed about 100 times a pic16f18877, and was working with pickit3 programmer connected.
At a certain point the pic was not responding anymore to the programmer detection (wrong ID, etc)
 
*****************************************************
Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.54.00
Firmware type..............Enhanced Midrange
Target voltage detected
Target Device ID (0x3fff) is an Invalid Device ID. Please check your connections to the Target Device.
Device Erased...
Programming...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x91f
configuration memory
program memory
Address: 0 Expected Value: 18b Received Value: 3fff
Failed to program device
Programming Target Failed.

 
Had to replace the pic. But would be nice to understand what's happen, to avoid it happen again.
 
Regards,
angelo
 
post edited by __angelo__ - 2018/11/07 12:41:22

o/ Angelo
 
#1

11 Replies Related Threads

    NKurzman
    A Guy on the Net
    • Total Posts : 16662
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/07 12:13:49 (permalink)
    0
    it appears dead not Bricked.
    #2
    jack@kksound
    code tags!
    • Total Posts : 2894
    • Reward points : 0
    • Joined: 2014/05/14 10:03:19
    • Location: 0
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/07 12:21:32 (permalink)
    0
    An "invalid device ID" error can be the result of a damaged pic or poor connections (or incorrect/missing connections) from the pic to the programmer or improper loads on the ICSP pins of the pic or a programmer issue or incorrect power supply value/ noisy power supply or many other reasons.
    #3
    jack@kksound
    code tags!
    • Total Posts : 2894
    • Reward points : 0
    • Joined: 2014/05/14 10:03:19
    • Location: 0
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/07 12:24:30 (permalink)
    +1 (1)
    Remember that while most pic parts are fairly resilient they can be damaged by excessive voltages, incorrect voltages, static discharges, etc. All of these things can happen during repeated handling of a part during multiple programming cycles. Do you remove the pic from the circuit to program it?
    #4
    __angelo__
    Starting Member
    • Total Posts : 71
    • Reward points : 0
    • Joined: 2010/12/02 02:39:25
    • Location: 0
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/07 12:40:07 (permalink)
    0
    Hi, many thanks.
     
    Ok so it is "dead" and i move it to the micro controller cimitery. This seems not the first time it happens with microchip parts. Have to be honest saying other brands as AVR seems more robust.
    Yes, very likely connecting and disconnecting the programmer several times i damaged it.
    I de-soldered and re-soldered a brand new one.

    o/ Angelo
     
    #5
    MBedder
    Circuit breaker
    • Total Posts : 6558
    • Reward points : 0
    • Joined: 2008/05/30 11:24:01
    • Location: Zelenograd, Russia
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/07 13:05:03 (permalink)
    +3 (5)
    angel70Have to be honest saying other brands as AVR seems more robust.
    Bullshjt. Its all about your hands.dll and brain.sys drivers.


    #6
    qhb
    Superb Member
    • Total Posts : 7891
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/07 14:14:21 (permalink)
    0
    PIC board connected to an earthed power supply, connected to a programmer connected to a laptop connected to an unearthed mains supply can often mean a 100V ground difference between them that has to be discharged when the programmer is connected...
     
    #7
    __angelo__
    Starting Member
    • Total Posts : 71
    • Reward points : 0
    • Joined: 2010/12/02 02:39:25
    • Location: 0
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/08 04:32:03 (permalink)
    0
    Thanks all,
    note, i am not saying i didn't anything wrong.
     
    I am saying that doing things wrongly, i already had similar issues with PIC's (to desolder and replace) but i don't remember the same with AVR. As they "may" be more robust. But maybe it's just the case.
     
    About dll and sys, luckily, i am on Linux, far away from those "bullshits" :)
    Bye
     
    post edited by __angelo__ - 2018/11/08 04:45:37

    o/ Angelo
     
    #8
    Jan Audio
    New Member
    • Total Posts : 27
    • Reward points : 0
    • Joined: 2018/09/24 08:12:24
    • Location: 0
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/08 06:28:35 (permalink)
    0
    You have to connect the MCLR cable to the first pin with the arrow pointing ( its on the right side ).
    #9
    NKurzman
    A Guy on the Net
    • Total Posts : 16662
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/08 06:40:34 (permalink)
    +1 (1)
    I have seen PICs survive horrendous treatment too. If it happens again it may not be bad luck. It may be an issue with you design.
    #10
    __angelo__
    Starting Member
    • Total Posts : 71
    • Reward points : 0
    • Joined: 2010/12/02 02:39:25
    • Location: 0
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/08 08:06:24 (permalink)
    0
    Mmm, may be yes. I received this board with a temporary connection, there was some wires involved, soldered badly to the programmer pads. I guess i touched them some times with the scope probe (gnd),
     
    I soldered now a proper connector on those pads, and prepared a more professional, pluggable and sleeved / shielded cable. Things are much better now.
     
    Thanks all.

    o/ Angelo
     
    #11
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 2768
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: Briked pic, trying to understand why 2018/11/08 15:48:30 (permalink)
    0
    It's dead Jim.

    MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
    https://www.youtube.com/watch?v=Iu1qa8N2ID0
    + ST:Continues, "What Ships are Made for", Q's back.
    #12
    Jump to:
    © 2018 APG vNext Commercial Version 4.5