MMU program accessible registers

Address translation

WO R K I N G W I T H T H E C P U

. .

 

MemoryManagement Unit (MMU)..

 

.

This table shows the CP15 registers that are used in conjunction with page table descriptors stored in memory to determine MMU operation.

Register

Bits

Description

 

 

 

R1: Control register

M, A, S, R

Contains bits to enable the MMU (M bit), enable data address

 

 

alignment checks (A bit), and to control the access protection

 

 

scheme (S bit and R bit).

 

 

 

R2: Translation Table Base

[31:14]

Holds the physical address of the base of the translation table

register

 

maintained in main memory. This base address must be on a 16

 

 

KB boundary.

 

 

 

R3: Domain Access Control

[31:0]

Comprises 16 two-bit fields. Each field defines the access

register

 

control attributes for one of 16 domains (D15 to D00).

 

 

 

R5: Fault Status registers,

[7:0]

Indicates the cause of a data or prefetch abort, and the domain

IFSR and DFSR

 

number of the aborted access when an abort occurs. Bits [7:4]

 

 

specify which of the 16 domains (D15 to D00) was being

 

 

accessed when a fault occurred. Bits [3:0] indicate the type of

 

 

access being attempted. The value of all other bits is

 

 

UNPREDICTABLE. The encoding of these bits is shown in

 

 

“Priority encoding table” on page 120).

 

 

 

R6: Fault Address register

[31:0]

Holds the MVA associated with the access that caused the data

 

 

abort. See “Priority encoding table” on page 120 for details of

 

 

the address stored for each type of fault.

 

 

 

R8: TLB Operations

[31:0]

Performs TLB maintenance operations. These are either

register

 

invalidating all the (unpreserved) entries in the TLB, or

 

 

invalidating a specific entry.

 

 

 

R10: TLB Lockdown

[28:26] and 0

Enables specific page table entries to be locked into the TLB.

register

 

Locking entries in the TLB guarantees that accesses to the

 

 

locked page or section can proceed without incurring the time

 

 

penalty of a TLB miss. This enables the execution latency for

 

 

time-critical pieces of code, such as interrupt handlers, to be

 

 

minimized.

 

 

 

All CP15 MMU registers, except R8: TLB Operations, contain state that can be read using MRC instructions, and can be written using MCR instructions. Registers R5 (Fault Status) and R6 (Fault Address) are also written by the MMU during an abort.

Writing to R8: TLB Operations causes the MMU to perform a TLB operation, to manipulate TLB entries. This register is write-only.

The virtual address (VA) generated by the CPU core is converted to a modified virtual address (MVA) by the FCSE (fast context switch extension) using the value held in CP15 R13: Process ID register. The MMU translates MVAs into physical addresses to access external memory, and also performs access permission checking.

www.digiembedded.com

107

Page 107
Image 107
Digi NS9215 manual MMU program accessible registers Address translation, Register Bits Description

NS9215 specifications

The Digi NS9215 is a powerful solution designed for industrial applications that require reliable connectivity and robust performance. Built on a foundation of advanced technologies, the NS9215 serves as a versatile networking device that meets the demands of automation, remote monitoring, and data acquisition.

One of the standout features of the Digi NS9215 is its multi-protocol support. It is capable of handling various communication protocols, including Ethernet, Serial, and Wireless, making it ideal for integration into heterogeneous environments. This flexibility enables users to connect legacy devices to modern networks seamlessly, facilitating smoother data communication across different platforms.

The NS9215 is equipped with powerful processing capabilities, featuring an integrated processor that ensures efficient data handling. This enables the device to perform complex data tasks without compromising performance. Its high-speed connectivity options also allow for rapid data transmission, which is crucial for real-time applications in industrial settings.

Another critical characteristic of the Digi NS9215 is its reliability in harsh environments. Built to withstand extreme temperatures, humidity, and electrical interference, this device assures consistent operation even in challenging conditions. Its rugged design minimizes the risk of failure, making it suitable for deployment in various industrial environments.

Security is a top priority for the Digi NS9215. It comes with advanced security features that protect sensitive data during transmission and prevent unauthorized access. Employing encryption protocols and secure authentication methods, the NS9215 ensures that data integrity and confidentiality are maintained throughout its operation.

The user-friendly interface of the NS9215 allows for easy configuration and management. This ease of use reduces the time required for installation and setup, enabling quick deployment in field operations. Additionally, remote management capabilities enhance operational efficiency, allowing users to monitor device performance and make adjustments from anywhere.

Furthermore, the NS9215 supports extensive scalability options. As organizations grow and evolve, the ability to scale up or adapt the networking capabilities becomes essential. With its modular design, the NS9215 can easily accommodate additional devices and protocols, ensuring longevity and continued relevance in a rapidly changing technological landscape.

In conclusion, the Digi NS9215 is a robust networking device designed for a wide range of industrial applications. Its multi-protocol support, reliability, security features, user-friendly interface, and scalability make it a valuable addition to any industrial network infrastructure, delivering performance and efficiency that businesses can depend on for critical operations.