beautypg.com

Family 9 commands—load fixed length – Maxim Integrated MAXQ20-Based Microcontroller Bootloader Command Reference User Manual

Page 12

background image

MAXQ20-Based Microcontroller Bootloader Command Reference

12

Family 9 Commands—Load Fixed Length

Command 90h—Load Code Fixed Length

Byte1

Byte2

Byte3

Byte4

Byte5

Bytex

Byte21

Byte22

Input

90h

CodeLen

AddrL

AddrH

Data1

Data(x-4)

00h

00h

Output

03Eh


This command loads a block of 16 bytes into the program memory starting at the specified address. The address,
which must be from 0000h–07FFh, is rounded down to the nearest block boundary (multiple of 16) before the
data is loaded. CodeLen is one of the values returned by the Get Supported Commands command.


Command 91h—Load Data Fixed Length

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

Byte9

Byte10

Input

91h

DataLen

AddrL

AddrH

Data1

Data2

Data3

Data4

00h

00h

Output

03Eh


This command is only useful in devices with nonvolatile data memory. This command loads a block of 4 bytes into
data memory starting at the specified address. The address, which must be from 0040h–00BFh, is rounded down
to the nearest block boundary (multiple of 4) before the data is loaded. DataLen is one of the values returned by
the Get Supported Commands command.