Keil Logo


The MAP command allows specifying memory areas that are not detected automatically by µVision. If applications use memory-mapped I/O devices or access the memory dynamically through pointers, developers might need making changes to the memory map. µVision checks each memory access and throws a memory access violation message in the Command window when an invalid access is made.

Syntax Description
MAP Displays the current memory map.
MAP startAddrendAddr
Maps the specified memory range, from startAddr to endAddr, and defines the access rights (read, write, and execution). The memory map supports 1-byte granularity.
MAP startAddr, endAddr CLEAR Clears a mapped memory range that was defined previously with the MAP command.

When µVision loads, the following memory maps are defined.

CPU Address Range Access
Cortex-M Family device specific device specific

µVision supports up to 4GB of memory for Arm7, Arm9, and Arm Cortex-M processor based devices.

For security reasons and for detecting illegal memory accesses, it is recommended to map only the required memory areas. In addition, mapping huge amounts of memory could slow down the execution speed of µVision.


  • This command is ONLY supported by the µVision simulator.
  • The command RESET MAP clears all mapped segments and restores the default mapping.
  • The dialog Memory Map shows the memory mapping in a window.
  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.