Four operating modes of on-chip RAM

Publisher:phi31Latest update time:2018-06-04 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Memory mapping: When the CPU accesses the address in this range, the address fetch packet in the corresponding address will be returned (other modes will return undefined data); the CPU cannot access the program RAM through the DMC; the user can determine the different starting addresses

of the program RAM by selecting different mapping modes (map0/map1). 2. Cache enable: (1) Initially, program instruction fetches at any address are considered cache misses;

first, the required instruction fetch packet is read in through the EMIF, and the instruction fetch packet is stored in the cache while being sent to the CPU. During this process, the CPU is suspended. (2) Subsequent accesses to cached addresses will cause cache hits, and the instruction fetch packet in the cache will be immediately sent to the CPU (3) When the program switches from memory mapping mode to cache enable mode, the cache area will be automatically flushed, which is also the only way to flush the cache.

3. Cache freeze: Keep the current state of the cache. The only difference from cache enable is that when a cache miss occurs, the instruction packet read in from the EMIF will not be stored in the cache at the same time, ensuring that the cached program will not be overwritten.

4. Cache bypass: The cache maintains its current state, ensuring that instructions can only be fetched from external storage space.

Reference address:Four operating modes of on-chip RAM

Previous article:Cortex-M3 exception interrupt and vector table definition
Next article:STM32 chip naming

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号