Document number
205065
Version
Rev. N
Issue date
2019-02-04
Sirius OBC and TCM User Manual
Page
127
of
174
7.12. Spacewire RMAP
According to [RD3], a 40-bits address consisting of an 8-bit Extended Address field and a
32-bit Address field is used in RMAP. This has been utilized in the TCM-S according to
Table 7-25 to separate between configuration commands and mass memory storage of data
(partition handling).
The initiator logic address of output messages from the TCM-S, and the RMAP key that
needs to be used for input messages and should be expected from output messages, are
shown in Table 7-23.
Table 7-23: RMAP predefined fields
Field
Value
Initiator Logical Address
0x42
Key
0x30
In addition, target address and reply address must be added to the RMAP header in
commands targeting the Sirius TCM to compensate for topology external to the Sirius TCM
and the embedded SpaceWire router. As can be seen Figure 7-1, if the Sirius TCM were to
be addressed from SpaceWire port 1, the example addresses below must be added to the
routing addresses in the RMAP header.
Table 7-24: RMAP predefined fields for routing
Field
Value
Target Spw Address
0x01, 0x03
Reply Address
0x01, 0x03
7.12.1. Input
The RMAP commands supported by the Sirius TCM are specified in the table below. See
chapter 7.12.4 for details on each specific command.
Note!
The Sirius TCM uses the RMAP Transaction ID to separate between outstanding
replies to different units. When several nodes are addressing the Sirius TCM, they need to
be assigned a unique transaction id range to ensure correct system behaviour. To allow for
similar transaction identification throughout the system, the Sirius TCM uses the Transaction
ID range
0x0000-0x0FFF
in all outgoing communication.
Table 7-25: RMAP commands to TCM
Name
Ext. Addr
Address
Cmd
Description
TMStatus
0xFF
0x00000000
R
Reads latest telemetry status.
TMConfig
0xFF
0x00000200
R
Reads telemetry configuration.
TMControl
0xFF
0x00000300
W
Enable/Disable telemetry.
TMFEControl
0xFF
0x00000400
W
Enable/Disable Frame Error Control Field for
TM Transfer Frames.
TMMCFCControl
0xFF
0x00000500
W
Enable/Disable Master Channel Frame
Counter Control for TM Transfer Frames.
TMIFControl
0xFF
0x00000600
W
Enable/Disable Idle Frames.
TMPRControl
0xFF
0x00000700
W
Enable/Disable Pseudo Randomization for
telemetry.
TMCEControl
0xFF
0x00000800
W
Enable/Disable Convolutional Encoding for
telemetry.