CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug Reports on this forum. Send them to support@ccsinfo.com

Problems using ICD-40 with 18F252

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
curtis



Joined: 23 Jul 2004
Posts: 3
Location: Brazil

View user's profile Send private message

Problems using ICD-40 with 18F252
PostPosted: Wed Aug 04, 2004 6:07 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Aug 04, 2004 8:30 pm     Reply with quote

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 Very Happy

The Debbuggers/Programmers doesn't seem to have enough people sending feedback Sad
Guest








Problems using ICD-40 with 18F252
PostPosted: Thu Aug 05, 2004 8:16 am     Reply with quote

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

Very Happy
bdavis



Joined: 31 May 2004
Posts: 86
Location: Colorado Springs, CO

View user's profile Send private message

PostPosted: Thu Aug 05, 2004 3:25 pm     Reply with quote

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 Very Happy
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group