09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>RM0090</strong> Embedded Flash memory interface<br />

3 Embedded Flash memory interface<br />

3.1 Introduction<br />

The Flash memory interface manages CPU AHB I-Code and D-Code accesses to the Flash<br />

memory. It implements the erase and program Flash memory operations and the read and<br />

write protection mechanisms.<br />

The Flash memory interface accelerates code execution with a system of instruction<br />

prefetch and cache lines.<br />

3.2 Main features<br />

● Flash memory read operations<br />

● Flash memory program/erase operations<br />

● Read / write protections<br />

● Prefetch on I-Code<br />

● 64 cache lines of 128 bits on I-Code<br />

● 8 cache lines of 128 bits on D-Code<br />

Figure 3 shows the Flash memory interface connection inside the system architecture.<br />

Figure 3. Flash memory interface connection inside system architecture<br />

Cortex<br />

core<br />

Cortex-M4F<br />

I-Code bus<br />

D-code bus<br />

CCM data<br />

RAM<br />

DMA1<br />

DMA2<br />

USB HS<br />

Ethernet<br />

I-Code<br />

D-Code<br />

S bus<br />

AHB<br />

32-bit<br />

instruction<br />

bus<br />

AHB<br />

32-bit<br />

data bus<br />

Access to instruction in Flash memory<br />

Access to data and literal pool in Flash memory<br />

FLITF register access<br />

AHB<br />

32-bit<br />

system bus<br />

Flash interface<br />

FLITF registers<br />

Flash<br />

memory<br />

bus<br />

128 bits<br />

Flash<br />

memory<br />

AHB<br />

periph1<br />

SRAM and<br />

External<br />

memories<br />

AHB<br />

periph2<br />

MS30468V2<br />

Doc ID 018909 Rev 3 60/1416

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

Saved successfully!

Ooh no, something went wrong!