Page 1 of 2 12 LastLast
Results 1 to 12 of 17

Thread: ICD-2/3 Users?

  1. #1
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,943
    Downloads
    0
    Uploads
    0

    ICD-2/3 Users?

    Anyone have experience with the ICD-2 as a De-bugger?
    Comments, Pro's, con's?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  2. #2
    Registered
    Join Date
    Mar 2006
    Location
    Sol 3 (YVR)
    Posts
    125
    Downloads
    0
    Uploads
    0
    My ICD2 has worked well for me for many years up until recently. The 'problems' I experience with it now are due to it's age - it is less compatible with modern PIC's and PC operating systems.

    Mine is an older one that doesn't work with Windows 7. Grrrrr. Not too terrible, I just have to maintain XP based development computers.

    Many modern PIC's use a lower programming voltage. The ICD2 generates (I think) 12V levels for programming, which can fry certain chips. There are adapters and circuits available that prevent this.

    Within these limitations, my ICD2 still works flawlessly but gets less frequent use now because the PICkits are adequate for most work.

    Thus, like the PICkit2, if it handles your target chips and works with your computer, it is a fine tool.

    -----------------
    I've pondered an ICD3 from time to time but can't yet justify the price given how cheap PICkit 2 & 3 clones can be had.


  3. #3
    Registered
    Join Date
    Jan 2005
    Location
    Toronto, Canada
    Posts
    1,423
    Downloads
    0
    Uploads
    0
    I have an icd2. I find it to be rather sluggish and it has a tendency to lock up. I often need to plug and unplug it several times before the software successfully connect to it. It works reasonably well, but the AVR Dragon for the Atmel processors worked much better.

    My current project is a DSPIC based motor driver. I should probably make a bidirectional opto-isolator for it, just to be safe.


  4. #4
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,943
    Downloads
    0
    Uploads
    0
    I have a ICD-2 clone on its way, so for $40.00 I can afford to test it, replaces the programmer also!
    I will report on it after testing.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #5
    Registered James Newton's Avatar
    Join Date
    May 2005
    Location
    USA
    Posts
    857
    Downloads
    0
    Uploads
    0
    See
    techref.massmind.org/techref/microchip/icd2.htm for a few notes. There are certain chips that the ICD2 will fry because it's minimum VPP is more than the MAX VPP of the chip. And it CAN be made to run on Win7, but you have to do some fiddling.
    James hosts the single best wiki page about steppers for CNC hobbyists on the net:
    http://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what's missing! ,o)


  • #6
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,943
    Downloads
    0
    Uploads
    0
    Well I got my ICD-2 clone, after much effort the driver was loaded and I could program the chip (16F628A) but when running debugger get error ICD0083, green light and amber is on, red flashing.
    No support from the supplier!
    Went through the cause list and cannot see anything that stands out?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #7
    Registered
    Join Date
    Jan 2005
    Location
    Toronto, Canada
    Posts
    1,423
    Downloads
    0
    Uploads
    0
    I just got back into pic programming, so I'm no expert, but I believe your debugger was unable to communicate with the pic. Note that on the newer pics, the debug pin can be reassigned using the configurations bits. Be sure you are using the proper ones. Go to Configure-Configuration Bits. Make sure the second last item matches your connection. When starting out, I would recommend NOT reassigning the debug pins. Stay with the default until you are more familiar with the environment.

    If you are using the usb version unplug the usb cable AND the mcu cable to endure that the debugger powers down. You might need to do this 5 times until it finally works. As I've mentioned before, it's very finicky.


  • #8
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,943
    Downloads
    0
    Uploads
    0
    It communicates with the Pic as it erases and programs, it is when I do a run and trace in debug mode that it gives the error and then hangs up Windows completely.
    I believe I have set the configuration as required.
    I may play tomorrow again if I get the chance.!
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #9
    Registered
    Join Date
    Mar 2006
    Location
    Sol 3 (YVR)
    Posts
    125
    Downloads
    0
    Uploads
    0
    Are you trying to debug a regular 16F628A or is it a special one with debug header? (See section 14.13 of the PIC16F627A/628A/648A data sheet.)

    Do you have a bigger PIC you can test with - a 16F88x or perhaps an 18Fx520 or the like? Something that definitely has built in debug capability.


  • #10
    Registered
    Join Date
    Oct 2005
    Location
    Australia
    Posts
    2,387
    Downloads
    0
    Uploads
    0
    You need to debug the debugger?

    Ahh the joy of computers...


  • #11
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,943
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by vegipete View Post
    Are you trying to debug a regular 16F628A or is it a special one with debug header? (See section 14.13 of the PIC16F627A/628A/648A data sheet.)

    Do you have a bigger PIC you can test with - a 16F88x or perhaps an 18Fx520 or the like? Something that definitely has built in debug capability.
    I don't have the debug header, I read the details as it being optional to free up the I/O pins, which at present I don't need as I am just debugging the USART functions.
    Well I ordered an appropriate debug header, will see if that cures the problem?
    Al.
    Last edited by Al_The_Man; 12-22-2011 at 12:58 PM.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #12
    Registered
    Join Date
    Jan 2005
    Location
    Toronto, Canada
    Posts
    1,423
    Downloads
    0
    Uploads
    0
    1. Did you try a chip on a breadboard? All you need is power, gnd, pgc, pgd and mclr. 2. Did you program the chip first, using Debug-Program? It won't connect without the debug code downloaded.
    3. Remove any capacitor you have on mclr.
    4. Are you able to read the configuration bits?


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. How Many C6 users out there
      By JDsto in forum Syil Products
      Replies: 6
      Last Post: 01-02-2008, 11:39 AM
    2. 2d & 2.5d Users
      By rodneydeeeee in forum Dolphin CADCAM
      Replies: 0
      Last Post: 04-24-2007, 08:55 PM
    3. V17 users???
      By turmite in forum BobCad-Cam
      Replies: 15
      Last Post: 07-27-2005, 01:24 PM
    4. Ver 20 users???
      By turmite in forum BobCad-Cam
      Replies: 1
      Last Post: 04-22-2005, 04:37 PM
    5. Over 900 users!!
      By HomeCNC in forum CNCzone Club House
      Replies: 16
      Last Post: 06-19-2003, 10:34 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.