![Teridian 71M6513 Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/teridian/71m6513/71m6513_user-manual_1088921019.webp)
71M6513/71M6513H Demo Board User’s Manual
Page: 19 of 112
©
2005-2006 TERIDIAN Semiconductor Corporation
Revision 5.6
Commands for MPU/XDATA Access:
)
MPU DATA ACCESS
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
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 0x3FF). 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.
RAM access is limited to the lower 1KB address range. Read and write operations will “wrap around”
at higher addresses, i.e. )200? will yield the same result as )0?
Commands for DIO RAM (Configuration RAM) and SFR Control:
R
DIO AND SFR CONTROL
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 71M6513/6513H 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.
http://www.datasheetcatalog.com/