CortexM3,CortexM4 memory map

Publisher:皮球Latest update time:2018-06-04 Source: eefocusKeywords:CortexM3  CortexM4 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Cortex-M3 Memory Map

CM3 has a single fixed memory map. This greatly facilitates the porting of software between various CM3 microcontrollers. For example, the NVIC and MPU of each CM3 microcontroller have registers in the same location, making them universal. However, the rules set by CM3 are broad, and it still allows chip manufacturers to 
flexibly allocate memory space to create unique microcontroller products.

The address space of CM3 is 4GB, and the program can be executed in the code area, internal SRAM area and external RAM area. However, because the instruction bus and data bus are separate, the best way is to put the program in the code area so that instruction fetch and data access can use their own bus and run in parallel.

Write the picture description here

This is the LPC18xx Memory mapping. 
Write the picture description here 
As you can see, the local SRAM is actually in the Code area specified by ARM. It seems that this is not a hard and fast rule, and each chip manufacturer can still adjust it flexibly.



This is STM32F101XC DE Memory mapping 
Write the picture description here

Comparing with the above figure, we can see that each chip manufacturer defines the memory mapping of its own chip according to ARM's rough memory mapping regulations.




Cortex-M4 memory map (consistent with M3 definition)

Write the picture description here




Special cases encountered

This is QN908x Memory mapping 
Write the picture description here

I checked the datasheet and found that the address of SRAM does start from 0x20000000. 
Write the picture description here

However, the address in the above picture is marked as Aliased to SRAM. The area marked as SRAM starts at 0x040000000. 
I open the .scf file of the sample program again. 
Write the picture description here

There is confusion here. I will log it after I figure it out.


Keywords:CortexM3  CortexM4 Reference address:CortexM3,CortexM4 memory map

Previous article:STM32 system architecture and memory map
Next article:S3C6410 Memory Map

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号