Author |
Message |
Topic: preemptive Multitasking |
Ted Ems
Replies: 5
Views: 8508
|
Forum: General CCS C Discussion Posted: Wed Jul 12, 2006 7:36 pm Subject: Preemptive multitasking |
PCM programmer
Thats exactly the way i am getting around this problem. Where did you find the information about the scratch area and when and what uses those areas?
Asmallri
You may be right ... |
Topic: Preemptive multitasking |
Ted Ems
Replies: 3
Views: 12233
|
Forum: General CCS C Discussion Posted: Wed Jul 12, 2006 7:21 pm Subject: preemptive multitasking |
Dave
The retfie inserted by the ccs compiler is actually a fast interrupt return. This uses those shadow registers for the fast stack and replaces the w and bsr registers. The return must return th ... |
Topic: preemptive Multitasking |
Ted Ems
Replies: 5
Views: 8508
|
Forum: General CCS C Discussion Posted: Wed Jul 12, 2006 8:29 am Subject: preemptive Multitasking |
The instruction bit_test(a,b) uses scratch area in ram. Can that area be determined at compile time. Or in a multitasking environment can an area be reserved for scratch for those instructions.
t ... |
Topic: Preemptive multitasking |
Ted Ems
Replies: 3
Views: 12233
|
Forum: General CCS C Discussion Posted: Tue Jul 11, 2006 12:26 pm Subject: Preemptive multitasking |
If this program is ran the instruction movff tcb_temp.strstkptr,stkptr
causes a reset condition. Can anyone help in determining what causes this. Any help would be greatly appreciated.
#include < ... |
Topic: structures and pointers again |
Ted Ems
Replies: 6
Views: 8323
|
Forum: General CCS C Discussion Posted: Wed May 17, 2006 8:24 am Subject: structures and pointers again |
I've looked at this code off and on for a couple days. Did not even occur to me that the declaration was in the wrong place.
Thanks for all the help |
Topic: structures and pointers again |
Ted Ems
Replies: 6
Views: 8323
|
Forum: General CCS C Discussion Posted: Wed May 17, 2006 5:38 am Subject: pointers and structures |
Mark
The compiler returns with an error message saying "Function definition different from previous". Got any suggestions |
Topic: structures and pointers again |
Ted Ems
Replies: 6
Views: 8323
|
Forum: General CCS C Discussion Posted: Tue May 16, 2006 3:17 pm Subject: structures and pointers again |
After looking at all the forum questions and answers i'm still a little unclear what goes where. The code below has an array of structures ( data_array) and a single structure ( temp_data ). The send_ ... |
Topic: External EEPROMS |
Ted Ems
Replies: 1
Views: 9331
|
Forum: General CCS C Discussion Posted: Tue Feb 10, 2004 12:08 pm Subject: external eeproms |
Simple problem!! I believe this was posted before. You must not have the SETUP_SPI(FALSE) in your program. |
Topic: External EEPROMS |
Ted Ems
Replies: 1
Views: 9331
|
Forum: General CCS C Discussion Posted: Tue Feb 10, 2004 11:34 am Subject: External EEPROMS |
I'm using a 18f6620 and the hardware I2C. The eeprom is a 24c65 with the pullups on sda and scl. What i've found is that using the routines in the 24c65 library the 6620 hangs when it enters the i2c_s ... |
|