beautypg.com

Appendix-a – Rainbow Electronics AT89C5132 User Manual

Page 28

background image

28

AT89C5132

4256A–USB–06/03

Appendix-A

Table 13. Summary of Frames from Host

Command Identifier

data[0]

data[1]

data[2]

data[3]

data[4]

Description

Id_prog_start

01h

00h

start_address

end_address

Init Flash programming

Id_display_data

03h

00h

start_address

end_address

Display Flash Data

01h

Blank Check in Flash

Id_write_command

04h

00h

00h

Erase block0 (0K to 8K)

20h

Erase block1 (8K to 16K)

40h

Erase block2 (16K to 32K)

80h

Erase block3 (32K to 64K)

FFh

Full chip erase (bits at
FFh)

01h

00h

Value

Write value in BSB

01h

Write value in SBV

05h

Write value in SSB

06h

Write value in EB

02h

00h

Value

Write value in Fuse (HSB)

03h

00h

Hardware reset

01h

address

LJMP address

Id_read_command

05h

00h

00h

Read Bootloader version

01h

Read Device boot ID1

02h

Read Device boot ID2

01h

00h

Read BSB

01h

Read SBV

05h

Read SSB

06h

Read EB

30h

Read Manufacturer Code

31h

Read Family Code

60h

Read Product Name

61h

Read Product Revision

02h

00h

Read HWB