GR740-UM-DS, Nov 2017, Version 1.7
179
www.cobham.com/gaisler
GR740
13.5.1.3 Access control
After reset / power-up the configuration port’s address space can be accessed from all the ports. Con-
figuration port accesses can be individually disabled per port by clearing the corresponding
RTR.PCTRL.CE bit. Write commands, and read-modify-write commands to the configuration area
can be globally disabled by writing a 0 to the RTR.CFGWE.WE bit. When a correct RMAP command
is received but not allowed due to one or more of the access control features being enabled, a reply
with Status field set to 0x0A (Authorization failure) is sent (if requested), and the RTR.PSTSCFG.EC
field is updated to reflect the error. If a reply is not requested, the RTR.PSTSCFG.EC field is still set.
In both cases, the operation is not performed.
13.5.1.4 RMAP Error handling
Table 173 shows the order in which errors in an RMAP command are detected. As soon as an error is
detected, the command is discarded. If a reply should be sent, to a command that included an error, the
reply is sent as soon as possible after the error is detected. This means that the reply might be sent out
before the complete incoming RMAP command has been received. Note that since the complete
RMAP command is buffered before it is executed, a command that contains an error is never exe-
cuted.
1
1
0
1
Write, incre-
menting address,
verify before
writing, no reply
Write operation performed if the requirements in section
13.5.1.1 are met.
1
1
1
0
Write, single
address, verify
before writing,
send reply
Write operation performed if the requirements in section
13.5.1.1 are met.
1
1
1
1
Write, incre-
menting address,
verify before
writing, send
reply
Write operation performed if the requirements in section
13.5.1.1 are met.
Table 173.
RMAP target error detection order
Detection
Order
Error type
RMAP
error
code
Action taken
1
Wrong Protocol Identifier N/A
The RTR.PSTSCFG.PT bit is set in order to indicate that the error
occurred. No reply is sent.
2
EOP / EEP before com-
pleted header
N/A
The RTR.PSTSCFG.EO / RTR.PSTSCFG.EE bit is set in order to indi-
cate that the error occurred. No reply is sent.
3
Header CRC error
N/A
The RTR.PSTSCFG.HC bit is set in order to indicate that the error
occurred. No reply is sent.
4
Unused RMAP packet
type
N/A
If the packet type (bit 7:6 of the packet’s Instruction field) is “10” or
“11” then the bit RTR.PSTSCFG.PT is set. For the value “00” (indicat-
ing a reply), no bit in RTR.PSTSCFG is set, since the RMAP standard
[RMAP] does not specify that such an event should be recorded.
Table 172.
RMAP command decoding and handling.
Bit 5
Bit 4
Bit 3
Bit 2
Write /
Read
Verify
Data
Before
Write
Reply
Incre-
ment
Addr
Function
Action taken