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 U80 debugger issues

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



Joined: 27 Aug 2011
Posts: 22
Location: Baltimore, MD

View user's profile Send private message

ICD U80 debugger issues
PostPosted: Sat Apr 06, 2019 10:50 am     Reply with quote

I have a really odd problem with the U80 debugging... It connects fine, uploads code with no problems, and reads back registers without issue. What is weird however, is that when you press GO it suggests it started but the target does nothing. Then, if you press HALT under the STACK tab the debugger says "Code 0xFFFFFF is outside all functions". If you then press GO again, the application runs. But, at random points is just stops with the same stack error... BTW anytime it stops, you can hit GO and it will run again without reseting.

Now, if don't debug and simply load the code via the Device Programmer App, and run it from the Device Programmer App, it runs without issue.

The other problem I have is that I can't add more than one breakpoint... Anytime I click to add a second breakpoint is deletes the first one. I know this was not the way the IDE behaved in the past... I am pretty sure I should be able to add at least 2 breakpoints to the device I am using.

I am working with a PIC16F723A. The U80 hardware is Rev 1, firmware is 3.37. The Device Programmer software version is 5.055. The IDE and PCHW versions are 5.084.

Any thoughts?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Apr 06, 2019 11:32 am     Reply with quote

Previous thread comparing ICD-U80 to ICD-U64:
http://www.ccsinfo.com/forum/viewtopic.php?t=57679&highlight=icdu80
uslimey



Joined: 27 Aug 2011
Posts: 22
Location: Baltimore, MD

View user's profile Send private message

Update:
PostPosted: Sat Apr 06, 2019 12:47 pm     Reply with quote

I added code to print an incrementing number via the serial port... When my device stops running, I hit PAUSE and GO again and the code continues --- no loss of sequence in the incrementing number... It's like the U80 has told the target to pause... Its definitely NOT a case of the target failing because the code ran off into la-la land... It absolutely looks like the U80 halted the target app, yet the IDE thinks everything is running.
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