1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Yet Another ICD2 Emulator

Discussion in 'Microcontrollers' started by William At MyBlueRoom, Jun 9, 2006.

  1. Mike - K8LH

    Mike - K8LH Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    3,637
    Likes:
    109
    Location:
    Michigan, USA
    A MAX232 or FT232 based serial or usb ICD2 is really only objectionably slow when used in "debug" mode. My Serial ICD2, pictured earlier in this thread, uses dual regulators and probably cost about $10. I've only used it as a straight programmer with an adapter and have not had occasion to use it for ICSP or in "debug" mode.

    Have fun. Regards, Mike
     

    Attached Files:

  2. wonbinbk

    wonbinbk New Member

    Joined:
    Aug 21, 2004
    Messages:
    14
    Likes:
    0
    Another PCB of ICD2USB by wonbinbk

    This is the USBICD2 PCB. I used PDIP (through hole) PIC. So anyone who can not solder TQFP PIC can make this ICD2.
    Firm-ware not changed.
     
  3. William At MyBlueRoom

    William At MyBlueRoom New Member

    Joined:
    Feb 28, 2006
    Messages:
    721
    Likes:
    1
    Location:
    Toronto, Canada
    Well here's the "flippy socket" for ICD2 clones. On 28-40 pin PICs the PIC is inserted with pin1 in the socket pin 1. On 8-20 pin PICs you turn the socket 180degrees and pin1 on the PIC goes into pin 21 (or 1R on the schematic)
     

    Attached Files:

  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. mramos1

    mramos1 Active Member

    Joined:
    Sep 15, 2005
    Messages:
    2,403
    Likes:
    9
    Location:
    Boynton Beach, Florida USA

    Happen to have PCB layout of it. I will be getting ICD2 clone soon. :)
    I can draw it, but if you already have it.
     
  6. Mike - K8LH

    Mike - K8LH Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    3,637
    Likes:
    109
    Location:
    Michigan, USA
    Bill,

    Looks similar to an adapter board I posted last October in this thread. My design allows for the use of a ZIF-40 socket or less expensive 20-pin single-in-line machined sockets. While the silk screen says "8-18", a newer layout says "8-20" (same electrical layout).

    [​IMG]

    One potential problem I see is that you're routing the PGC and PGD signals to multiple pins if a 40 pin device is installed. You've got seperate 8-20 and 28-40 connectors -- use 'em.

    Regards, Mike
     
    Last edited: Jun 14, 2006
  7. William At MyBlueRoom

    William At MyBlueRoom New Member

    Joined:
    Feb 28, 2006
    Messages:
    721
    Likes:
    1
    Location:
    Toronto, Canada
    Mike is there anything you haven't done with these little PICs? :)

    Thanks for all the advice & help
     

    Attached Files:

  8. mramos1

    mramos1 Active Member

    Joined:
    Sep 15, 2005
    Messages:
    2,403
    Likes:
    9
    Location:
    Boynton Beach, Florida USA
    heh heh.. Thanks Mike, guess what this Mike will be etching in the garage this weekend. Will go look at the thread as I need just the tracks, or will photoshop the yellow out.

    The single row of berg pins for the different PICS types? What are they for? I did not get a datasheet out. Easier to ask. Debug or something.
     
  9. danyghi

    danyghi New Member

    Joined:
    Sep 16, 2006
    Messages:
    1
    Likes:
    0
    until now i cant find any solution to replace the microchip icd2.
    i try many home made devices but all are too slow when use usb
     
  10. William At MyBlueRoom

    William At MyBlueRoom New Member

    Joined:
    Feb 28, 2006
    Messages:
    721
    Likes:
    1
    Location:
    Toronto, Canada
    The ICD2 serial devices can be slow in debug mode, keep the number of watch windows to a minimum will help. The only fast ICD2 clone seems to be a USB ICD2 that uses both a PIC16F877 and a PIC18F4550. This is a more costly and complex device.
    If you want slow use a PicStart Plus
     

Share This Page