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

Search found 8 matches
CCS Forum Index
Author Message
  Topic: Debugging in MPLAB X - Can only set breakpoints some places
dcm684

Replies: 2
Views: 11471

PostForum: General CCS C Discussion   Posted: Fri May 31, 2019 8:23 pm   Subject: Debugging in MPLAB X - Can only set breakpoints some places
Thanks PCM. There was a mix of line endings, which are now fixed (and will be kept in check through a precompile script calling AStyle). Unfortunately, I'm still running into the same problems.

Bre ...
  Topic: Debugging in MPLAB X - Can only set breakpoints some places
dcm684

Replies: 2
Views: 11471

PostForum: General CCS C Discussion   Posted: Fri May 31, 2019 2:33 pm   Subject: Debugging in MPLAB X - Can only set breakpoints some places
I am trying to figure out why I can only set breakpoints on part of my program in MPLAB X. For the first 1/3 of of the program, I can click in the sidebar and get a working breakpoint. If I try to set ...
  Topic: Cannot set some pins to digital when #pin_select is used
dcm684

Replies: 3
Views: 12424

PostForum: General CCS C Discussion   Posted: Tue Jun 19, 2018 10:39 am   Subject: Cannot set some pins to digital when #pin_select is used
Thanks newguy.

I went deeper into it and found that if I clear the bit, IOLOCK, I can change the values in ANCON3. I then re-set IOLOCK. This requires the fuse NOIOL1WAY.

Another interesting tid ...
  Topic: Cannot set some pins to digital when #pin_select is used
dcm684

Replies: 3
Views: 12424

PostForum: General CCS C Discussion   Posted: Mon Jun 18, 2018 3:08 pm   Subject: Cannot set some pins to digital when #pin_select is used
I am working on a PIC18F97J94 with CCS PCH 5.075. I am trying, and failing, to set several pins on the H port to digital when I use #pin_select. I have no issues setting the non-H-port pins to digital ...
  Topic: #if defined() Usage
dcm684

Replies: 4
Views: 9832

PostForum: General CCS C Discussion   Posted: Wed Apr 09, 2014 11:38 am   Subject: #if defined() Usage
Actually, "ANIMAL" is not defined. Its a value that I periodically #define for certain production environments. I'm sorry that I did not state that earlier.

I copied and pasted my code st ...
  Topic: #if defined() Usage
dcm684

Replies: 4
Views: 9832

PostForum: General CCS C Discussion   Posted: Wed Apr 09, 2014 9:02 am   Subject: #if defined() Usage
I have the following block of code in my program

#if (defined(ANIMAL) && (ANIMAL == COW))
/* Do stuff here */
#endif


The compiler throws the warning "Und ...
  Topic: Stack Size and Profiling
dcm684

Replies: 2
Views: 4358

PostForum: General CCS C Discussion   Posted: Wed Sep 08, 2010 11:42 am   Subject: Stack Size and Profiling
That limit is for 16F. For 18F it's 31 stack levels.
Okay. I am using an 18f chip. So it looks like the stack is not the cause of those other problems.

Thanks.
  Topic: Stack Size and Profiling
dcm684

Replies: 2
Views: 4358

PostForum: General CCS C Discussion   Posted: Wed Sep 08, 2010 11:15 am   Subject: Stack Size and Profiling
I was reading through the FAQ and noticed that the sum of my stack usage should be less than 9. Currently my stack usage is 14 (7 in main + 7 in ISR).

Is there a software means of profiling my stac ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group