Possible to correct this error on board layout?


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262

    Default Possible to correct this error on board layout?

    using a 16F688, my board got made with a led hooked to pin 4 instead of pin 2, it needs to light on pin high but since #4 is a in only.... future boards will be corrected but on the ones I have now there is no place to cut trace and jumper, what is available is to jumper pins 2 & 4. NOW I am not using MCLR and the program doesnt access pin 4 for anything. So...

    Can I send lows and highs out on pin 2 (shorted to pin 4) with #4 connected to LED+ ?

    code was already written for Pin 2 to LED.
    Chris


    Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,625


    Did you find this post helpful? Yes | No

    Default Re: Possible to correct this error on board layout?

    I'd cut pin 4 and bridge a single-strand wire to pin 2 (the leads cut off a LED work nicely for short hops).

    Like the time I forgot the resistors on 2 columns of LEDs, d'uh! I cut the traces and bridged the resistors. Not elegant but it worked.

    Short answer; whatever works.

    Robert
    Last edited by Demon; - 28th March 2013 at 01:27. Reason: had pins reversed

  3. #3
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Default Re: Possible to correct this error on board layout?

    thanks, I cant cut pins, customer would notice. I am using a IC socket, so I was going to use circuit trace repair strips to jumper 2 & 4 under the socket. hidden by socket and chip. and its not really modifying the existing board, its just adding to it. this is a example circuit to show my work, I dont wanna show any errors if possible. I was just wondering what would happen if the MCLR pin, even though MCLR is disabled, would cause the code/program to do weird stuff.

    I dont want to turn it on till I know for sure as I only have 1 of this chip right now.
    Chris


    Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default Re: Possible to correct this error on board layout?

    Quote Originally Posted by wdmagic View Post

    Can I send lows and highs out on pin 2 (shorted to pin 4) with #4 connected to LED+ ?

    code was already written for Pin 2 to LED.

    of course you can ... moreover if pin 4 never can turn into an output !

    I remember some Genuine Microchip reference designs using this feature ... ( especially the " 50 Mhz frequ. counter " using a 16F84 ... )

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,523


    Did you find this post helpful? Yes | No

    Default Re: Possible to correct this error on board layout?

    Hi,
    As long as MCLR is disabled I can't see any problems doing that once the circuit is in its normal operating mode.
    However, if you're programming the PIC in circuit it might be a problem since MCLR is also the Vpp pin which you now have jumpered to a "normal" pin. I don't know for sure if this would be a problem but I think it might.

    The internal protection diode on "the other pin" would clamp the voltage applied to the MCLR-pin by the programmer to just above Vdd which would prevent the PIC from entering programming mode. Using a diode as the "jumper" from RA5 to MCLR would protect RA5 from the high voltage applied to the MCLR-pin during programming. Or, perhaps, use Low Voltage Programming - I've never used it though.

    Obviosuly, if you're NOT programming the PIC in circuit then I can't see any obvious issues.

    May require some investigation/testing.

    /Henrik.

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: Possible to correct this error on board layout?

    Henrick,
    wdmagic said he is using a socket. I think that means he can do his programming off board. You are correct that ICSP would not work with the programming pin jumpered to another pin. I know from experience. A Pickit 2 programmer will stop and send an error message when attempting to program with jumpered pins.

  7. #7
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Default Re: Possible to correct this error on board layout?

    Ok thanks everyone, yes this circuit is programmed offboard. and the new boards dont have this issue just this one. thanks for the info.
    and thanks for the info on ICSP I forgot about that, its good Im not using that
    Chris


    Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."

Similar Threads

  1. PCB Layout Services
    By jmgelba in forum Adverts
    Replies: 10
    Last Post: - 4th July 2017, 15:09
  2. USB Electrical Layout?
    By wdmagic in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th March 2013, 12:04
  3. PCB layout question
    By Christopher4187 in forum Off Topic
    Replies: 2
    Last Post: - 2nd January 2013, 01:06
  4. ERROR IN 200QL Development Board
    By sangaboy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 22nd May 2012, 10:57
  5. PCB Layout Service
    By alex1202 in forum Adverts
    Replies: 0
    Last Post: - 23rd August 2007, 22:50

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