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 start target error

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



Joined: 25 Feb 2004
Posts: 28

View user's profile Send private message

Could not start target error
PostPosted: Fri Sep 18, 2015 3:55 am     Reply with quote

Hello,

I'm currently trying to use the ICD-U40 debugger on a pic 16F877. When I try running I get the error:

"Could not start target: the target was not halted...."

I've checked the MCLR line and the clock which is running at 20M and everything seems OK.

I've tried the diagnostics section in CCLoad and it says that everything is OK. When I get CCLoad to generate the known good program for testing it programs in and then comes back with the same error.

I've also removed and reinstalled the USB drivers for the ICD.

Any ideas Question

Programmer is ICD-U40
Compiler is version 4.130
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Fri Sep 18, 2015 10:57 am     Reply with quote

<http://ww.wmrp.com/forum/viewtopic.php?p=178805>
<https://www.ccsinfo.com/forum/viewtopic.php?t=21652>

Are you sure your clock is good?.
Triple check what is on the pins.
Look at the thread where a complete re-install fixed this.
sandy wilson



Joined: 25 Feb 2004
Posts: 28

View user's profile Send private message

PostPosted: Mon Sep 21, 2015 1:35 am     Reply with quote

Hi Ttelmah,

Thanks for the reply and the help.

Over the weekend I reinstalled a previous version of the compiler and now it is all working to plan. Not sure if it was the reinstall or the reverting to a previous version that fixed it but I'm afraid just now it's a case of "if it ain't broke don't fix it".


But again thanks for the help.

sandy
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