ADuCM310 Hardware Reference Manual
UG-549
Rev. C | Page 87 of 192
Flash Controller Performance and Command Duration
All flash functions are slower than the CPU execution speed. The CPU Execution Speed section details the slight penalty of slower flash
reads. All other flash operations are significantly slower, as detailed in Table 103.
Table 103. Typical Flash Execution Times
Operation
Time (Typical)
Comments
Write 64-bit location
75 µs
Mass erase one flash block
18 ms
Page erase one page
18 ms
Sign Flash 0/Flash 1 information space
33 µs
512 cycles, 2 kB
Sign Flash 0/Flash 1 user space
2.1 ms
32,000 cycles, 128 kB
In general, these timings are a guideline only and software must use the flash status information or the interrupt system to detect when
flash operations are complete. If one of the operations in Table 103 is executed in the same block as the block from which the CPU fetches
instructions, the CPU stalls until the operation is complete.
REGISTER SUMMARY: FLASH CONTROLLER
Table 104. Flash Controller Register Summary
Address
Name
Description
Reset
Access
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
0x0000000X
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