鸿 网 互 联 www.68idc.cn

ARM汇编语言(10) CP14

来源:互联网 作者:佚名 时间:2015-08-28 07:58
The ARM920T processor containstwo internal coprocessors: ? CP14 for debug control ? CP15 for memory system control and test control. The ARM920T processor incorporates(包含) the ARM9TDMI integer core, whichimplements the ARM architecture v

The ARM920T processor containstwo internal coprocessors:
? CP14 for debug control
? CP15 for memory system control and test control.


The ARM920T processor incorporates(包含) the ARM9TDMI integer core, which implements the ARM architecture v4T. Itexecutes the ARM and Thumb instruction sets, and includes EmbeddedICE JTAG software debug features.

The programmer’s model of the ARM920T processor consists of the programmer’s model of the ARM9TDMI core with the following additions and modifications:

? The ARM920T processor incorporates(包含) two coprocessors: 
— CP14, which allows software access to the debug communications channel. You can access the registers defined in CP14 using MCRand MRCinstructions. 

— The system control coprocessor, CP15, which provides additional registers that are used to configure and control the caches, MMU, protection system, the clocking mode, and other system options of the ARM920T, such as big 
or little-endian operation. You can access the registers defined in CP15 using MCRand MRC instructions.  

? The ARM920T processor also features an external coprocessor interface that allows the attachment of a closely-coupled coprocessor on the same chip, for example, a floating-point unit. You can access registers and operations provided by any coprocessors attached to the external coprocessor interface using appropriate coprocessor instructions.


? Memory accesses for instruction fetches and data loads and stores can be cached or buffered. Cache and write buffer configuration and operation is described in detail in Chapter 4 Caches, Write Buffer, and Physical Address TAG (PA TAG) RAM.


? The MMU page tables that reside in main memory describe the virtual to physical address mapping, access permissions, and cache and write buffer configuration. These are created by the operating systemsoftware and accessed automatically by the ARM920T MMU hardware whenever an access causes a TLB miss.


? The ARM920T has a Trace Interface Port that allows the use of Trace hardware and tools for real-time tracingof instructions and data.


Coprocessor 14 debug registers

To access the CP14 debug registers, opcode_1 and CRn must be set to 0. The opcode_2 and CRm fields of 
the coprocessor instructions are used to encode the CP14 debug register number, where the register number 
is {opcode2, CRm}.




网友评论
<