Rainbow Electronics T89C5115 User Manual
Page 30
30
T89C5115
4128A–8051–04/02
FM0 Memory Architecture
The Flash memory is made up of 4 blocks (see Figure 11):
1.
The memory array (user space) 16-KB.
2.
The Extra Row.
3.
The Hardware security bits.
4.
The column latch registers.
User Space
This space is composed of a 16-KB Flash memory organized in 128 pages of 128 bytes.
It contains the user’s application code.
Extra Row (XROW)
This row is a part of FM0 and has a size of 128 bytes. The extra row may contain infor-
mation for boot loader usage.
Hardware security Byte
The Hardware Security Byte space is a part of FM0 and has a size of 1 byte.
The 4 MSB can be read/written by software, the 4 LSB can only be read by software and
written by hardware in parallel mode.
Column Latches
The column latches, also part of FM0, have a size of full page (128 bytes).
The column latches are the entrance buffers of the three previous memory locations
(user array, XROW and Hardware security byte).
Cross Flash Memory Access
Description
The FM0 memory can be program only from FM1. Programming FM0 from FM0 or from
external memory is impossible.
The FM1 memory can be program only by parallel programming.
The Table 19 show all software flash access allowed.
Table 19. Cross Flash Memory Access
C
o
de
exe
c
u
ti
n
g
fr
o
m
Action
FM0
(user Flash)
FM1
(boot Flash)
FM0
(user Flash)
Read
ok
-
Load column latch
ok
-
Write
-
-
FM1
(boot flash)
Read
ok
ok
Load column latch
ok
-
Write
ok
-