![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
uslimey
Joined: 27 Aug 2011 Posts: 22 Location: Baltimore, MD
|
ICD U80 debugger issues |
Posted: Sat Apr 06, 2019 10:50 am |
|
|
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? |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
![](templates/subSilver/images/spacer.gif) |
uslimey
Joined: 27 Aug 2011 Posts: 22 Location: Baltimore, MD
|
Update: |
Posted: Sat Apr 06, 2019 12:47 pm |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|