16F628 & In-Circuit Programming?


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Posts
    11

    Question 16F628 & In-Circuit Programming?

    Hi group,

    I would like to utilize in-circuit programming with a 16F628 for a project. Pins RB6 & RB7 which are CLK and DATA for the programming functions will have to be shared as they are also used in the non-programming application. My question is:

    Are RB6 and RB7 automatically set as INPUTS when -MCLR is raised to 12V for programming? (because they are used as OUTPUTS) in the non-programming application.

    Also, there is a picture in the PIC16F62X spec sheet on Pp. 106 showing resistors in series with the "normal connections" and wonder why they are there, and what values are appropriate.

    Thanks for any suggestions.

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Sharing the ICSP clock and data pins should not be a problem as long as they are used as outputs in your "normal application"

    It might be a problem if they are used as inputs in your "normal application" as this means they are connected to the output of some other device which might be pulling the PIC pin high (or low) while you are trying to program it.

    I think the resistors in series are just for current limiting and are not really necessary.
    If you want to install them their values should be low in relation to the pullups on RB6/RB7 (if you use any)

    rgds

Similar Threads

  1. Circuit reliability issues
    By hkpatrice in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd November 2007, 14:55
  2. Replies: 3
    Last Post: - 29th October 2006, 09:16
  3. In circuit GANG programming?
    By dhouston in forum General
    Replies: 4
    Last Post: - 13th February 2006, 00:43
  4. In circuit serial programming
    By leonel in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th February 2005, 15:08
  5. programming PICs in circuit
    By peterdeco1 in forum Off Topic
    Replies: 1
    Last Post: - 12th October 2004, 13:48

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