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

ICD-S40: Could not Start target

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



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

ICD-S40: Could not Start target
PostPosted: Sun Oct 10, 2004 6:12 am     Reply with quote

Hi folks,

My first "fightings" with the ICD-S40

I have the 3.190 Compiler.
I have the ICD Control V2.12
And i have updated the ICD-S40 firmware to V1.29

PIC16F628 @8000000Mhz

The Unit seems to work, it pass all the built in tests succesfully.
I can program and load the PIC properly, the program loaded run fine but I get the following messge:

Quote:


"Could not Start target: the target was not halted after Reset.
Check the target oscillator and MCL."



the problem: it keept disabled all the debugging tools.

Target oscillator was checked (8Mhz stable and rail to rail).
I'm using 27K pull up resistor in MCLR and I read 4.21V in the Reset PIN. (...mmmh ?)

Any help/clue would be very well appreciated.


Many thanks in advance,

Humberto
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Oct 10, 2004 12:32 pm     Reply with quote

The chart on this page shows that CCS ICD does not support debugging
with the 16F628. It only supports programming.
http://www.ccsinfo.com/icddevices.shtml

You have to use the 16F628A if you want to do debugging.
The "A" chip has some additional hardware inside it that supports
debugging. If you use the "A" chip, be sure to get chips that are
marked with date code 0420 or later. This chip is now at Rev. A6,
and according to the errata sheet, they have fixed all the problems.
Hopefully that is true.
http://ww1.microchip.com/downloads/en/DeviceDoc/80151J.pdf

Maybe, to be extra safe, you could develop the code on the 16F628A
but then ship the product with the 16F628.

With the Microchip ICD2 the situation is even worse. The ICD2 will not
program or debug the 16F628. I have to use PicStart-Plus with an
adapter, to do ICSP programming. I was very annoyed when I found
out this information.

----------
Edited to add:
There's more information. Apparently you can't even debug the
standard 16F628A with the Microchip ICD2. You need a special ICD
version of the "A" version chip, which is built into a header.
This Microchip document has more information:
http://ww1.microchip.com/downloads/en/DeviceDoc/51292g.pdf
This special header works with Microchip ICD2 and costs $35 (US).
It's part number AC162053.
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Sun Oct 10, 2004 2:37 pm     Reply with quote

PCM programmer, thousand thanks !!!

As always, your answer: 10/10.

I recognize and appreciate the time you take helping colleagues in this desk.



Muchas gracias,

Humberto
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