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

XRAM specification

Hello,

1) I am using a Large model for my application. The XRAM area is from 0 to FFFF. Out of this
0-7FFF is used for normal XRAM operations
8000 – F7FF is used Battery backup ram operations for variables initialised with _at_ declarations
F800 – FFFF is used for peripheral addressing

a) Please let me know how much XRAM should I specify while giving the Target options?
b) I want that the startup.a51 file should initialise the XRAM 0-7FFF to 0 and do not change the contents of RAM beyond that. What should be done in the startup.a51 file to accomplish the same.
c) Where should I point the XBPSTACK and XBPSTACKTOP. I am using a small reentrant program also in my program.
d) Also, is a stack used in the XRAM area if the internal stack is full. Is there any warning message available if the stack is full

Regards,

Mohit

0