Soic Icsp


Closed Thread
Results 1 to 5 of 5

Thread: Soic Icsp

  1. #1
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    96

    Default Soic Icsp

    Does anyone have any tips for using SOIC PIC packages with ICSP?
    This is a long winded question so I will try to explain where I am at.

    I have an existing program working with a PIC16F628A that I would like to now use on a less expensive 16f654 as the compiled code is less that 1/2 a word and I need no frills for the program, just simple led and open collector sinking etc.

    I would like to now go with a SOIC pakage using a 5 pin ICSP header on my pcb.
    I have most of my pcb-layout done and would just like to see if anyone else has gone this route?

    I will be using my K149-BC programmer.
    The users manual warns....

    "Please note that ICSP programming will not work in all cases. Things that may cause problems are...

    high capacitive loads on the programming pins
    long programming leads
    inability of the programmer to control the MCLR pin
    inability of the programmer to control the VCC voltage

    If any of these or other problems exist, then you may have to isolate the programming pins on the target board."

    Are there any other considerations to look at?
    How about not using the Vpp from my programmer?
    Can I just use Vcc and GND from my pcb?

    I know thats alot of questions to ask but any help would be great!
    Padawan-78

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


    Did you find this post helpful? Yes | No

    Default

    ICSP is ICSP... size does not matter

    Just use the usual MCLR protection diode or if the pic can have MCLR internal and do not worry about that.

    If the circuit is powered from a different voltage (lower maybe) than the programmer, I use a 2 pin jumper that can be removed to disconnect the device power during programming.

    I am not familiar with your programmer, so the problems you mention may need to be addressed, but if you can do ICSP on a bread board, then you should not have any problems.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile

    Hi earltyso,

    You cannot use the Vcc from your PCB in place of the Vpp needed for ICSP.
    Vpp is some voltage higher than Vcc something like 12.5 or 13.5 V DC.
    The MCLR pin must be free to snap to Vpp voltage to program ICSP. and then it must be “pulled high” (to Vcc not Vpp) to run the program.
    That is what Dave meant by a “protection diode” or his jumper idea.
    The MCLR pin must be free of any circuit that slows it down.
    Great ideas on ICSP PICs: http://www.embedinc.com/picprg/icsp.htm
    (Some suggest a 1K pull-down between MCLR and ground for programming.)
    Dave is right, get it working on a breadboard before you commit to a PCB!

    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  4. #4
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    96


    Did you find this post helpful? Yes | No

    Default

    thanks for the help guys!
    I will definately implement a jumper, diode, and of coarse breadboard before send board out for build.
    Padawan-78

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


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. ICSP and 16F684
    By onaclov2000 in forum Schematics
    Replies: 4
    Last Post: - 5th March 2009, 17:31
  2. what IS an ICSP connector?
    By mslaney in forum Schematics
    Replies: 12
    Last Post: - 5th March 2008, 07:05
  3. Replies: 1
    Last Post: - 10th December 2007, 23:57
  4. ICSP Programming from a PDA
    By Ralph in forum Off Topic
    Replies: 2
    Last Post: - 11th November 2007, 22:22
  5. 16F819 ICSP programming
    By Ioannis in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 31st October 2004, 10:15

Members who have read this thread : 1

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