Connect with us

ICSP in PIC18F4550 using LVP enabled

Discussion in 'Microcontrollers, Programming and IoT' started by at89atbits, Oct 9, 2014.

Scroll to continue with content
  1. at89atbits

    at89atbits

    39
    0
    Sep 20, 2014
    I want to program my PIC18F4550 TQFP in LVP mode using ICSP.
    However I am unsure of how PGM is supposed to be connected.
    I read the datasheet and I searched online but I haven't gotten a clear view of the PGM pin connection yet.
    Can someone please help me with the circuit for PGM pin on PIC18F4550 so that i can program my PIC in low voltage.
     
  2. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    Forgive my ignorance, but my understanding is that the PIC itself requires 12V to program. (The USB programmers have circuitry to supply this.)
     
  3. Arouse1973

    Arouse1973 Adam

    5,164
    1,081
    Dec 18, 2013
    Page 312 of datasheet
    "
    While programming using Single-Supply Programming,
    VDD is applied to the MCLR/VPP/RE3 pin as in
    normal execution mode. To enter Programming mode,
    VDD is applied to the PGM pin."

    Adam
     
  4. Arouse1973

    Arouse1973 Adam

    5,164
    1,081
    Dec 18, 2013
    That's one way to do it.
     
  5. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    Just went through the datasheet for that one.
    I like this feature ;)

    And I was incorrect on the 12V requirement for this particular PIC
     
  6. Arouse1973

    Arouse1973 Adam

    5,164
    1,081
    Dec 18, 2013
    It also means for safety critical applications if one micro stops working a supervisor micro can re-program it.
    Adam
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-