Minor update for README #105
27
README.md
27
README.md
@ -576,11 +576,30 @@ Note: When now setting up a debug session in the Xilinx SDK or Eclipse, the host
|
||||
to localhost instead of the IP address of the Q7S.
|
||||
|
||||
# <a id="tmtc-testing"></a> TMTC testing
|
||||
The OBSW supports sending PUS TM packets via TCP or the PDEC IP Core which transmits the data as CADU frames. To make the CADU frames receivabel by the [TMTC porgram](https://egit.irs.uni-stuttgart.de/eive/eive-tmtc), a python script is running as systemd service on the flatsat PC which forwards TCP commands to the TCP server of the OBC and reads CADU frames from a serial interface. The PUS packets transported with the CADU frames are extracted and forwared to the TMTC program's TCP client. The code of the TMTC bridge can be found [here](https://egit.irs.uni-stuttgart.de/eive/tmtc-bridge). To connect the TMTC program to the TMTC-bridge a port forwarding from a host must be set up with the following command:
|
||||
````
|
||||
The OBSW supports sending PUS TM packets via TCP or the PDEC IP Core which transmits the data as
|
||||
CADU frames. To make the CADU frames receivabel by the
|
||||
[TMTC porgram](https://egit.irs.uni-stuttgart.de/eive/eive-tmtc), a python script is running as
|
||||
`systemd` service named `tmtc_bridge` on the flatsat PC which forwards TCP commands to the TCP
|
||||
server of the OBC and reads CADU frames from a serial interface. The PUS packets transported with
|
||||
the CADU frames are extracted
|
||||
and forwared to the TMTC program's TCP client. The code of the TMTC bridge can be found
|
||||
[here](https://egit.irs.uni-stuttgart.de/eive/tmtc-bridge). To connect the TMTC program to the
|
||||
TMTC-bridge a port forwarding from a host must be set up with the following command:
|
||||
|
||||
```sh
|
||||
ssh -L 1537:127.0.0.1:7100 eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 -t bash
|
||||
````
|
||||
Note: The encoding of the TM packets and conversion of CADU frames takes some time. Thus the replies are received with a larger delay compared to a direct TCP connection.
|
||||
```
|
||||
|
||||
You can print the output of the `systemd` with
|
||||
|
||||
```sh
|
||||
journalctl -u tmtc_bridge
|
||||
```
|
||||
|
||||
This can be helpful to determine whether any TCs arrive or TMs are coming back.
|
||||
|
||||
Note: The encoding of the TM packets and conversion of CADU frames takes some time.
|
||||
Thus the replies are received with a larger delay compared to a direct TCP connection.
|
||||
|
||||
# <a id="direct-debugging"></a> Direct Debugging
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user