Author |
Message |
Topic: FAST Interrupt Problem - Compiler generating wrong code |
webbone
Replies: 7
Views: 11917
|
Forum: General CCS C Discussion Posted: Sun Apr 19, 2009 3:57 pm Subject: FAST Interrupt Problem - Compiler generating wrong code |
I am aware of the erratum (#7 for Rev A silicon - fixed in Rev B silicon) -As previously stated (I was on a different computer and forgot to login prior to posting), I have dealt with the issue by pat ... |
Topic: FAST Interrupt Problem - Compiler generating wrong code |
webbone
Replies: 7
Views: 11917
|
Forum: General CCS C Discussion Posted: Fri Apr 17, 2009 7:51 pm Subject: FAST Interrupt Problem - Compiler generating wrong code |
No, due to the fact this an older compiler (I actually use two versions of 3.xxx and one of 4.xxx depending on the project/processor/compiler bugs I have to avoid)... but mainly due to the fact I am n ... |
Topic: FAST Interrupt Problem - Compiler generating wrong code |
webbone
Replies: 7
Views: 11917
|
Forum: General CCS C Discussion Posted: Fri Apr 17, 2009 6:17 pm Subject: FAST Interrupt Problem - Compiler generating wrong code |
PIC18F8722 Processor - CCS Compiler Version 3.324
I've been using the FAST option (with #device HIGH_INTS=true) for the RTCC interrupt on several designs and have had no issues.
Unfortunately fo ... |
Topic: Workaround for FAST interrupt problem on PIC18F8722 Rev A1? |
webbone
Replies: 5
Views: 5715
|
Forum: General CCS C Discussion Posted: Wed Aug 06, 2008 5:52 pm Subject: Workaround for FAST interrupt problem on PIC18F8722 Rev A1? |
I wasn't looking for something to be tested, since the silicon bug on the 8722 IS causing trouble. And it would take a significantly longer example to guarantee that the problem would occur.
After ... |
Topic: Workaround for FAST interrupt problem on PIC18F8722 Rev A1? |
webbone
Replies: 5
Views: 5715
|
Forum: General CCS C Discussion Posted: Mon Aug 04, 2008 6:57 pm Subject: Workaround for FAST interrupt problem on PIC18F8722 Rev A1? |
Per the A1 silicon errata sheet ( http://ww1.microchip.com/downloads/en/DeviceDoc/80221c.pdf ), there is a problem if a MOVFF instruction is used to operate on W, STATUS or BSR and that instruction is ... |
Topic: Any version of 3.xxx work with PIC18F4523? |
webbone
Replies: 1
Views: 3038
|
Forum: General CCS C Discussion Posted: Thu Apr 12, 2007 9:17 pm Subject: Any version of 3.xxx work with PIC18F4523? |
It looks like the PIC18Fxx23 family is new enough that it was not supported in any version of 3.xxx - is this true? Would it be possible with the correct .h file to use a 3.xxx compiler for this part? ... |
Topic: How to embed data into ROM on PIC18F - equivalent of DB |
webbone
Replies: 2
Views: 5401
|
Forum: General CCS C Discussion Posted: Wed Dec 07, 2005 6:01 pm Subject: How to embed data into ROM on PIC18F - equivalent of DB |
If I am using MPASM I can do the following:
MyLabel:
data "some text",0xFF,0xAA
MyOtherLabel:
DB 'A','B','X',0x55,'Z',0x00
This will store the appropriate data into ... |
Topic: printf() problem displaying float value without decimal plac |
webbone
Replies: 1
Views: 6158
|
Forum: General CCS C Discussion Posted: Mon Mar 28, 2005 10:16 pm Subject: printf() problem displaying float value without decimal plac |
I am trying to get printf() to output a 2 digit display value from a float value and have not had success thus far getting it to behave. The float variable has a value between 0 and 70 and I only want ... |
Topic: printf to a function - possible to return error? |
webbone
Replies: 1
Views: 4252
|
Forum: General CCS C Discussion Posted: Sun Mar 20, 2005 3:49 pm Subject: printf to a function - possible to return error? |
I know you can use printf to send output a character at a time to a function:
printf(MyFunction,"%03LX",myvar);
If MyFunction() in the above example can return an error value ( ... |
Topic: #use rs232 problem |
webbone
Replies: 3
Views: 7152
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2005 8:06 pm Subject: #use rs232 problem |
You will need to use the BRGH10K option in your #USE RS232 directive.
Doing so should allow you to get a baud rate of 113636 which is about 1.4% below your desired rate - this should be tolerable b ... |
Topic: Question regarding #ROM directive, lookup tables |
webbone
Replies: 8
Views: 15499
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2005 1:19 pm Subject: Question regarding #ROM directive, lookup tables |
I now understand that C doesn't recognize what I am trying to do. I am guessing there is no convenient way to do this as I have shown so I will have to resort to writing a program to generate an inclu ... |
Topic: Question regarding #ROM directive, lookup tables |
webbone
Replies: 8
Views: 15499
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2005 11:53 am Subject: Question regarding #ROM directive, lookup tables |
Ok, I have tried the suggested method but it seems that I cannot construct items the way I showed in my first post. Specifically, this does not work:
const char Msg1[] = {0x17,"AB ... |
Topic: Question regarding #ROM directive, lookup tables |
webbone
Replies: 8
Views: 15499
|
Forum: General CCS C Discussion Posted: Tue Mar 01, 2005 8:57 pm Subject: Question regarding #ROM directive, lookup tables |
THanks for the reply. I had failed to specify that I'm working on a 18F8720 processor in this application.
My overall purpose is to be able to have string tables in ROM that can be read using the T ... |
Topic: Question regarding #ROM directive, lookup tables |
webbone
Replies: 8
Views: 15499
|
Forum: General CCS C Discussion Posted: Tue Mar 01, 2005 7:57 pm Subject: Question regarding #ROM directive, lookup tables |
I have read through many of the posts here regarding lookup tables and string storage in program memory and have determined I will need to write my own routines in assembly using the TABLxxx registers ... |
Topic: printf() to memory - can this be done? |
webbone
Replies: 3
Views: 8351
|
Forum: General CCS C Discussion Posted: Fri Feb 25, 2005 4:40 pm Subject: printf() to memory - can this be done? |
DOH! Thanks. I had completely forgotten about that. |
|