Keil Logo

Defining Physical Memory

The XC16x/C16x/ST10 device family offers a limitless number of possible memory configurations. It is imperative that the tools are configured to match the memory map of the target hardware system. Failure to correctly configure the development tools to match the target will certainly cause negative consequences.

Unfortunately, there is no general rule that can be used to describe all possible hardware/memory configurations. Therefore, several examples are used to demonstrate how to configure the memory areas for the linker.

Note

  • NEAR data (NDATA) must reside in a single 16K data page (unless you use the DPPUSE directive).
  • NEAR constants (NCONST) must reside in a single 16K data page (unless you use the DPPUSE directive).
  • NEAR code (NCODE) must reside in a single 64K block.
  • On-chip RAM (0FA00h-0FFFFh) may not be used for program code or constants.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.