pin voltage while programming


Closed Thread
Results 1 to 5 of 5
  1. #1

    Lightbulb pin voltage while programming

    Greetings,

    This may be a silly question, but this has been on my mind for some time now.

    I've noticed that if i connect some leds to any pic pins, during programming some of them blink.

    My doubt is:

    I have some projects where my pic's source is 3V and i have connected 3V components to it's I/Os ( sensors, displays ).
    I can isolate the pic's VDD with a jumper for the programmer and have the PGD and PGC dedicated for programming. The problem is the voltage generated on the other pins when programming because the programming voltage is higher than 3V.

    Can the 3V components be damaged while programming the Pic?
    Is there a solution for these cases?

    Thanks

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: pin voltage while programming

    Depends how you design your thing. On most sensitive programmer, you can set the target Vdd voltage, that solve the problem, if any. An home made LDO for Vdd and resistor divider for PGC/PGD? could be this too. Never tried it though.

    You can Isolate your PIC from the "external world" with jumpers and diode, that's for sure, but first, check what happen on I/O while programming. I doubt you'll see 5 Volts peaks, more likely some spurious volts.

    Another thing... does this board will require some firmware update? Case not, you could just solder the pic on, program it, then populate the other components.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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


    Did you find this post helpful? Yes | No

    Default Re: pin voltage while programming

    I isolate VPP and VDD, never worried about PGD and PGC. But I never thought about it either...
    Dave
    Always wear safety glasses while programming.

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: pin voltage while programming

    Hi guys,

    Thank you for your thoughts,

    Actually i can isolate both VDD, PGD, PGC and VPP either using jumpers or using these pins only for ICSP.

    The problem are the other pins. I'm not being able to accurately measure the voltage peeks but there's definitely voltage in those pins ( not all of them though ).

    If one of them peeks more than 3V i may damage the component.

    Regards
    Rui

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: pin voltage while programming

    Isolate Vdd and Vss then.... or, like I said, use a programmer allowing to modify it's Vdd... OR modify it yourself, not that hard.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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