View previous topic :: View next topic |
Author |
Message |
curtis
Joined: 23 Jul 2004 Posts: 3 Location: Brazil
|
Problems using ICD-40 with 18F252 |
Posted: Wed Aug 04, 2004 6:07 am |
|
|
Hi all,
I'm a new CCS user. I'm testing my hardware with PIC18F252 and have some problems with the ICD-40.
When I try to connect to my hardware, the CCS show me this message: "could not detect target chip".
I have check the pins connection: PGD, PGC and PGM, it is ok.
I could configure the chip in the debugger, so I think that I don't have problems with my CCS version.
I don't have problems with the ICD-40 because I can use it in the other hardware with 16F876.
I'm using: ICD Firmware version 1.28, PCWH version 3.206 and IDE version 3.43.
Does anybody have suggestions? Is there any problem using the ICD-40 with 18F252?
thanks |
|
|
bdavis
Joined: 31 May 2004 Posts: 86 Location: Colorado Springs, CO
|
|
Posted: Wed Aug 04, 2004 8:30 pm |
|
|
Are you using the ICD-U40 or ICD-S20?
I have the ICD-U40 and had a similar problem after installation, but after shutting it down and bringing it up, everything worked. Do you have anything you know that works with the ICD, to eliminate that as the culprit? The chip is probably fine, and the ICD may be bad or the drivers aren't working correctly. You may need to post more info concerning your setup - it is often easier to start with something known to work, and only change one thing at a time, until you find the culprit
The Debbuggers/Programmers doesn't seem to have enough people sending feedback |
|
|
Guest
|
Problems using ICD-40 with 18F252 |
Posted: Thu Aug 05, 2004 8:16 am |
|
|
I'm using ICD-U40, that's newer version I have just purchased it.
As I could use it in another hardware, I believe that the problem is not in the ICD. Maybe, I have some problem with the drivers.
Do you think that to install the software again is a good idea?
Have you already used the ICD-U40 with 18F252? Is it work well?
Regarding my set up, I'm using the same connections indicated in the diagram of in-circuit programing/debugging interface.
I mean:
ICD connector - 18F252
1 - MCLR (PIN1)
2 - +5V
3 - GND
4 - RB7/PGD (PIN28)
5 - RB6/PGC (PIN27)
6 - RB5/PGM (PIN26)
Thanks for your help
|
|
|
bdavis
Joined: 31 May 2004 Posts: 86 Location: Colorado Springs, CO
|
|
Posted: Thu Aug 05, 2004 3:25 pm |
|
|
I'm using the 18F452 which is similar. Here are some suggestions:
1.) Check the cable - many people have had some issues with the connection.
2.) Download the ICD Troubleshooting guide, and give that a shot.
3.) Try another PIC18F242 chip.
4.) I didn't double check your connections, but that should be easy to do.
5.) Pull RB5 (PGM) low - (ICD uses High Voltage Programming).
Hope that helps |
|
|
|