Example
Display data from address 0000h to 0020h
HOST
: 05 0000 04 0000 0020 00 D7
BOOTLOADER : 05 0000 04 0000 0020 00 D7
BOOTLOADER 0000=-----data------ CR LF (16 data)
BOOTLOADER 0010=-----data------ CR LF (16 data)
BOOTLOADER 0020=data CR LF
( 1 data)
Read Function
This flow is similar for the following frames:
• Reading Frame
• EOF Frame/Atmel Frame (only reading Atmel Frame)
Description
Figure 30. Read Flow
Host
Bootloader
Send Read Command
Read Command
Wait Read Command
OR
Wait Checksum Error
COMMAND ABORTED
’X’ & twice (CR & LF)
OR
Wait Security Error
COMMAND ABORTED
’L’ & CR & LF
Wait Value of Data
COMMAND FINISHED
’value’ & ’.’ & CR & LF
Checksum error
Send Checksum error
RD_WR_SECURITY
Send Security error
Read Value
Send Data Read
Example
Read function (read SBV)
HOST
: 02 0000 05 07 02 F0
BOOTLOADER : 02 0000 05 07 02 F0 Value . CR LF
Atmel Read function (read Bootloader version)
HOST
: 02 0000 01 02 00 FB
BOOTLOADER : 02 0000 01 02 00 FB Value . CR LF
72 T89C51RD2
4243G–8051–05/03