
110
4235K–8051–05/08
AT89C51RD2/ED2
Reading Frame
EOF Frame/ Atmel Frame (only reading Atmel Frame)
Figure 24-12. Read Flow
24.9.8.1
Example
24.9.9
ISP Commands Summary
Host
Bootloader
Read Command
’X’ & CR & LF
RD_WR_SECURITY
Wait Read Command
Read Value
Send Security error
Send Data Read
Send Read Command
Wait Checksum Error
Wait Value of Data
Wait Security Error
OR
COMMAND ABORTED
COMMAND FINISHED
Send Checksum error
COMMAND ABORTED
’L’ & CR & LF
OR
’value’ & ’.’ & CR & LF
Checksum error
HOST
: 02 0000 05 07 02 F0
BOOTLOADER
: 02 0000 05 07 02 F0 Value . CR LF
HOST
: 02 0000 01 02 00 FB
BOOTLOADER
: 02 0000 01 02 00 FB Value . CR LF
Read function (read SBV)
Atmel Read function (read Bootloader version)
Table 24-9.
ISP Commands Summary
Command
Command Name
Data[0]
Data[1]
Command Effect
00h
Program Code
Program Nb Code Byte.
Bootloader will accept up to 128 (80h) data bytes. The data
bytes should be 128 byte page flash boundary.