beautypg.com

2 family 1 commands: lo, Maxq7667 user’s guide – Maxim Integrated MAXQ7667 User Manual

Page 225

background image

Command 08h—Get Loader Version

Command 09h—Get Utility ROM Version

Command 0Ah—Set Word/Byte Mode Access

The mode byte should be 0 to set byte access mode or 1 to set word access mode. The current access mode is returned in the sta-

tus flag byte by command 04h, as well as a flag to indicate whether word access mode is supported by this particular bootloader. In

byte access mode, the range of memory that can be accessed is 0-0xFFFF bytes or 0-0x7FFF words. In word access mode, the range

of memory that can be accessed is 0-0x1FFFF bytes or 0-0xFFFF words. Essentially the word access mode allows a larger range of

memory access.

Command 0Dh—Get ID Information

For the MAXQ7667, the information returned by this command is a zero-terminated ROM banner string.

13.3.2 Family 1 Commands: Load Variable Length (Password Protected)

Command 10h—Load Code Variable Length

This command programs (Length) bytes/words of data into the program flash starting at address (AddressH:AddressL), with the fol-

lowing restrictions.

• In byte mode, if the starting address is on an odd word boundary (such as 0001), the low bit will be changed to zero to make it an

even word address.

• In byte mode, if an odd number of bytes is input, the data will be padded out with a 00 to make it an even number.

Command 11h—Load Data Variable Length

This command writes (Length) bytes/words of data into the data SRAM starting at address (AddressH:AddressL).

13-7

__________________________________________________________________________________________________________

MAXQ7667 User’s Guide

I/O

Byte 1

Byte 2

Input

08h

Output

VersionL

VersionH

I/O

Byte 1

Byte 2

Input

09h

Output

VersionL

VersionH

I/O

Byte 1

Byte 2

Input

0Ah

Mode

Output

I/O

Byte 1

(Variable)

Input

0Dh

Output

Device dependent information

I/O

Byte 1

Byte 2

Byte 3

Byte 4

(Length) Bytes/Words

Input

10h

Length

AddressL

AddressH

Data to load

Output

I/O

Byte 1

Byte 2

Byte 3

Byte 4

(Length) Bytes/Words

Input

11h

Length

AddressL

AddressH

Data to load

Output