Table 12-4. bootloader status flags -8, Table 12-4. bootloader status flags – Maxim Integrated MAXQ7666 User Manual
Page 323

Command 05h—Get Supported Commands
The SupportL (LSB) and SupportH (MSB) bytes form a 16-bit value that indicates which command families this bootloader supports.
If bit 0 is set to 1, it indicates that Family 0 is supported. If bit 1 is set to 1, it indicates that Family 1 is supported, and so on.
The CodeLen and DataLen bytes return the fixed block lengths used by the Load/Dump/Verify Fixed Length commands for code and
data space, respectively.
Command 06h—Get Code Size
This command returns SizeH:SizeL, which represents the size of available code memory in words minus 1. If this command is unsup-
ported, the return value will be 0000h meaning “unknown amount of memory.”
Command 07h—Get Data Size
This command returns SizeH:SizeL, which represents the size of available data memory in words minus 1. If this command is unsup-
ported, the return value will be 0000h meaning “unknown amount of memory.”
Command 08h—Get Loader Version
MAXQ7665/MAXQ7666 User’s Guide
12-8
FLAG BIT
FUNCTION
0
Password Lock
0 = The password is unlocked or had a default value; password-protected commands can be used.
1 = The password is locked. Password-protected commands cannot be used.
1
Word/Byte Mode
0 = The bootloader is currently in byte mode for memory reads/writes.
1 = The bootloader is currently in word mode for memory reads/writes.
2
Word/Byte Mode Supported
0 = The bootloader supports byte mode only.
1 = The bootloader supports word mode as well as byte mode.
3 to 8
Reserved
Table 12-4. Bootloader Status Flags
I/O
Byte 1
Byte 2
Byte 3
Byte 4
Input
05h
Output
SupportL
SupportH
CodeLen
DataLen
I/O
Byte 1
Byte 2
Input
06h
Output
SizeL
SizeH
I/O
Byte 1
Byte 2
Input
07h
Output
SizeL
SizeH
I/O
Byte 1
Byte 2
Input
08h
Output
VersionL
VersionH
Maxim Integrated