at89c51re2-slsem ATMEL Corporation, at89c51re2-slsem Datasheet - Page 59

no-image

at89c51re2-slsem

Manufacturer Part Number
at89c51re2-slsem
Description
At89c51re2 8-bit Flash Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
Reading/Blank checking
memory
Requests from Host
Answers from Bootloader
Changing memory/page
Requests from Host
Answers from Bootloader
42
Command
Read selected memory
Blank Check selected memory
AT89C51RE2
To start the reading or blank checking operation,
The boot loader can answer to a read command with:
The bootloader answers to blank check command:
To change the memory selected and/or the page, the Host can send two commands.
The boot loader can answer to a read command with:
Command
Select New Page
Select Memory
‘Address = data ‘ & ‘CR’ & ’LF’ the number of data by line depends of the bootloader.
‘X’ & ‘CR’ & ‘LF’ if the checksum is wrong
‘L’ & ‘CR’ & ‘LF’ if the Security is set
‘.’ & ‘CR’ & ’LF’ when the blank check is ok
‘First Address wrong’ ‘CR’ & ‘LF’ when the blank check is fail
‘X’ & ‘CR’ & ‘LF’ if the checksum is wrong
‘L’ & ‘CR’ & ‘LF’ if the Security is set
Select New Page to keep the same memory.
Select Memory to change the Memory and page
‘. ‘ & ‘CR’ & ’LF’ if the command is done
‘X’ & ‘CR’ & ‘LF’ if the checksum is wrong
Record
Type
04h
Record
Length
05h
Offset
0000h
Data[0]
Record
Type
02h
04h
Start Address
Data[1]
Record
Length
02h
02h
Data[2]
address
Offset
0000h
start
End Address
bits) + 0h
Data[3]
Data[0]
Memory
Page (4
space
7663B–8051–03/07
Data[4]
Data[1]
Page
00h
01h
00h

Related parts for at89c51re2-slsem