View previous topic :: View next topic |
Author |
Message |
John_Rio
Joined: 22 Jan 2005 Posts: 12 Location: Rio de Janeiro, Brazil
|
ICD-U40 Problem "Could not start target" |
Posted: Fri Jan 28, 2005 8:35 pm |
|
|
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
|
|
Posted: Sat Jan 29, 2005 2:48 am |
|
|
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: 21708
|
|
Posted: Sat Jan 29, 2005 12:35 pm |
|
|
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
|
LED's |
Posted: Sat Jan 29, 2005 2:40 pm |
|
|
It was the led's.
Now it's running fine.
Thanks for the help.
John |
|
|
|