27.12.2012 Views

Atmel AT89C51ID2 Data Sheet - Keil

Atmel AT89C51ID2 Data Sheet - Keil

Atmel AT89C51ID2 Data Sheet - Keil

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example<br />

Read Function This flow is similar for the following frames:<br />

Reading Frame<br />

EOF Frame/ <strong>Atmel</strong> Frame (only reading <strong>Atmel</strong> Frame)<br />

Description<br />

Figure 56. Read Flow<br />

Host<br />

Send Read Command<br />

OR<br />

OR<br />

Wait Value of <strong>Data</strong><br />

COMMAND FINISHED<br />

Wait Checksum Error<br />

COMMAND ABORTED<br />

Wait Security Error<br />

COMMAND ABORTED<br />

134 <strong>AT89C51ID2</strong><br />

Display data from address 0000h to 0020h<br />

HOST : 05 0000 04 0000 0020 00 D7<br />

BOOTLOADER : 05 0000 04 0000 0020 00 D7<br />

BOOTLOADER 0000=-----data------ CR LF (16 data)<br />

BOOTLOADER 0010=-----data------ CR LF (16 data)<br />

BOOTLOADER 0020=data CR LF ( 1 data)<br />

Read Command<br />

’X’ & CR & LF<br />

’L’ & CR & LF<br />

’value’ & ’.’ & CR & LF<br />

Send Checksum error<br />

Send Security error<br />

Bootloader<br />

Wait Read Command<br />

Checksum error<br />

RD_WR_SECURITY<br />

Read Value<br />

Send <strong>Data</strong> Read<br />

4289A–8051–09/03

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!