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

Class problem

Hi,
I have a probleme with my memory map.
I have declare external ram between 0x200000-0x400000 , but after compilation i see (.m66) that the space 0x200000-0x200004 is reserve for NDATA0. I don't understand why this class is here and why so small. I just want XDATA0 in external memory
So what can i do for this ?
Thanks

Parents
  • take a look at the HOLD directive. It means, that regardless of the memory model, variables are placed into the NEAR memory, which are smaller than the size defined with the HOLD directive. HOLD has a default value of 6, which means, that integer, char and longint variables are placed into NEAR memory.

Reply
  • take a look at the HOLD directive. It means, that regardless of the memory model, variables are placed into the NEAR memory, which are smaller than the size defined with the HOLD directive. HOLD has a default value of 6, which means, that integer, char and longint variables are placed into NEAR memory.

Children
No data