beautypg.com

Family 2 commands—dump variable length – Maxim Integrated MAXQ20-Based Microcontroller Bootloader Command Reference User Manual

Page 8

background image

MAXQ20-Based Microcontroller Bootloader Command Reference

8

Family 2 Commands—Dump Variable Length


Command 20h—Dump Code Variable Length

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

(Length)

Bytes

Byte

Length+7

Input (to dump

< 256 units)

20h

1

AddrL

AddrH

Length

00h

00h...

00h

Output

Memory

contents

03Eh

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

(Length)

Bytes

Byte

Length+8

Input (to dump

256+ units)

20h

2

AddrL

AddrH

LenL

LenH

00h

00h...

00h

Output

Memory

contents

03Eh


This command has a slightly different format depending on the length of the dump requested. It returns the
contents of the program flash memory – (Length) or (LenH:LenL) bytes starting at byte address (AddrH:AddrL).
“Units” is either bytes or words, depending on which mode is currently selected.


Command 21h—Dump Data Variable Length

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

(Length)

Bytes

Byte

Length+7

Input (to dump

< 256 units)

21h

1

AddrL

AddrH

Length

00h

00h...

00h

Output

Memory

contents

03Eh

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

(Length)

Bytes

Byte

Length+8

Input (to dump

256+ units)

21h

2

AddrL

AddrH

LenL

LenH

00h

00h...

00h

Output

Memory

contents

03Eh


This command has a slightly different format depending on the length of the dump requested. It returns the
contents of the data SRAM – (Length) or (LenH:LenL) bytes starting at byte address (AddrH:AddrL). “Units” is
either bytes or words, depending on which mode is currently selected.