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

ICD-U40 Problem "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
John_Rio



Joined: 22 Jan 2005
Posts: 12
Location: Rio de Janeiro, Brazil

View user's profile Send private message MSN Messenger

ICD-U40 Problem "Could not start target"
PostPosted: Fri Jan 28, 2005 8:35 pm     Reply with quote

Hi.
I have made my own board with a 18F252 chip.
When i try to download / debug the target, i get the following message:
"could not start target: The target was not halted after reset. Check osc. and MCLR."

Is it a problem that i have led's connected to RB6/7 (via resistors 470R) ??

I don't have the RB3 connected to ICD, but it should work without this ??

I have 47K pull up to Vcc (5V)

The board is running fine with ICD-2 from microchip (assembler prg.).
The ICD-U is working fine with the 452 prototype board.

Please help!!

John
micro_joe



Joined: 20 Dec 2004
Posts: 10
Location: Berks. UK

View user's profile Send private message

PostPosted: Sat Jan 29, 2005 2:48 am     Reply with quote

HI,

I had similar problems with the 18F6621.

I contacted CCS Tech Support regarding an issue with setting certain fuses, particularly brownout and power up, with H4 set. Setting the fuses without H4 set was OK. Having discovered this I set the fuses without H4 set, recompile with H4 set and debugged from there.

I was getting "Could not start target" problems until I set fuses without H4 set. I can't be 100% sure that the fuses problem was the issue but it seem to go away when I did this.

See http://www.ccsinfo.com/forum/viewtopic.php?t=21303
for my post.

Andy
PCM programmer



Joined: 06 Sep 2003
Posts: 20337

View user's profile Send private message

PostPosted: Sat Jan 29, 2005 12:35 pm     Reply with quote

Quote:
Is it a problem that i have led's connected to RB6/7 (via resistors 470R) ??

The CCS ICD trouble-shooting guide says on page 13:

Connection Checklist:
-- B6, B7 are only connected to the ICD.

(ie., Don't put LEDs on those pins).

http://www.ccsinfo.com/ccs_icd_trblsht.zip

I don't have any experience with the CCS ICD. I've only used
the Microchip ICD2. I had a problem when I was using either
pull-ups or pull-downs (I can't remember which) on pins B6 and B7.
The ICD2 was blinking a warning condition on its LEDs.
So I think if the ICD2 is working with those LEDs, maybe you
are just lucky so far.

Edited to add:
After looking at the ICD2 Poster, I remember my circuit.
http://ww1.microchip.com/downloads/en/DeviceDoc/51265e.pdf
I had 3.3K or 4.7K pull-ups on pins B6 and B7. Because the
the ICD2 has internal 4.7K pull-downs, the result was that the
proper logic levels were not being maintained. If your LEDs
are connected to ground with a 470 ohm series resistor, I
suppose it might work OK with the ICD2. I don't know what's
inside the CCS ICD so it might not work with the LEDs.
John_Rio



Joined: 22 Jan 2005
Posts: 12
Location: Rio de Janeiro, Brazil

View user's profile Send private message MSN Messenger

LED's
PostPosted: Sat Jan 29, 2005 2:40 pm     Reply with quote

It was the led's.

Now it's running fine.

Thanks for the help.

John
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