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 CCS Technical Support

Could not detect target chip

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
rbevers



Joined: 30 Jun 2006
Posts: 6

View user's profile Send private message

Could not detect target chip
PostPosted: Sat Jul 15, 2006 3:12 am     Reply with quote

Last week I received my ICD-U40. Unfortunatly I had no MCU's
left at that time. Yesterday however I received some including a
16F877A-I/P.

To My understanding I should be able to program it with the U40.
But it keeps telling me "Could not detect target chip". I fear I may
have made a mistake connecting it.
That is why I would like to ask if anyone has a detailed schematic
of how to connect the ICD to the device. More detailed than the
CCS info on their site.

Any other ideas as to why I get this error are also appreciated.

Thanks

Richard
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jul 15, 2006 3:50 am     Reply with quote

Quote:

That is why I would like to ask if anyone has a detailed schematic
of how to connect the ICD to the device. More detailed than the
CCS info on their site.

There's a schematic on the FAQ page.
http://www.ccsinfo.com/faq.php?page=icd_connection
rbevers



Joined: 30 Jun 2006
Posts: 6

View user's profile Send private message

PostPosted: Sat Jul 15, 2006 4:06 am     Reply with quote

Thanks for the reply but the description from CCS isn't detailed enough.
I already hooked it up to that specification but it doesn't work. Thats why
I need more detailed info to track down my mistake.

A schematic which includes the MCU would really help a lot.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jul 15, 2006 4:19 am     Reply with quote

The Microchip ICD2 has the same connections as the CCS ICD-U40,
except that it doesn't use pin B3 for a debug serial channel, and that
it uses a 10K pullup instead of 47K.

The ICD2 Poster has a schematic on the right side of the sheet,
which shows the PIC.
http://ww1.microchip.com/downloads/en/DeviceDoc/51265e.pdf
rbevers



Joined: 30 Jun 2006
Posts: 6

View user's profile Send private message

PostPosted: Sat Jul 15, 2006 8:41 am     Reply with quote

Thanks, That was what I was looking for.

I hooked it up like the schematic said but it still couldn't detect the device.

Now however I have a different problem. I restarted the computer and the
ICD-U40 is no longer recognized. I tried plugging it into another USB port.
It then wanted to reinstall the drivers.
After another restart no port works anymore.
Now when I start the ICD software I get a "Start Connection" Dialog
Where I have to choose the com port and the baud rate.
The com port list is empty and the baud rate cannot be changed.

I'm starting to worry that my ICD is broken.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jul 15, 2006 12:39 pm     Reply with quote

Download the ICD Trouble-shooting guide from this page:
http://www.ccsinfo.com/downloads.php
Go through it, and if you can't make it work, then call CCS support
on Monday. Calling will work more quickly than emailing.
rbevers



Joined: 30 Jun 2006
Posts: 6

View user's profile Send private message

PostPosted: Tue Jul 18, 2006 11:50 am     Reply with quote

I already found the document and started debugging. Unfortunalty I still couldn't get it to work.
I'm all in favor of calling but I live in the netherlands and that would probably
mean a really large phone bill. I've opted for email instead.

Thanks for your help
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion 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