![Texas Instruments RM48 series Скачать руководство пользователя страница 248](http://html1.mh-extra.com/html/texas-instruments/rm48-series/rm48-series_technical-reference-manual_1095569248.webp)
Overview
248
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
F021 Flash Module Controller (FMC)
•
FSM (Flash State Machine): State machine that parses and decodes FSM commands. It executes
embedded algorithms and generates control signals to both Flash bank and charge pump during the
actual program/erase operation.
•
OTP (one-time programmable): A program-only-once Flash sector (cannot be erased)
•
PAGP (Pump Active Grace Period): Time (in HCLK cycles) from when the last of the banks have
entered fallback power mode until the pump enters a fallback power mode. This can reduce power
consumption by the Flash; however, it can also increase access time.
•
Pipeline mode: The mode in which Flash is read 128 bits (+ 16 bit ECC) at a time, providing higher
throughput.
•
Sector: A contiguous region of Flash memory which must be erased simultaneously.
•
Wide_Word: The width of the data output from the Flash bank. This is 144-bits wide for main Flash and
for the FEE bank.
•
Standard read mode: The mode assumed when the pipeline mode is disabled. Physically, 128 (+ 16 bit
ECC) is read at a time. However, only 32 bits of data is used while the other bits of data are discarded.
•
Read Margin 1 mode: More stringent read mode designed for early detection of marginally erased bits.
•
Read Margin 0 mode: More stringent read mode designed for early detection of marginally
programmed bits.
5.1.3 F021 Flash Tools
Texas Instruments provides the following tools for F021 Flash:
•
Generation Tool - to generate the Flash ECC from the Flash data.
•
Programming Tool - to erase/program/verify the device Flash content through JTAG.
•
Code Composer Studio - the development environment with integrated Flash programming capabilities.
•
F021 Flash API Library - a set of software peripheral functions to program/erase the Flash module.
Refer to
F021 Flash API Reference Guide
) for more information.
5.2
Default Flash Configuration
At power up, the Flash module state exhibits the following properties:
•
Wait states are set to 1 data wait state and 0 address wait states
•
Pipeline mode is disabled
•
The Flash content is protected from modification
•
Power modes are set to
Active
(no power savings)
•
The boot code must initialize the wait states (including data wait states and address wait states) and
the desired pipeline mode by initializing the FRDCNTL register to achieve the optimum system
performance. This needs to be done before switching to the final device operating frequency. Refer to
Initialization of Hercules ARM Cortex-R4F Microcontrollers Application Report
(
) for more
information.