I'm sure there's no 'hard and fast' rule, but I gotta ask...


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156

    Default I'm sure there's no 'hard and fast' rule, but I gotta ask...

    Assume your PIC has been programmed, and it's I/O pins are doing their thing. Is there any rule about what happens to these I/O's when you reprogram the PIC? To my surprise mine seem to hold their state during the programming, and then do what they're suppose to again once the new program has started. The reason I mention it is this PIC is controlling a large security system, and holding things locked. I was afraid that during programming an update, the pins might/would go high or open collector or ??? and unlock the locks, but it isn't doing that, and I'm pleasantly surprised.
    Last edited by circuitpro; - 7th December 2011 at 02:50.

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: I'm sure there's no 'hard and fast' rule, but I gotta ask...

    Are you talking about programming with MCLoader, or with a device (like an IC2/3 or PICKit3) that pulls MCLR to a high voltage for programming?
    Charles Linquist

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: I'm sure there's no 'hard and fast' rule, but I gotta ask...

    circuitpro, Alot has to do with the design of the particular drive circuit. I always design my interfaces to have the state of the particular driver to maintain an OFF state when the processor is in a RESET state as the output pins of the processor present a tristate level. As far as I'm concerned, any good engineer should think about this as it is the first state the processor comes up in when power is applied or when the processor is placed into a RESET state whether remotely or thru a local reset condition.....
    Dave Purola,
    N8NTA
    EN82fn

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