Maxim-integrated MAXQ20-Based Microcontroller Bootloader Command Re Manual de usuario Pagina 9

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 18
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 8
MAXQ20-Based Microcontroller Bootloader Command Reference
9
Family 3 CommandsCRC Variable Length
Command 30hCRC Code Variable Length
Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8
Byte9
Input
(to CRC
< 256 units)
30h 1 AddrL AddrH
Lengt
h
00h 00h 00h 00h
Output
CrcH
CrcL
03Eh
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Byte9
Byte10
Input
(to CRC
256+ units)
30h 2 AddrL AddrH LenL LenH 00h 00h 00h 00h
Output
CrcH
CrcL
03Eh
This command has a slightly different format depending on the length of the CRC requested. It returns the CRC-
16 value (CrcH:CrcL) of the program flash (Length) or (LenH:LenL) bytes/words starting at (AddrH:AddrL).
“Units” is either bytes or words, depending on which mode is currently selected.
Command 31hCRC Data Variable Length
Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8
Byte9
Input
(to CRC
< 256 units)
31h 1 AddrL AddrH Length 00h 00h 00h 00h
Output
CrcH
CrcL
03Eh
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Byte9
Byte10
Input
(to CRC
256+ units)
31h 2 AddrL AddrH LenL LenH 00h 00h 00h 00h
Output
CrcH
CrcL
03Eh
This command has a slightly different format depending on the length of the CRC requested. It returns the CRC-
16 value (CrcH:CrcL) of the data SRAM (Length) or (LenH:LenL) bytes/words starting at (AddrH:AddrL). “Units”
is either bytes or words, depending on which mode is currently selected.
Vista de pagina 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 17 18

Comentarios a estos manuales

Sin comentarios