Troubleshooting with software
41
EXPLANATION
Use this command to read data (in words) from a logical port specified with a logical
address. The port size determines the number of words read.
EXAMPLE
Refer to SP - Set logical Port data (page 41).
5.7.5 SM - Set Memory (D)
This command alters the functionality of the Multifunction Vehicle
Bus. Consider the operative situation carefully before using this
command on board a train.
SYNTAX
SM addr32 {data8}
addr32= memory address from which you want to start writing
data8 = one or more bytes of data you want to write to the consecutive addresses
starting at the memory address specified
EXPLANATION
Use this command to set the contents of the MVB memory. This is useful when you
need to write the memory to verify the functionality of the VME back plane bus. To see
the Shared Memory from the VME bus side, you need to have a VME master CPU.
Also, manipulating the memory on the MVB module side can be a convenient way to
debug the high level application on the Gateway CPU.
This command modifies the content of bytes starting from memory address addr32.
The data8 parameter specifies the data you want to write to the memory starting from
the address parameter. You can specify several data bytes at a time, up to the
maximum line length.
Before this command, you need to set the addressing mode to logical or absolute with
the ADDR command. For more information, see the ADDR section on page 37. Also,
for a list of significant logical addresses, see the RM command on page 39.
5.7.6 SP - Set logical Port data (D)
This command alters the functionality of the Multifunction Vehicle
Bus. Consider the operative situation carefully before using this
command on board a train.