beautypg.com

Maxim Integrated 71M6533-DB User Manual

Page 15

background image

71M6533-

DB Demo Board User’s Manual

Page: 15 of 75

`

REV 3

Commands for MPU/XDATA Access:

)

MPU DATA ACCESS

Comment

Description:

Allows user to read from and write to MPU data space.

Usage:

) [Starting MPU Data Address] [option]…[option]

Command
combinations:

)A???

Read three consecutive 32-bit words in Decimal, starting at
address A

)A$$$

Read three consecutive 32-bit words in Hex, starting at
address A

)A=n=m

Write the values n and m to two consecutive addresses
starting at address A

?)

Display useful RAM addresses.

Example:

)08$$$$

Reads data words 0x08, 0x0C, 0x10, 0x14

)04=12345678=9876ABCD

Writes two words starting @ 0x04

MPU or XDATA space is the address range for the MPU XRAM (0x0000 to 0xFFF). All MPU data words are in 4-byte (32-bit)
format. Typing ]A? will access the 32-bit word located at the byte address 4 * A = 0x28. The energy accumulation registers of
the Demo Code can be accessed by typing two Dollar signs (“$$”), typing question marks will display negative decimal values
if the most significant bit is set.

Commands for DIO RAM (Configuration RAM) and SFR Control:

R

DIO AND SFR CONTROL

Comment

Description:

Allows the user to read from and write to DIO RAM and special function registers (SFRs).

Usage:

R [option] [register] … [option]

Command
combinations:

RIx…

Select I/O RAM location x (0x2000 offset is automatically
added)

Rx…

Select internal SFR at address x

Ra???...

Read consecutive SFR registers in Decimal, starting at
address a

Ra$$$...

Read consecutive registers in Hex, starting at address a

Ra=n=m…

Set values of consecutive registers to n and m starting at
address a

Example:

RI2$$$

Read DIO RAM registers 2, 3, and 4 in Hex.

DIO or Configuration RAM space is the address range 0x2000 to 0x20FF. This RAM contains registers used for configuring
basic hardware and functional properties of the 71M6533 and is organized in bytes (8 bits). The 0x2000 offset is automatically
added when the command RI is typed.

The SFRs (special function registers) are located in internal RAM of the 80515 core, starting at address 0x80.