![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| PIC Programing / Design Discuss programing of PIC chips here and design of electronics using PIC chips. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
Anyone have experience with the ICD-2 as a De-bugger? Comments, Pro's, con's? Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#2
| |||
| |||
| 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
| |||
| |||
| 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
| ||||
| ||||
| 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 Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#5
| ||||
| ||||
| 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) |
| Sponsored Links |
|
#6
| ||||
| ||||
| 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 Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#7
| |||
| |||
| 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
| ||||
| ||||
| 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 Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#9
| |||
| |||
| 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. |
|
#11
| ||||
| ||||
Well I ordered an appropriate debug header, will see if that cures the problem? Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. Last edited by Al_The_Man; 12-22-2011 at 11:58 AM. |
|
#12
| |||
| |||
| 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? |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How Many C6 users out there | JDsto | Syil Products | 6 | 01-02-2008 10:39 AM |
| 2d & 2.5d Users | rodneydeeeee | Dolphin CADCAM | 0 | 04-24-2007 07:55 PM |
| V17 users??? | turmite | BobCad-Cam | 15 | 07-27-2005 12:24 PM |
| Ver 20 users??? | turmite | BobCad-Cam | 1 | 04-22-2005 03:37 PM |
| Over 900 users!! | HomeCNC | CNCzone Club House | 16 | 06-19-2003 09:34 AM |