readme update
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Jakob Meier 2021-10-08 14:39:53 +02:00
parent 5da2a45881
commit 2b609a413d

View File

@ -11,13 +11,14 @@
4. [Useful and Common Host Commands](#host-commands) 4. [Useful and Common Host Commands](#host-commands)
5. [Setting up Prerequisites](#set-up-prereq) 5. [Setting up Prerequisites](#set-up-prereq)
6. [Remote Debugging](#remote-debugging) 6. [Remote Debugging](#remote-debugging)
7. [Direct Debugging](#direct-debugging) 7. [TMTC testing](#tmtc-testing)
8. [Transfering Files to the Q7S](#file-transfer) 8. [Direct Debugging](#direct-debugging)
9. [Q7S OBC](#q7s) 9. [Transfering Files to the Q7S](#file-transfer)
10. [Static Code Analysis](#static-code-analysis) 10. [Q7S OBC](#q7s)
11. [Eclipse](#eclipse) 11. [Static Code Analysis](#static-code-analysis)
12. [Running the OBSW on a Raspberry Pi](#rpi) 12. [Eclipse](#eclipse)
13. [FSFW](#fsfw) 13. [Running the OBSW on a Raspberry Pi](#rpi)
14. [FSFW](#fsfw)
# <a id="general"></a> General information # <a id="general"></a> General information
@ -574,6 +575,13 @@ alias or shell script to do this quickly.
Note: When now setting up a debug session in the Xilinx SDK or Eclipse, the host must be set Note: When now setting up a debug session in the Xilinx SDK or Eclipse, the host must be set
to localhost instead of the IP address of the Q7S. 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:
````
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.
# <a id="direct-debugging"></a> Direct Debugging # <a id="direct-debugging"></a> Direct Debugging
1. Assign static IP address to Q7S 1. Assign static IP address to Q7S