• AVR Freaks

Hot!ICD4 and ICSP problem

Author
ffb.boy.30
Super Member
  • Total Posts : 215
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
2020/10/19 08:46:31 (permalink)
0

ICD4 and ICSP problem

Hi,
I'm trying to program a 16F877a (DIP40) with my ICD4 or ICD3.
I've made a cable with a RJ11 and I solder direclty on my PIC.
I've verified PGC and PGD and all the other pin( MCLR VPP VDD). I've connected the ICD4 power supply and activated the "Power target circuit" check in the IPE.
When I try to connect with my pic I've this error:
Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.

 
Please help
#1

3 Replies Related Threads

    NorthGuy
    Super Member
    • Total Posts : 6404
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: ICD4 and ICSP problem 2020/10/19 10:30:26 (permalink)
    5 (1)
    Most likely this is some sort of connection problem - something is not connected correctly. Aside of PGC/PGD/MCLR, you need to connect VDD and ground. You should also connect a PGM pin (or tie it to GND if you do HVP).
     
    It is also possible that PICkit4 have killed your chip with overvoltage - Microchip recommend 100 Ohm serial resistor on MCLR to prevent this.
     
    Finally, there might be some sort of firmware/software problem because your chip is old.
     
    #2
    ric
    Super Member
    • Total Posts : 28943
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: ICD4 and ICSP problem 2020/10/19 14:45:30 (permalink)
    0

    You should also connect a PGM pin (or tie it to GND if you do HVP).

    Just to be clear, NorthGuy is talking about tying the PIC's RB3/PGM pin to ground, not the programmer's pin.

     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #3
    FFB_Boy
    Starting Member
    • Total Posts : 63
    • Reward points : 0
    • Joined: 2011/04/19 22:50:05
    • Location: 0
    • Status: offline
    Re: ICD4 and ICSP problem 2020/10/19 22:47:04 (permalink)
    0
    Of course grin: grin,
    I've tried to pull down RB3 but the result is the same.
    I've verified my wiring , my VDD is 5V.
    It is a shame my old picstart is not compatible with IPE anymore sad: sad
     
    #4
    Jump to:
    © 2020 APG vNext Commercial Version 4.5