UG-498
ADuCM320 Hardware Reference Manual
Rev. C | Page 82 of 196
REGISTER SUMMARY: FLASH CONTROLLER
Table 95. Flash Controller Register Summary
Address
Name
Description
Reset
RW
0x40018000
FEESTA
Status register
0x00000000
R
0x40018004
FEECON0
Command control register: interrupt enable register
0x00000000
RW
0x40018008
FEECMD
Command register
0x00000000
RW
0x4001800C
FEEFLADR
Flash address keyhole register
0x00000000
RW
0x40018010
FEEFLDATA0
Flash data register: keyhole interface lower 32 bits
0x00000000
RW
0x40018014
FEEFLDATA1
Flash data register: keyhole interface upper 32 bits
0x00000000
RW
0x40018018
FEEADR0
Lower page address register
0x00000000
RW
0x4001801C
FEEADR1
Upper page address register
0x00000000
RW
0x40018020
FEEKEY
Key register
0x00000000
W
0x40018028
FEEPRO0
Write protection register for Flash 0
0xFFFFFFFF
RW
0x4001802C
FEEPRO1
Write protection register for Flash 1
0xFFFFFFFF
RW
0x40018034
FEESIG
Upper half-word of signature
0x0000000X
R
0x40018038
FEECON1
User setup register
0x0000001X
RW
0x40018040
FEEWRADDRA
Write abort address register
0x0000000X
R
0x40018048
FEEAEN0
Interrupt abort enable register—Interrupt 31 to Interrupt 0
0x00000000
RW
0x4001804C
FEEAEN1
Interrupt abort enable register—Interrupt 54 to Interrupt 32
0x000000
RW
0x40018064
FEEECCCONFIG
ECC enable/disable, error response
0x00000000
RW
0x40018074
FEEECCADDR0
Flash 0 ECC error address
0x00000000
R
0x40018078
FEEECCADDR1
Flash 1 ECC error address
0x00000000
R
0x400180C0
CACHESTAT
Cache status register
0x2
R
0x400180C4
CACHESETUP
Cache setup register
0x2
RW
0x400180C8
CACHEKEY
Cache key register
0x0
W
REGISTER DETAILS: FLASH CONTROLLER
Status Register
Address: 0x40018000, Reset: 0x00000000, Name: FEESTA
Table 96. Bit Descriptions for FEESTA
Bits
Bit Name
Description
Reset Access
[31:29] RESERVED
Reserved.
0x0
R
[28:27] ECCREADERRIBUS
Instruction bus ECC error during a read of flash if a system exception is enabled.
0x0
RC
Bits
Name
Description
00
NOERR
No error. Successful read from Flash 1.
01
ERRDETECTED
2-bit error detected in one or more flash locations during a
read from Flash 1. The errors are not corrected.
10
ERRCORRECTED 1-bit error detected for one flash location while during read
from Flash 1. The error is corrected.
11
ERR1BIT_2Bit
During the read, 1-bit error and 2-bit errors are detected in
Flash 1.
[26:25] ECCREADERRDBUS
Data bus ECC error during a read of flash if a system exception is enabled.
0x0
RC
Bits
Name
Description
00
NOERR
No error. Successful read from Flash 1.
01
ERRDETECTED
2-bit error detected in one or more flash locations during a
read from Flash 1. The errors are not corrected.
10
ERRCORRECTED 1-bit error detected for one flash location while during read
from Flash 1. The error is corrected.
11
ERR1BIT_2Bit
During the read, 1-bit error and 2-bit errors are detected in
Flash 1.
[24:22] ECCCOUNTFLASH1
This is a 3-bit counter that reflects the number of 1-bit ECC read errors in Flash 1 after
FEESTA[12:11] = 0x2 and before FEESTA is read. This counter does not count on ECC 2-bit
errors. The counter is cleared when FEESTA is read by the user.
0x0
R
[21:20] RESERVED
Reserved.
0x0
R