AT89C51IC2-RLTIM ATMEL [ATMEL Corporation], AT89C51IC2-RLTIM Datasheet - Page 114

no-image

AT89C51IC2-RLTIM

Manufacturer Part Number
AT89C51IC2-RLTIM
Description
8-bit Flash Microcontroller with 2-wire Interface
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Bootloader Functionality
Introduction
Figure 45. Hardware conditions typical sequence during power-on.
114
AT89C51IC2
The bootloader can be activated by two means: Hardware conditions or regular boot
process.
The Hardware conditions (EA = 1, PSEN = 0) during the Reset# falling edge force the
on-chip bootloader execution. This allows an application to be built that will normally
execute the end user’s code but can be manually forced into default ISP operation.
As PSEN is an output port in normal operating mode (running user application or boor-
loader code) after reset, it is recommended to release PSEN after falling edge of reset
signal. The hardware conditions are sampled at reset signal falling edge, thus they can
be released at any time when reset input is low.
To ensure correct microcontroller startup, the PSEN pin should not be tied to ground
during power-on (See Figure 45).
The on-chip bootloader boot process is shown in Figure 46.
Hardware Conditions
BLJB
SBV
VCC
PSEN
RST
Purpose
The Hardware Conditions force the bootloader execution whatever BLJB, BSB
and SBV values.
The Boot Loader Jump Bit forces the application execution.
BLJB = 0 => Boot loader execution.
BLJB = 1 => Application execution.
The BLJB is a fuse bit in the Hardware Byte.
That can be modified by hardware (programmer) or by software (API).
Note:
The BLJB test is perform by hardware to prevent any program execution.
The Software Boot Vector contains the high address of custumer bootloader
stored in the application.
SBV = FCh (default value) if no custumer bootloader in user Flash.
Note:
The costumer bootloader is called by JMP [SBV]00h instruction.
4301C–8051–06/06

Related parts for AT89C51IC2-RLTIM