ADuCM310 Hardware Reference Manual
UG-549
Rev. C | Page 79 of 192
FLASH CONTROLLER
FLASH CONTROLLER FEATURES
The flash controller features are as follows:
•
256 kB Flash/EE memory in 2 blocks of 128 kB each (Flash 0 and Flash 1)
•
4 kB information space, which contains factory code
FLASH CONTROLLER OVERVIEW
The flash controller supports read on one flash block and erase/write operation on the other block. There is peripheral DMA support for
flash keyhole-based write. A kernel is present in the information space.
The flash controller supports buffered read, that is, executing code from a 64-bit read while fetching next 64 bits.
The flash controller is a 32-bit interface for MMR access. Flash program and erase timing are controlled via a fixed 16 MHz reference clock.
The keyhole is open for access, command fail, and command complete status bits. A cache is provided to speed up execution.
Commands
The flash controller supports the following commands:
•
Write command: 64-bits per write
•
Page erase commands
•
Mass erase commands for each flash block
•
Generation of signatures for single or multiple pages
•
Command abort supported (by writing to command MMR or by system interrupt)
•
Keys required for running commands such as mass erase and the test commands
Protection, Integrity
The flash controller supports the following protection and integrity features:
•
Write/read protection for user space
•
Read and write protection for information space
•
Ability to lock the SW/JTAG interface
•
Automatic signature check of information space on reset
•
User signature check of user space and information space
•
8-bit ECC
•
1-bit ECC error correction
•
1-bit ECC errors and 2-bit or greater ECC errors can be configured to generate a flash ECC interrupt or a system exception