Family f commands—device specific commands – Maxim Integrated MAXQ20-Based Microcontroller Bootloader Command Reference User Manual
Page 17

MAXQ20-Based Microcontroller Bootloader Command Reference
17
Family F Commands—Device Specific Commands
Family F commands are device-specific so only one command of a given command code will be supported per
device. The applicable user’s guide has details on which commands are supported for that device.
Command F0h—Get Context
Byte1
Byte2
Byte3
Input
F1h
00h
00h
Output
Context
03Eh
This command returns the current context setting
00h: System Context
01h: User Loader Context
02h: User Application Context
Command F1h—Set Permanent Loader Lockout
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Input
F1h
50h
4Ch
4Ch
4Fh
00h
Output
03Eh
This command disables the bootloader and debug functions of the device upon exiting the bootloader. Once the
bootloader has been exited, the only way to remove the loader lockout is for the user application to erase the last
page of flash under application software control.
Command F1h—Set Context
Byte1
Byte2
Byte3
Byte4
Input
F1h
Context
00h
00h
Output
03Eh
This command sets the context for program memory and verification.
00h: System Context
01h: User Loader Context
02h: User Application Context
Command F1h—Set Code Lock Bit
Byte1
Byte2
Byte3
Byte4
Byte5
Input
F1h
00h
00h
00h
00h
Output
03Eh
This command sets the code lock bit and the password lock bit. All bootloader commands (except for those in
Family 0) are locked out. The Password Match command will not unlock the part. The Master erase command will
erase the part, clear the code lock bit and allow the part to be reprogrammed.