Author |
Message |
Topic: ICD-U40 mysterious errors programming EEProm :-( |
bgpartri
Replies: 2
Views: 10961
|
Forum: General CCS C Discussion Posted: Thu Feb 12, 2004 6:40 pm Subject: ICD-U40 mysterious errors programming EEProm :-( |
Yes, it works if you make it non-contiguous.
#ROM 0xF000C4 = { 0x696C, 0x6574, 0x6445, 0x7469, 0x4C20,
0x776F, 0x5320, 0x4550, 0x6964, 0x2074,
0x6948, 0x6867, ... |
Topic: ICD-U40 mysterious errors programming EEProm :-( |
bgpartri
Replies: 2
Views: 10961
|
Forum: General CCS C Discussion Posted: Thu Feb 12, 2004 5:35 pm Subject: ICD-U40 mysterious errors programming EEProm :-( |
I'm getting the same problem. I will see if I can get it to work by rearranging it.
18F452 and 3.178, 3.184 tested |
Topic: Function definition different from previous definition (?) |
bgpartri
Replies: 2
Views: 11710
|
Forum: General CCS C Discussion Posted: Thu Jan 22, 2004 1:15 pm Subject: Function definition different from previous definition (?) |
Just in case you haven't already figured this out, you might be missing a semicolon after a prototype declaration.
int foo()
// The error will be on the next line
byte billy_bob; |
Topic: Huge main() - Why? |
bgpartri
Replies: 6
Views: 19363
|
Forum: General CCS C Discussion Posted: Wed Jan 14, 2004 6:35 pm Subject: Huge main() - Why? |
It looks like this is going to be too valuable in terms of speed and ROM space to ignore, so I have started converting.
I have identified a bunch of chunks that can be converted relatively easily, ... |
Topic: Huge main() - Why? |
bgpartri
Replies: 6
Views: 19363
|
Forum: General CCS C Discussion Posted: Mon Jan 12, 2004 5:56 pm Subject: Huge main() - Why? |
Thanks. I'll look at that info.
Unfortunately, I think I have to use floating point.
I'm using expressions like exp(-(ln(2)/halftime[i]*time). Two of the floating point calculation routines ta ... |
Topic: Huge main() - Why? |
bgpartri
Replies: 6
Views: 19363
|
Forum: General CCS C Discussion Posted: Mon Jan 12, 2004 5:18 pm Subject: Huge main() - Why? |
Below is the asm listing for my main(). It is listed in statistics as taking up 2900 bytes. What is going on here?
There must be something going into main that I just don't understand. Global ... |
|