AT89LP51ED2-20JU Atmel, AT89LP51ED2-20JU Datasheet - Page 207

no-image

AT89LP51ED2-20JU

Manufacturer Part Number
AT89LP51ED2-20JU
Description
8-bit Microcontrollers - MCU 64KB 20MHz 2.4V-5.5V
Manufacturer
Atmel
Datasheet

Specifications of AT89LP51ED2-20JU

Rohs
yes
Core
8051
Processor Series
AT89x
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
64 KB
Data Ram Size
256 B
On-chip Adc
Yes
Operating Supply Voltage
2.4 V to 5.5 V
Operating Temperature Range
- 40 C to + 85 C
Package / Case
PLCC-44
Mounting Style
SMD/SMT
Data Rom Size
4 KB
Interface Type
2-Wire, SPI, UART
Number Of Programmable I/os
36
Number Of Timers
3
Program Memory Type
Flash
Factory Pack Quantity
27

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51ED2-20JU
Manufacturer:
Atmel
Quantity:
10 000
24.5.3.2
24.5.4
24.5.4.1
3714A–MICRO–7/11
Functional Description
Frame Description
Software Security Bits (SSB)
The Serial Protocol is based on the Intel Hex-type records.
Intel Hex records consist of ASCII characters used to represent hexadecimal values and are
summarized below.
Figure 24-10. Intel Hex Type Frame
The SSB protects any Flash access from Bootloader commands. The command "Program Soft-
ware Security Bit" can only write a higher priority level. There are three levels of security:
• Record Mark:
• Reclen:
• Load Offset:
• Record Type:
• Data/Info:
• Checksum:
• level 0: NO_SECURITY (FFh)
• level 1: WRITE_SECURITY (FEh)
• level 2: RD_WR_SECURITY (FCh)
Record Mark is the start of frame. This field must contain ’:’.
Reclen specifies the number of bytes of information or data which follows the Record Type
field of the record.
Load Offset specifies the 16-bit starting load offset of the data bytes, therefore this field is
used only for Data Program Record (see Section “Bootloader Command Summary”).
Record Type specifies the command type. This field is used to interpret the remaining
information within the frame. The encoding for all the current record types is described in
Section “Bootloader Command Summary”.
Data/Info is a variable length field. It consists of zero or more bytes encoded as pairs of
hexadecimal digits. The meaning of data depends on the Record Type.
The two’s complement of the 8-bit bytes that result from converting each pair of ASCII
hexadecimal digits to one byte of binary, and including the Reclen field to and including the
last byte of the Data/Info field. Therefore, the sum of all the ASCII pairs in a record after
converting to binary, from the Reclen field to and including the Checksum field, is zero.
This is the default level.From level 0, one can write level 1 or level 2.
For this level it is impossible to write in the Flash memory, BSB or SBV. The Bootloader
returns ’P’ on write access. From level 1, one can write only level 2.
Level 2 forbids all read and write accesses to/from the Flash/EEPROM memory. The
Bootloader returns ’L’ on read or write access. Only a full chip erase in parallel mode (using a
programmer) or ISP command can reset the software security bits. From level 2, one cannot
read and write anything.
Record
1-byte
Mark
’:’
Reclen
1-byte
AT89LP51RD2/ED2/ID2 Preliminary
2-bytes
Load
Offset
1-byte
Record
Type
n-bytes
Data
Info
or
Checksum
1-byte
207

Related parts for AT89LP51ED2-20JU