??? 05/20/08 04:02 Read: times Msg Score: -1 -1 Answer is Wrong |
#154937 - You seem to be declaring constant Responding to: ???'s previous message |
Raj
You seem to be declaring constant data like the arrays you've shown in the 'data' space. Keil requires you to explicitly declare and place constant data in 'code' space. Something like this will help you [b]code[/b] char myalarms[]="ALARM1XXXXxxxxxxxxxxALARM2XXXXxxxxxxxxxxALARM3XXXXxxxxxxxxxxALAR"; the 64 byte limit you see may be due to insufficient data space (out of 128 if 8051 or 256 if 8052 family) after allocating all of your storage needs. |
Topic | Author | Date |
Array size limitation for Keil ? | 01/01/70 00:00 | |
if you breakpoint | 01/01/70 00:00 | |
Time to check the assembler output.... | 01/01/70 00:00 | |
RE: you can not break on the declaration of a vari | 01/01/70 00:00 | |
you can not break on the declaration of a variable![]() | 01/01/70 00:00 | |
You seem to be declaring constant | 01/01/70 00:00 | |
It is fully possible.... | 01/01/70 00:00 | |
idata as stack | 01/01/70 00:00 | |
Keil compiler limits | 01/01/70 00:00 | |
I agree - its not a limit | 01/01/70 00:00 | |
Well maybe.... | 01/01/70 00:00 | |
64 or 128 | 01/01/70 00:00 | |
It was the stack | 01/01/70 00:00 | |
The compiler cannot really guess .. | 01/01/70 00:00 | |
Glad you have it working | 01/01/70 00:00 | |
Map the variables in correct memory area | 01/01/70 00:00 |