Hi
NON banked memory can be accessed by 16bits address. For example below is nonbanked address:
RAM 0x2000 TO 0x3FFF;
EEPROM 0x0C00 TO 0x0FFF;
ROM_4000 0x4000 TO 0x7FFF;
ROM_C000 0xC000 TO 0xFEFF;
Some parts of an application must always be in non–banked memory, in particular:
- The prestart code (segment .init)
- The startup code (segment NON_BANKED) and the startup descriptor(s) (segment . startData)
- All runtime support routines (segment NON_BANKED)
- All interrupt handlers, because trap vectors are only 16 bits wide.
- RAM variables initialization values (segment .copy). There is a way to get copy down information stored in banked memory.
Have a great day,
Jun Zhang
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------