Elegant "in circuit programming"


Results 1 to 16 of 16

Threaded View

  1. #4
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default

    I tend to design things so I have LEDs for status on the pins that are used for ICSP CLK and DATA lines. This way I can also see that the ICSP is being programmed.

    The MCLR lines are normally tied to +5 using a schottky diode with the MCLR from the ICSP to the Processor side of the diode. This prevents 12v from getting back to the 5v side.
    Microchip has some ICSP app notes where they use a resistor for MCLR isolation, but it doesn't feel right to me to do it that way..

    I also have a diode to isolate the +5v supply to the pic so it can be powered by the programmer, but the programmed doesn't power up the whole board. On a few designs where I know there is not much on the 5v rail I will normally just tied the ICSP 5V to the PIC 5v. I don't tend to have the board powered when programming other than through the ICSP port.

    I use a PicKit2 for all my ICSP work and it can provide power to the circuit with control independant of the programming functions. A very handy feature.
    Last edited by bcd; - 29th August 2008 at 00:17. Reason: Spelling mistakes (again..)

Similar Threads

  1. Comparator circuit thoughts....
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 24th October 2009, 06:04
  2. Circuit Design Question
    By bradb in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 11th August 2009, 08:18
  3. Short circuit portection circuit ?
    By iugmoh in forum Schematics
    Replies: 1
    Last Post: - 21st December 2008, 21:33
  4. Circuit reliability issues
    By hkpatrice in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd November 2007, 14:55
  5. Replies: 3
    Last Post: - 29th October 2006, 09:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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