beautypg.com

Maxim Integrated MAXQ7666 User Manual

Page 325

background image

12.5.3 Family 2 Commands: Dump Variable Length (Password Protected)

Command 20h—Dump Code Variable Length

This command has a slightly different format depending on the length of the dump requested. It returns the contents of the application
flash/ROM—(LengthL) or (LengthH:LengthL) bytes/words starting at (AddressH:AddressL).

Command 21h—Dump Data Variable Length

This command has a slightly different format depending on the length of the dump requested. It returns the contents of the data
SRAM—(LengthL) or (LengthH:LengthL) bytes/words starting at (AddressH:AddressL).

12.5.4 Family 3 Commands: CRC Variable Length (Password Protected)

Command 30h—CRC Code Variable Length

This command has a slightly different format depending on the length of the CRC requested. It returns the CRC-16 value (CrcH:CrcL)
of the application flash/ROM—(LengthL) or (LengthH:LengthL) bytes/words starting at (AddressH:AddressL).

Command 31h—CRC Data Variable Length

This command has a slightly different format depending on the length of the CRC requested. It returns the CRC-16 value (CrcH:CrcL)
of the data SRAM – (LengthL) or (LengthH:LengthL) bytes/words starting at (AddressH:AddressL).

MAXQ7665/MAXQ7666 User’s Guide

12-10

I/O

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Input (to dump

< 256 bytes/words)

20h

1

AddressL

AddressH

LengthL

Input (to dump

256+ bytes/words)

20h

2

AddressL

AddressH

LengthL

LengthH

Output

CodeByte 1

CodeByte 2

• • •

CodeByte N, where N = dump length

I/O

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Input (to dump

< 256 bytes/words)

21h

1

AddressL

AddressH

LengthL

Input (to dump

256+ bytes/words)

21h

2

AddressL

AddressH

LengthL

LengthH

Output

DataByte 1

DataByte 2

• • •

DataByte N, where N = dump length

I/O

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Input (to CRC

< 256 bytes/words)

30h

1

AddressL

AddressH

LengthL

Input (to CRC

256+ bytes/words)

30h

2

AddressL

AddressH

LengthL

LengthH

Output

CrcH

CrcL

I/O

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Input (to CRC

< 256 bytes/words)

31h

1

AddressL

AddressH

LengthL

Input (to CRC

256+ bytes/words)

31h

2

AddressL

AddressH

LengthL

LengthH

Output

CrcH

CrcL

Maxim Integrated

This manual is related to the following products: