Maxim-integrated MAXQ Family Users Guide: MAXQ2000 Supplement Manual de usuario Pagina 60

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 93
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 59
MAXQ Family Users Guide:
MAXQ2000 Supplement
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
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 27. 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
Vista de pagina 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 92 93

Comentarios a estos manuales

Sin comentarios