30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 2: LPC2300 Memory map<br />

6. Prefetch abort and data abort exceptions<br />

The LPC2300 generates the appropriate bus cycle abort exception if an access is<br />

attempted for an address that is in a reserved or unassigned address region. The regions<br />

are:<br />

• Areas of the memory map that are not implemented for a specific ARM derivative. For<br />

the LPC2300, this is:<br />

– Address space between On-Chip Non-Volatile Memory and the Special Register<br />

space. Labelled "Reserved for On-Chip Memory" in Figure 2–3.<br />

– Address space between On-Chip Static RAM and the Boot ROM. Labelled<br />

"Reserved Address Space" in Figure 2–3.<br />

– External Memory<br />

– Reserved regions of the AHB and APB spaces. See Figure 2–5.<br />

• Unassigned AHB peripheral spaces. See Figure 2–6.<br />

• Unassigned APB peripheral spaces. See Table 2–4.<br />

For these areas, both attempted data access and instruction fetch generate an exception.<br />

In addition, a Prefetch Abort exception is generated for any instruction fetch that maps to<br />

an AHB or APB peripheral address, or to the Special Register space located just below<br />

the SRAM at addresses 0x3FFF8000 through 0x3FFFFFFF.<br />

Within the address space of an existing APB peripheral, a data abort exception is not<br />

generated in response to an access to an undefined address. Address decoding within<br />

each peripheral is limited to that needed to distinguish defined registers within the<br />

peripheral itself. For example, an access to address 0xE000 D000 (an undefined address<br />

within the UART0 space) may result in an access to the register defined at address<br />

0xE000 C000. Details of such address aliasing within a peripheral space are not defined<br />

in the LPC2300 documentation and are not a supported feature.<br />

If software executes a write directly to the Flash memory, the MAM generates a data abort<br />

exception. Flash programming must be accomplished using the specified Flash<br />

programming interface provided by the Boot Code.<br />

Note that the ARM core stores the Prefetch Abort flag along with the associated<br />

instruction (which will be meaningless) in the pipeline and processes the abort only if an<br />

attempt is made to execute the instruction fetched from the illegal address. This prevents<br />

accidental aborts that could be caused by prefetches that occur when code is executed<br />

very near a memory boundary.<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 20 of 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!