Author |
Message |
Topic: What name is used in "Auto-Add chip name define" |
jonnewbill
Replies: 1
Views: 6055
|
Forum: General CCS C Discussion Posted: Fri Sep 25, 2015 9:57 pm Subject: What name is used in "Auto-Add chip name define" |
Using CCS 5.049 and I've checked the box in the Project Options:Global Defines dialog to select
https://www.dropbox.com/s/2fhifw7p6dv18dt/Screenshot%202015-09-25%2020.42.08.png?dl=0
Auto-Add chi ... |
Topic: #use RS232(TRANSMIT_BUFFER= Behavior |
jonnewbill
Replies: 9
Views: 23668
|
Forum: General CCS C Discussion Posted: Sat Sep 19, 2015 1:29 pm Subject: #use RS232(TRANSMIT_BUFFER= Behavior |
The problem is that selecting TRANSMIT_BUFFER= in the #use RS232 directive changes the behavior of putc and printf routines. It is very non-intuitive that adding a transmit buffer causes the loss of ... |
Topic: Numerous CCS Debugger Issues with PIC18F87J94 |
jonnewbill
Replies: 4
Views: 8570
|
Forum: General CCS C Discussion Posted: Fri Sep 11, 2015 11:55 am Subject: Software Breakpoints and Skidding |
RF_Develooper,
Thanks for the link. It was most helpful. My embedded background for past 10+ years has been with TI MSP430's and the IAR C++ compiler. The PIC18 is the first processor I've worked ... |
Topic: Numerous CCS Debugger Issues with PIC18F87J94 |
jonnewbill
Replies: 4
Views: 8570
|
Forum: General CCS C Discussion Posted: Fri Sep 11, 2015 12:22 am Subject: Numerous CCS Debugger Issues with PIC18F87J94 |
I posted a week ago regarding two debugger issues on loss of current execution point and WATCH failure. That post has over 200 views but only one response which did not resolve either issue. I'm won ... |
Topic: #use RS232(TRANSMIT_BUFFER= Behavior |
jonnewbill
Replies: 9
Views: 23668
|
Forum: General CCS C Discussion Posted: Mon Sep 07, 2015 11:55 pm Subject: #use RS232(TRANSMIT_BUFFER= Behavior |
In my experience blocking is an important element of embedded processing and certainly blocking is much preferred over randomly losing transmission data without any error return to the caller. I have ... |
Topic: #use RS232(TRANSMIT_BUFFER= Behavior |
jonnewbill
Replies: 9
Views: 23668
|
Forum: General CCS C Discussion Posted: Mon Sep 07, 2015 6:46 pm Subject: #use RS232(TRANSMIT_BUFFER= Behavior |
I was not aware of the non-standard
printf(putcFunction,format,vars);
function. It is not described in the documentation other than a line showing that format in the manual with no explana ... |
Topic: ANSI C Compliance Bug in Static&Global Var Initializatio |
jonnewbill
Replies: 7
Views: 13547
|
Forum: General CCS C Discussion Posted: Mon Sep 07, 2015 3:43 pm Subject: ANSI C Compliance Bug in Static&Global Var Initializatio |
I have encountered a bug in ANSI C compliance with the CCS C Compiler
int16 a;
int16 b = 0;
main()
{
printf("a = %ld b = %ld\n\r", a, b);
}
The out ... |
Topic: #use RS232(TRANSMIT_BUFFER= Behavior |
jonnewbill
Replies: 9
Views: 23668
|
Forum: General CCS C Discussion Posted: Mon Sep 07, 2015 2:27 pm Subject: #use RS232(TRANSMIT_BUFFER= Behavior |
I'm trying to use the TRANSMIT_BUFFER feature in the #use RS232 command. Without TRANSMIT_BUFFER field my application transmits all printf strings correctly. When I use TRANSMIT_BUFFER=32 as shown h ... |
Topic: Debugger lost green arrow PC loc & ERROR#12 on WATCH |
jonnewbill
Replies: 2
Views: 7775
|
Forum: General CCS C Discussion Posted: Sat Sep 05, 2015 3:59 pm Subject: Debugger lost green arrow PC loc & ERROR#12 on WATCH |
The code I'm executing is not CCS library code the routine being called is my own routine within the project. The behavior is intermittent as now when I recompile the same code it steps correctly at ... |
Topic: Debugger lost green arrow PC loc & ERROR#12 on WATCH |
jonnewbill
Replies: 2
Views: 7775
|
Forum: General CCS C Discussion Posted: Fri Sep 04, 2015 10:14 pm Subject: Debugger lost green arrow PC loc & ERROR#12 on WATCH |
I've been using CCS C compiler for a little over a month and having quite a few issues with the debugger. I find when I'm single stepping the green arrow showing the current line will sometimes disap ... |
|