Maxim-integrated MAXQ20-Based Microcontroller Bootloader Command Re Instrukcja Użytkownika Strona 9

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 18
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 17 18

Komentarze do niniejszej Instrukcji

Brak uwag