Programmer does not recognize a target device


+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Fanatical Contributor fanie's Avatar
    Join Date
    Oct 2005
    Posts
    7,989
    Thumbs Up
    Received: 32
    Given: 15
    Total Downloaded
    434.52 MB

    0 Not allowed!

    Default Programmer does not recognize a target device

    Off late I get lots of "Programmer does not recognize the target device" and then does not program the device.
    Never had such a problem in the past.
    I have now had this with 16F684's and now again with 18F45k20's where 7 pics program fine and three does not. Replaced the 3 pics and same problem.
    The pins used for programming are dedicated, ie not used for any other function. Power is correct. No pins are shorted.
    I'm using the ICD2, have used the 2nd (spare) one and same problem.

    Any idea what the problem could be ?
    Fanie

  2. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    2,374
    Thumbs Up
    Received: 87
    Given: 183
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    Does not regognize means the the programmer is not reading a device ID from the place it expects it. So I guess comms errors, what sore of programmer are you using, USB, serial or parallel?
    George.

  4. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,966
    Thumbs Up
    Received: 96
    Given: 34
    Total Downloaded
    5.15 GB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    Fanie, I sometimes have that problem with my pickit 3.
    If I reduce the programming voltage to 4.85V it works.
    No idea why.
    John

  6. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  7. #4
    Fanatical Contributor fanie's Avatar
    Join Date
    Oct 2005
    Posts
    7,989
    Thumbs Up
    Received: 32
    Given: 15
    Total Downloaded
    434.52 MB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    I found the problem. Or rather I think I did. In today's political environment you can never be sure of anything

    It seems there were poor connection between the ICD2 and the target device as George suggested, the connectors probably just made poor contact. I plugged them in and out a few times and ta daaa. Could even be the winter weather we have here, must be the Russians stole our summer. Poor Russians, always guilty of everything. Reminds me when I still worked in a corporate environment, had a section head that didn't like me. If anything was wrong, I got blamed, only to find out later it's one of his blue eyed boys who screwed up.

    How stupid eh. When you check the programmer setting the voltages reads fine, but it just wouldn't program. So, it does help to throw things around from time to time so the contacts can re-connect LOL. Very expensive PCB, very relieved.

    Thanks for your replies.

    PS. John, that's a personal thing. Some okes just run on low voltage
    Also, I hear that .au is moving North a few inches every year. Not acceptable. Better stay down there, we don't want you guys up here as well. Enough trouble as it is
    Fanie

  8. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  9. #5
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,966
    Thumbs Up
    Received: 96
    Given: 34
    Total Downloaded
    5.15 GB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    Yes Fanie,
    I thought it was my old bones shaking but it was the whole darn continent moving (No, it's not what you're thinking - I'm past that). I hope we're not leaving Tassie behind, they get left off the Australian map as it is.
    John

  10. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  11. #6
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    2,374
    Thumbs Up
    Received: 87
    Given: 183
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    John, one thing I've discovered re. PK2/3 is that they suck at powering the device being programmed, always apply external power an those sort of problems go away (although of course others remain). I still tie the on-board Vdd to the ICSP pin but PK2/3 detect that and doesn't try to provide power.
    George.

  12. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  13. #7
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,966
    Thumbs Up
    Received: 96
    Given: 34
    Total Downloaded
    5.15 GB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    Good point George.
    I have a little diecast box with several ZIF sockets that I use to program devices for customers. It has no power supply and no power drain apart from the ICSP. Perhaps I it should. The interesting bit is that I'm lowering the voltage slightly in mplab8.92.
    John

  14. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  15. #8
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    2,374
    Thumbs Up
    Received: 87
    Given: 183
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    as far as I'm conserned the American expression "go figure" always applies to MPLab in whatever flavour.
    George.

  16. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  17. #9
    Senior Member Stephen Moss's Avatar
    Join Date
    Jan 2006
    Posts
    557
    Thumbs Up
    Received: 33
    Given: 7
    Total Downloaded
    3.87 GB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    Quote Originally Posted by John Drew View Post
    Fanie, I sometimes have that problem with my pickit 3.
    If I reduce the programming voltage to 4.85V it works.
    No idea why.
    John
    I was working on a project creating several units for an undergraduate experiment, in bench testing they all gave similar results, but in use they varied beyond the expected range. Voltage and current values were calculated from ADC reading and so the based on an expected full scale input of 5V supplied from the USB port, however when I measured it the USB voltage varied between PC's with some as low as 4.2V requiring me to subsequently power the units from an external source to ensure correct results.
    Thus it is possible that if the USB power is lower than it should be that you would have to specify a lower voltage or switch to LVP mode to get correct and reliable programming operations.
    Quote Originally Posted by towlerg View Post
    John, one thing I've discovered re. PK2/3 is that they suck at powering the device being programmed, always apply external power an those sort of problems go away (although of course others remain). I still tie the on-board Vdd to the ICSP pin but PK2/3 detect that and doesn't try to provide power.
    I have not encountered any problem with small circuits, with bigger circuits I either use the circuits power rather than powering from the PICkit or remove the PIC and put it in a separate programming board. Because with larger circuit you are also powering everything on the same supply rail as the PIC and I want to ensure I avoid problems created by exceeding the amount of current the PICkit requested form the USB bus.

  18. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  19. #10
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,966
    Thumbs Up
    Received: 96
    Given: 34
    Total Downloaded
    5.15 GB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    however when I measured it the USB voltage varied between PC's with some as low as 4.2V requiring me to subsequently power the units from an external source to ensure correct results.
    Thus it is possible that if the USB power is lower than it should be that you would have to specify a lower voltage or switch to LVP mode to get correct and reliable programming operations.
    I think you are on the right track Stephen. I do remember that when I was charging my phone (or accessing its files)
    I had more of these voltage issues. Maybe my computer USB socket(s) is one of those with low volts or current capacity. I'll have to explore further. Generally I get good results from the PICkit3 and although I have an emergency PICkit4 I've not used it so far.
    John
    John

  20. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  21. #11
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    2,374
    Thumbs Up
    Received: 87
    Given: 183
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Programmer does not recognize a target device

    Because with larger circuit you are also powering everything on the same supply rail as the PIC and I want to ensure I avoid problems created by exceeding the amount of current the PICkit requested form the USB bus.
    PK2 and PK3 (I think) detect external power and disconect from the 5v rail.

    From the manuel
    The target device may also be powered externally. By default, the PICkit 2 will automatically
    detect an externally powered board. The heading “VDD PICkit 2” will be changed
    to “VDD Target”, the “On” checkbox will be replaced by a checkbox named “Check”, and
    the detected VDD voltage is displayed in the grayed out voltage box as in Figure 2-7.
    George.

  22. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. MPLAB PM3 Universal Device Programmer
    By fanie in forum The Lounge
    Replies: 0
    Last Post: 22nd April 2008, 10:18
  2. Recognize this temperature probe?
    By Llamabob in forum The Lounge
    Replies: 6
    Last Post: 23rd December 2007, 16:17
  3. [SOLVED !] Device programmer recommendations ?
    By Richard in forum The Lounge
    Replies: 24
    Last Post: 1st August 2007, 00:01
  4. [SOLVED !] IDE Device Programmer == PicStart Plus??
    By jimmyp in forum Proton Plus Compiler v3
    Replies: 6
    Last Post: 9th January 2006, 19:26
  5. [SOLVED !] Disconnect the ISP cable from the target system please
    By john burke in forum Proton Plus Compiler v3
    Replies: 3
    Last Post: 14th November 2005, 01:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts