??? 06/26/08 05:21 Read: times |
#156213 - Probably not the volatile Responding to: ???'s previous message |
Neil Kurzman said:
xdata volatile unsigned int Holdtime; He said that xdata unsigned int Holdtime;doesn't work, but data unsigned int Holdtime;does. Since it works in data without the 'volatile', that is unlikely to be the issue. More likely, there's something "wrong" with XDATA; eg, does this chip require XDATA to be enabled? Or, as you suggested, does it actually have enough XDATA...? |
Topic | Author | Date |
Strange problem with Keil Compiler | 01/01/70 00:00 | |
Try volatile | 01/01/70 00:00 | |
Probably not the volatile | 01/01/70 00:00 | |
Who can know what is in the mind of the compiler | 01/01/70 00:00 | |
cut out the optimizer (set to 2) and see | 01/01/70 00:00 | |
Assembler Dump | 01/01/70 00:00 | |
well | 01/01/70 00:00 | |
XRAM is enabled | 01/01/70 00:00 | |
the most likel7y reason is that | 01/01/70 00:00 | |
You may want to let the linker know | 01/01/70 00:00 | |
he is using a '124 | 01/01/70 00:00 | |
I know | 01/01/70 00:00 | |
Linker output | 01/01/70 00:00 | |
OVERLAYABLE | 01/01/70 00:00 | |
OVERLAYABLE ?![]() | 01/01/70 00:00 | |
Eh, no debugger for silabs chip? | 01/01/70 00:00 | |
I am using CA51 which dont have debugging | 01/01/70 00:00 | |
it will | 01/01/70 00:00 |