AT89C5131-PLTIL ATMEL Corporation, AT89C5131-PLTIL Datasheet - Page 28

no-image

AT89C5131-PLTIL

Manufacturer Part Number
AT89C5131-PLTIL
Description
8-bit Flash Microcontroller with Full Speed USB Device
Manufacturer
ATMEL Corporation
Datasheet
Figure 14. Flash Memory Architecture
FM0 Memory Architecture
User Space
Extra Row (XRow)
Hardware Security Space
Column Latches
Overview of FM0
Operations
Mapping of the Memory Space By default, the user space is accessed by MOVC instruction for read only. The column
28
Column Latches (128 Bytes)
Hardware Security (1 Byte)
AT89C5131
Extra Row (128 Bytes)
The Flash memory is made up of 4 blocks (see Figure 14):
1. The memory array (user space) 32 Kbytes
2. The Extra Row
3. The Hardware security bits
4. The column latch registers
This space is composed of a 32 Kbytes Flash memory organized in 256 pages of 128
bytes. It contains the user’s application code.
This row is a part of FM0 and has a size of 128 bytes. The extra row may contain infor-
mation for bootloader usage.
The hardware security 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.
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).
The CPU interfaces to the Flash memory through the FCON register and AUXR1
register.
These registers are used to:
latches space is made accessible by setting the FPS bit in FCON register. Writing is
possible from 0000h to 7FFFh, address bits 6 to 0 are used to select an address within a
page while bits 14 to 7 are used to select the programming address of the page.
Setting this bit takes precedence on the EXTRAM bit in AUXR register.
7FFFh
0000h
Map the memory spaces in the adressable space
Launch the programming of the memory spaces
Get the status of the Flash memory (busy/not busy)
Select the Flash memory FM0/FM1.
Flash Memory
32 Kbytes
User Space
FM0
FM1 mapped between FFFFh and
F400h when bit ENBOOT is set in
AUXR1 register
Flash Memory
Boot Space
3 Kbytes
FM1
FFFFh
F400h
4136B–USB–09/03

Related parts for AT89C5131-PLTIL