3.1 Common Commands
3.1.10 Write Memory Command (MEM_WR: 1Eh)
3
Main Command
s
3-23
3.
Send the following data to execute adjustment.
Command = MEM_WR
ADDRESS = 80004002h
MODE/DATA_TYPE = 12h
SIZE = 0001h
DATA = 0001h
To confirm the completion of the execution, check that CMDRDY = 1. If an error occurs, carry out the
operation in step 4 to abort execution.
4.
Send the following data to abort the execution.
Command = MEM_WR
ADDRESS = 80004000h
MODE/DATA_TYPE = 12h
SIZE = 0001h
DATA = 0000h
To confirm the completion of the execution, check that CMDRDY = 1.
Method to Access Virtual Memory Areas
For the information on the allocation of virtual memory areas, refer to the following chapter for
details.
Chapter 9 Virtual Memory Space
The details of the units (DATA_TYPE) for accessing the virtual memory areas are described
below.
*
Set the number of data of the data type specified by DATA_TYPE.
The details of CMD_ALM of the MEM_RD/MEM_WR command are described below.
Area Name
Details
DATA_TYPE
SIZE
*
Accessible/inaccessible
Vendor-specific area
Reserved
Inaccessible
Register area
Short, long
Number of
data
Accessible
Reserved
Reserved
Inaccessible
Common parameter area
Common
parameters
Long
Number of
data
Accessible
ID area
Reserved
Byte, short, long
Number of
data
Accessible
ID
CMD_ALM
Displayed Code
Error Details
9h
A.94A
When an initial address outside the defined areas is specified
When an address within the reserved ranges of common parameter or ven-
dor-specific areas is specified
When a value other than a multiple of the data size specified in DATA_TYPE
is set for ADDRESS
A.94B
When the MODE or DATA_TYPE data is invalid
A.94D
When the initial address is within the defined areas but the specified size
goes beyond those areas
When a data size beyond the specification of the command format is set for
SIZE