beautypg.com

Family 0 commands (not password protected), Maxq family user’s guide: maxq2000 supplement – Maxim Integrated MAXQ Family Users Guide: MAXQ2000 Supplement User Manual

Page 59

background image

All commands in Family 0 can be executed without first matching the password. All other commands (in Families 1x through Fx) are
password protected; the password must first be matched before these commands can be executed.

A special case exists when the program memory has not been initialized (following master erase). If the password (stored in word locations
0010h to 001Fh in program memory) is all 0000h words or all FFFFh words, the bootloader treats the password as having been matched.
This allows access to password-protected commands following master erase (when no password has been set in program memory).

When providing addresses for code or data read or write to bootloader commands, all addresses run from 0000h to (memory size–1).

Family 0 Commands (Not Password Protected)

Command 00h—No Operation

Command 01h—Exit Loader

This command causes the bootloader command loop to exit, and execution jumps to the beginning of application code.

Command 02h—Master Erase

This command clears (programs to FFFFh) all words in the program flash memory.

Command 03h—Password Match

This command accepts a 32-byte password value, which is matched against the password in program memory (in byte mode) from
addresses 0020h to 003Fh. If the value matches, the password lock is cleared.

Command 04h—Get Status

The status code returned by this command is defined in Table 26. The flags byte contains the following bit status flags.

MAXQ Family User’s Guide:
MAXQ2000 Supplement

I/O

Byte 1

Input

00h

Output

I/O

Byte 1

Input

01h

Output

I/O

Byte 1

Input

02h

Output

I/O

Byte 1

32 Bytes

Input

03h

Password value

Output

I/O

Byte 1

Byte 2

Input

04h

Output

Flags

Status Code

Maxim Integrated

59