EasyManua.ls Logo

ARM Cortex-R4 - Page 41

Default Icon
436 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Functional Description
ARM DDI 0363G Copyright © 2006-2011 ARM Limited. All rights reserved. 2-16
ID073015 Non-Confidential
Note
Floating-point logic is only available with the Cortex-R4F processor.
Caches
If the processor is built with instruction or data caches, these must be invalidated before they are
enabled, otherwise unpredictable behavior can occur. See Cache operations on page 4-58.
If you are using an error checking scheme in the cache, you must enable this by programming
the Auxiliary Control Register, see c1, Auxiliary Control Register on page 4-40, before
invalidating the cache, to ensure that the correct error code or parity bits are calculated when the
cache is invalidated. An invalidate all operation never reports any ECC or parity errors.
TCM
The processor does not initialize the TCM RAMs. It is not essential to initialize all the memory
attached to the TCM interface but ARM recommends that you do. In addition, the main
application might require you to preload instructions or data into the TCM. This section
describes various ways that you can perform data preloading. You can also configure the
processor to use the TCMs from reset.
Preloading TCMs
You can write data to the TCMs using either store instructions or the AXI slave interface.
Depending on the method you choose, you might require:
particular hardware on the SoC that you are using
boot code
a debugger connected to the processor.
Methods to preload TCMs include:
Memory copy with running boot code
The boot code includes a memory copy routine that reads data from a ROM, and
writes it into the appropriate TCM. You must enable the TCM to do this, and it
might be necessary to give the TCM one base address while the copy is occurring,
and a different base address when the application is being run.
Copy data from the debug communications channel
The boot code includes a routine to read data from the Debug Communications
Channel (DCC) and write it into the TCM. The debug host feeds the data for this
operation into the DCC by writing to the appropriate registers on the processor
APB debug port.
Execute code in debug halt state
The processor is put into debug halt state by the debug host, that then feeds
instructions into the processor through the Instruction Transfer Register
(DBGITR). The processor executes these instructions, that replace the boot code
in either of the two methods described previously in this list.
DMA into TCM
The SoC includes a Direct Memory Access (DMA) device that reads data from a
ROM, and writes it to the TCMs through the AXI slave interface.

Table of Contents

Related product manuals