ACC-72EX User Manual
DPRAM Memory Map
26
netX System Flags
The ACC-72EX Hilscher module firmware writes to the netX system register; UMAC reads this register.
The netX system register is located at address offset $80 in the dual-port memory.
Bit
Fu
n
ct
io
n
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
bNetxFlags – netX writes, UMAC reads
N
SF
_
R
EA
D
Y
N
SF
_
ER
R
O
R
N
SF
_
H
O
ST
_
C
O
S_
A
C
K
N
SF
_
N
ET
X
_
C
O
S_
C
M
D
N
SF
_
SE
N
D
_
M
B
X
_
A
C
K
N
SF
_
R
EC
V
_
M
B
X
_
C
M
D
Reserved
netX System Flags
bNetxFlags
(ACC-72EX
UMAC)
Bit No.
Definition / Description
0
Ready (NSF_READY)
The Ready flag is set as soon as the COMX has initialized itself properly and passed its
self-test. When the flag is set, the netX is ready to accept packets via the system mailbox.
If cleared, the netX does not accept any packages.
1
Error (NSF_ERROR)
The Error flag is set when the netX has detected an internal error condition. This is
considered to be a fatal error. The Ready flag is cleared and the netX operating system is
stopped. An error code helping to identify the issue is placed in the ulSystemError
variable in the system status block.
2
Host Change Of State Acknowledge (NSF_HOST_COS_ACK)
The Host Change of State Acknowledge flag is set when the netX acknowledges a
command from the host system. This flag is used together with the Host Change of State
Command flag in the host system flags.
3
netX Change Of State Command (NSF_NETX_COS_CMD)
The netX Change of State Command flag is set if the netX signals a change of its state to
the host system. Details of what has changed can be found in the ulSystemCOS variable
in the system control block.
4
Send Mailbox Acknowledge (NSF_SEND_MBX_ACK)
Both the Send Mailbox Acknowledge flag and the Send Mailbox Command flag are used
together to transfer non-cyclic packages between the UMAC and the netX.
5
Receive Mailbox Command (NSF_RECV_MBX_CMD)
Both the Receive Mailbox Command flag and the Receive Mailbox Acknowledge flag are
used together to transfer non-cyclic packages between the netX and UMAC.
6, 7 … 15 6, 7 … 15 Reserved, set to zero
Hilscher Documentation
ACC-72EX Setup Assistant
Sy
st
em
Hand
sh
ak
e
R
eg
ist
er
ne
tX
Sy
st
em
Fl
ag
s
bNetxFlags
HCSC_bNetxFlags
NSF_READY
HCSC_NSF_READY
NSF_ERROR
HCSC_NSF_ERROR
NSF_HOST_COS_ACK
HCSC_NSF_HOST_COS_ACK
NSF_NETX_COS_CMD
HCSC_NSF_NETX_COS_CMD
NSF_SEND_MBX_ACK
HCSC_NSF_SEND_MBX_ACK
NSF_RECV_MBX_CMD
HCSC_NSF_RECV_MBX_CMD