beautypg.com

Maxim Integrated MAXQ20-Based Microcontroller Bootloader Command Reference User Manual

Page 13

background image

MAXQ20-Based Microcontroller Bootloader Command Reference

13

Family B Commands—CRC Fixed Length (Password Protected)

Command B0h—CRC Code Fixed Length

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

Input

B0h

00h

00h

00h

00h

00h

00h

00h

Output

CRCL

CRCH

3Eh


This command returns the CRC-16 value (CRCH:CRCL) of the entire program memory


Command B1h—CRC Data Fixed Length

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

Input

B1h

00h

00h

00h

00h

00h

00h

00h

Output

CRCL

CRCH

3Eh


This command is only useful in devices with nonvolatile data memory. This command returns the CRC-16 value
(CRCH to CRCL) of the entire data memory, excluding the data SRAM.