T89C51RD2-3CBC-L ATMEL [ATMEL Corporation], T89C51RD2-3CBC-L Datasheet - Page 51

no-image

T89C51RD2-3CBC-L

Manufacturer Part Number
T89C51RD2-3CBC-L
Description
0 to 40MHz Flash Programmable 8-bit Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
T89C51RD2
The bootloader and the In Application Programming (IAP) routines are located in the last kilobyte of the FLASH,
leaving 63k bytes available for the application with ISP.
8.4. FLASH registers and memory map
The T89C51RD2 FLASH memory uses several registers for his management:
8.4.1. FLASH register
FCON (S:D1h)
FLASH control register
Reset Value = xxxx 0000b
The Flash programming application note and API source code are available on request.
8.4.2. Hardware register
The only hardware register of the T89C51RD2 is called Hardware Security Byte (HSB). After full FLASH erasure,
the content of this byte is FFh; each bit is active at low level.
51
Bit Number Bit Mnemonic
Flash control register is used to select the Flash memory spaces and launch the Flash programming sequence.
Hardware registers can only be accessed through the parallel programming modes which are handled by the
parallel programmer.
Software registers are in a special page of the FLASH memory which can be accessed through the API or with
the parallel programming modes. This page, called "Extra FLASH Memory", is not in the internal FLASH
program memory addressing space.
FPL3
7-4
2-1
7
3
0
FMOD1:0
FBUSY
FPL3:0
FPL2
FPS
6
Programming Launch command bits
FLASH Map Program Space
FLASH Mode
FLASH Busy
FPL1
Write 5h followed by Ah to launch the programming.
Set by hardware when programming is in progress.
Clear by hardware when programming is done.
Can not be cleared by software
01: XAF
10: Hardware byte
11: reserved
Clear to map the data space during MOVX
Set to map the FLASH space during MOVX (write) or MOVC (read) instructions (Write in the
column latches)
Select the addressed space
00: User (0000h-FFFFh)
5
Figure 18. FCON register
FPL0
4
FPS
3
Description
FMOD1
2
Rev. F - 15 February, 2001
FMOD0
1
FBUSY
0

Related parts for T89C51RD2-3CBC-L