|
|
Discussion Forum
about NCONST
Next Thread | Thread List | Previous Thread
Start a Thread | Settings
| Details |
Message |
|
Read-Only
Author phil Lee
Posted 1-Dec-2011 03:44 GMT
Toolset C251
|
 about NCONST
phil Lee
In C251,
printf ("\nStart Measurement Recording\n");
after compiling, the const "\nStart Measurement Recording\n" is
located at address above 0x8000, but my mcu's data ram is less than
0x8000, what happened? or it is the bug of the C251 Compiler?
|
|
|
Read-Only
Author Al Bradford
Posted 1-Dec-2011 18:12 GMT
Toolset C251
|
 RE: about NCONST
Al Bradford
Are you using the evaluation software? If so, please read the
constraints of the evaluation software.
Bradford
|
|
|
Read-Only
Author phil Lee
Posted 2-Dec-2011 06:36 GMT
Toolset C251
|
 RE: about NCONST
phil Lee
not a evaluation software, when Our company buy IP ,we buy the sw
also,In Map file, we saw if the variable is the temp constant such as
"Hello,World" in string, compiler will allocate the adress above
0x8000 to NCONST, which is not actual address in our IC(the high
address is 0x4000),if I set NCONST(0x1000,0x2000) in L251 User class,
it seems the varialbe init wrong, so I think it is a bug of C251.
|
|
|
Read-Only
Author Erik Malund
Posted 3-Dec-2011 00:28 GMT
Toolset C251
|
 i do not use the '251 but ...
Erik Malund
... for other toolsets there are settings for "memory size". If
yours were right you would get an error if something was (to be)
placed outside the memory you told the tools you have.
Erik
|
|
|
Read-Only
Author Erik Malund
Posted 3-Dec-2011 13:36 GMT
Toolset C251
|
 maybe
Erik Malund
for other toolsets there
maybe, to be crystal clear, I should have said
for Keil other toolsets there
|
|
Next Thread | Thread List | Previous Thread
Start a Thread | Settings
|
|
|