Tightly-coupled SRAM
Copyright © ARM Limited 2000. All rights reserved.
5-5
5.2.4
Enabling the D-SRAM
You can enable the D-SRAM by setting bit 16 of the CP15 control register. See CP15
register map summary on page 2-4 for details of how to read and write this register.
When you have enabled the D-SRAM, see Register 9, Tightly-coupled memory region
registers on page 2-26, all future read and write accesses to the D-SRAM address space
cause the D-SRAM to be accessed.
5.2.5
Disabling the D-SRAM
You can disable the D-SRAM by clearing bit 16 of the CP15 control register. When you
have disabled the D-SRAM, see Register 9, Tightly-coupled memory region registers
on page 2-26, all future reads and writes to the D-SRAM address space access the AHB.
Read and write accesses to I-SRAM address space either use the I-SRAM or access the
AHB depending on whether I-SRAM is enabled or not.
5.2.6
D-SRAM load mode
You must initialize the D-SRAM with the required data image before use.
You can initialize the D-SRAM by writing to the memory from the AM9E-S core data
interface.
The D-SRAM load mode allows this to be done in an efficient manner. Using the load
mode allows you to copy from an address in the data cache or external memory into the
same address within the D-SRAM.
The D-SRAM load mode bit of CP15 Register 1 inhibits reads from the D-SRAM,
forcing reads from addresses that are within the D-SRAM address range to access either
main memory or the data cache. Writes to addresses that are within the D-SRAM range
are not affected by the data load mode bit.
The procedure for initializing the D-SRAM using the load mode is as follows:
1.
Enable the D-SRAM and data load mode
2.
Load ARM registers from main memory or data cache
3.
Store ARM registers into data RAM
4.
Increment address pointers and repeat load/store steps until the data image has
been copied.
A suggested assembler code sequence for this procedure is:
LDR R0, #ImageStart
; Initialise pointer
LDR R1, =ImageTop
; Define end of data space
Содержание ARM946E-S
Страница 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Страница 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Страница 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 98: ...Bus Interface Unit and Write Buffer 6 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...