1. lloydi12345

    Thread Starter Member

    Aug 15, 2010
    103
    0
    Hi, I would like to add ICSP port on my PCB design since taking the PIC from the board and returning it is time consuming and sometimes causes me pin problems. Do I still need to add isolation circuits like the image attached below?

    I am using Olimex PIC Programmer
    [​IMG]
     
  2. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    Not sure that simple programmer will work with an in circuit PIC.
     
  3. lloydi12345

    Thread Starter Member

    Aug 15, 2010
    103
    0
    oh! so i really have to purchase like factory made PIC programmers?
     
  4. lloydi12345

    Thread Starter Member

    Aug 15, 2010
    103
    0
    From what I can see it says "PIC-PG1 - ICSP SERIAL PORT DONGLE PROGRAMMER"
     
  5. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,884
    1,005
    Buy a PIC Kit 2 or PICK Kit 3. The in circuit debugger programmer is well worth the price.
     
  6. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    Try it and find out. But it's an old design that leeches power from your serial port. It's designed to directly connect to an out of circuit PIC.
     
  7. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    This times a few hundred. There are LOTS of people new to uC's that stop by and get very discouraged by trying to save a few bucks with a DIY programmer on both PIC and AVR platforms.

    We don't get a commission, we just speak from our own and others' frustration.

    The logic probe, program memory, debugger, and other features that come with it make it worth a LOT more than just a programmer, which it does excellently.
     
  8. nerdegutta

    Moderator

    Dec 15, 2009
    2,515
    785
    Maybe your programmer already has the ICSP-capabilities? Just add wires between the programmer and your PCB.

    My programmer has that capability, and its very easy, not having to move the PIC between programmer and PCB.
     
  9. lloydi12345

    Thread Starter Member

    Aug 15, 2010
    103
    0
    Can I know your programmer? Is it the massive factory made or DIY?
    Did you place something like isolation circuits? or just directly made the 6pins port?
     
  10. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Your programmer design is a dodgy one. However in your case it kind of works.At least out of circuit. But the driving capabilities of this circuit is very poor, to put it mildly. It could be that your programmer will not be able to do real ICSP. Read the text around figure 1-1 of this document. It may help you.
    http://ww1.microchip.com/downloads/en/DeviceDoc/51764b.pdf
    Ps I hope you now understand the the importance of using serial resistors on LDS;)
     
  11. nerdegutta

    Moderator

    Dec 15, 2009
    2,515
    785
    I have the PICCOLO programmer for the 18-pins PIC's.

    In the programming software there is a check box, telling it to program in ICSP-mode.

    On the programmer hardware, there are 5 pins for ICSP, that I directly connect to my PCB.

    However, I loose some ports due to that I want the ISCP. But I'm not to concerned 'cause my projects are still small. :rolleyes:
     
  12. lloydi12345

    Thread Starter Member

    Aug 15, 2010
    103
    0
    Thank you for your replies. I think I wont place an ICSP port since the PIC Programmer I'm using is not so reliable. I'm hoping to buy one soon.
     
  13. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    You can place the connector and when you do get a ICP / debugger you can use it.
     
  14. lloydi12345

    Thread Starter Member

    Aug 15, 2010
    103
    0
    uhm will those kits function well even if RB3, RB7 and RB6 are used? I'll just put the port in the middle. Am I right?
     
  15. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    Don't use a LVP programmer and RB3 will be available. RB6,7 will also allow for in circuit debugging with an ICD2/3 or PICkit 2/3
    Try to keep them free else there's a note on Microchips site about what you can connect to them and still be able to ICP.
     
Loading...