CN / EN
Doc Feedback
Thanks for your interest, welcome to contact us.
Thanks for your feedback

RAM Layout in XIP Mode

The typical RAM layout in XIP Mode is shown in Figure 9. You are able to modify the layout based on product needs.

Figure 9 RAM layout in XIP Mode

The layout in XIP Mode allows application code to be run directly in the code loading area, so that more RAM space is available for applications. It is required to turn off the XIP Mode during Flash data update. As a result, the CPU is unable to fetch commands from Flash. Therefore, the run address of Flash driver code shall be directed to RAM during compiling and linking. The scatter file used by GR551x SDK example projects defines a RAM_CODE area to run code whose run address is in RAM. In Sleep Mode, the RAM Block occupied by the RAM_CODE area shall be in RETENTION Mode.

Note:

You cannot remove the RAM_CODE segment from the scatter file. For more information about the scatter file, see “Configuring Memory Layout”.

Scan to follow

Open WeChat, use "Scan" to follow.