ICSP Pins


Closed Thread
Results 1 to 5 of 5

Thread: ICSP Pins

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    17

    Default ICSP Pins

    Hello,,,

    Can anyone tell me what happens to the ICSP pins during programming?

    If i have a PIC with dedicated ICSP pins, nothing at all on them just the ICSP connections, how
    should i leave the pins in the program, ie. should they be set low? if so would this have any impact on the programmer i
    f it was then connected again later.

    I surpose what i am actually asking is what does the EPIC USB programmer do with the pins
    so i know how to leave them in normal use.

    I hope this makes sense............

    Gordon.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: ICSP Pins

    Any pin that is not used/connected during runtime should be made an output. You can look at the ICSP pins as being not used/connected.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jun 2011
    Posts
    17


    Did you find this post helpful? Yes | No

    Default Re: ICSP Pins

    Thanks for the reply..

    So would it matter if the pin was set high or low, when the programmer was connected?


    Gordon

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: ICSP Pins

    I have never used the Epic so I do not know how it is made so go with low to be safe.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Oct 2005
    Location
    Pinckney, Michigan
    Posts
    91


    Did you find this post helpful? Yes | No

    Default Re: ICSP Pins

    Not entirely sure what your asking but thought I would comment:

    The MCLR pin on some PIC devices have a max voltage of 9 volts, 16F1527 for instance, but some device programmers can generate voltages as high as 13.5Volts on this pin. This means you should add a series resistor and clamping zener diode on the MCLR pin for such devices.

    As far as configuring the ICSP pins in your code, I've always just configured them as inputs, and relied on the hardware programming algorythm built into each device to handle all the details during the programming cycle.

    Get's more complicated if you use the ICSP pins for functions other than dedicated programming pins.

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