Sm - Set Memory (D) - EKE-Electronics CVB1621A Technical Manual

Can vehicle bus module
Table of Contents

Advertisement

5.5.3 SM - Set Memory (D)

This command alters the functionality of the CAN 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 CVB 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 CVB 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 refer to chapter 5.5.1 on page 38. Also, for
a list of significant logical addresses to chapter on page 39.
EXAMPLE
Set the addressing mode to the logical address:
dbg>addr a
sm and rm commands apply absolute addressing.
dbg>sm b0000 1 2 4 a b c d
0B0000:01 02 04 0A 0B 0C 0D .......
CVB1621A and CVB2456A Technical Manual, ver. 3.00
Command line interface
41

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CVB1621A and is the answer not in the manual?

This manual is also suitable for:

Cvb2456a

Table of Contents