This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

about NCONST

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?

Parents
  • 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.

Reply
  • 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.

Children