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

ICD3Err0031 Failed to get PC

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



Joined: 08 Sep 2006
Posts: 182

View user's profile Send private message Send e-mail

ICD3Err0031 Failed to get PC
PostPosted: Fri Oct 27, 2017 2:55 am     Reply with quote

Hello,
I have a pic16f876a controller. Connected at 5V. Crystal 12MHz.
MPLAB 8.92 CCS 5.025.
In debug mode I can program it and start it. But when I pause it I get the ICD3Err0031 failed to get the PC...
Anybody any clue where to look ???

Regards,
Jody
Ttelmah



Joined: 11 Mar 2010
Posts: 19496

View user's profile Send private message

PostPosted: Fri Oct 27, 2017 12:27 pm     Reply with quote

Triple check the cable.
On some chips I've had to shorten it to <10cm to get reliable operation.

However on your chip this is commonly caused if the clock setting is incorrect. PLL with a crystal that is too fast for example. Post your fuses, clock setup etc..
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