In-circuit Programming.


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

    Default In-circuit Programming.

    Good day Picers

    I have always done my programming with the Microchip picstart plus for DIP PICs.

    I want to do In-circuit programming on SMD PICs now.
    What are the best options?
    I see Microchip have a "MPLAB REAL ICE" and the "MPLAB ICD 2".
    Are these the best programmers to use and what else do I need.
    Do I need any changes on my circuit side?

    Thank you
    Koossa

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default

    Hi, Koossa

    Depends on the pinouts you use ... but 3M builds "pinthrough" test chip carriers for SMD devices ... just build an adaptator to suit you need. ( to buy from Farnell i.e.)

    Microchip also sells ready to use adaptators ...

    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 " !!!
    *****************************************

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Alain

    Thank you for your reply.
    I want to program my SMD Pic while it is in the circuit.
    I'm not that clued up with this stuff, but what will the adaptor do?

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


    Did you find this post helpful? Yes | No

    Default

    So,

    ICD2 from Microchip
    PicFlash2 from Mikroelektronika ...

    are the ones I would recommend.

    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


    Did you find this post helpful? Yes | No

    Default

    Thank you very much!!

    Do I need any modifications on my circuit if I move over to in-circuit programming?

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Lightbulb

    The ICSP used pins must be disabled from your circuitry just for programming ... you re-enable those PCB tracks after programming by using jumpers or, simpler by tin drops on the PCB side.

    see here :

    http://www.mikroe.com/pdf/picflash_manual_v5.pdf

    It's the clearest document I know ...

    Alain
    Last edited by Acetronics2; - 17th April 2008 at 14:31.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  7. #7


    Did you find this post helpful? Yes | No

    Default

    Thank you very much!!
    I really appreciate it!

  8. #8
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Lightbulb

    By the way ...

    Think ICD2 is the most powerful and will allow 16 and 32 Bits ICSP Pics programming AND Debugging with MPLAB ...

    Only 8 bits with The PicFlash ... and no PbP debugging.

    But cost is also different !!!

    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 " !!!
    *****************************************

  9. #9


    Did you find this post helpful? Yes | No

    Default

    Will I be able to do PbP debugging with the ICD2?

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


    Did you find this post helpful? Yes | No

    Default

    This also explains ICSP. http://ww1.microchip.com/downloads/e...Doc/51553E.pdf

    You can also adapt you PICSTART into a ICSP. I use 6x1 headers that match the PICKIT2 on the PCB. Make the adapter DIP to cable for the PICSTART , use MCLR, ICSPDAT, ICSPCLK, and VSS from the PICKSTART. Power is provided at the PCB.

    FOLLOW ALL OF THE ISOLATION GUIDELINES

    Now you can use a PICKIT2 or the PICSTART.

    My PICKSTART stays on the bench and my PICKIT goes on the road.

    Thats my two cents
    Dave
    Always wear safety glasses while programming.

  11. #11


    Did you find this post helpful? Yes | No

    Default

    Thank you Dave.

    Do I need the PICKIT2 to adapt the PICSTART into an ICSP?

    Koossa

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


    Did you find this post helpful? Yes | No

    Default

    No, sorry I made it confusing.

    All you need are the 4 wires from the PICSTART to the chip. Plus power at the chip.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Steve

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

  15. #15


    Did you find this post helpful? Yes | No

    Default

    Thanks a Lot!!!

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