performing remote reset of Q7S
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Jakob Meier 2022-01-07 08:12:41 +01:00
parent 09db06e8b2
commit 1f7ff062c1

View File

@ -11,14 +11,15 @@
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. [TMTC testing](#tmtc-testing) 6. [Remote Reset](#remote-reset)
8. [Direct Debugging](#direct-debugging) 8. [TMTC testing](#tmtc-testing)
9. [Transfering Files to the Q7S](#file-transfer) 9. [Direct Debugging](#direct-debugging)
10. [Q7S OBC](#q7s) 10. [Transfering Files to the Q7S](#file-transfer)
11. [Static Code Analysis](#static-code-analysis) 11. [Q7S OBC](#q7s)
12. [Eclipse](#eclipse) 12. [Static Code Analysis](#static-code-analysis)
13. [Running the OBSW on a Raspberry Pi](#rpi) 13. [Eclipse](#eclipse)
14. [FSFW](#fsfw) 14. [Running the OBSW on a Raspberry Pi](#rpi)
15. [FSFW](#fsfw)
# <a id="general"></a> General information # <a id="general"></a> General information
@ -535,10 +536,10 @@ ssh root@192.168.133.10
``` ```
If this has not been done yet, you can access the serial If this has not been done yet, you can access the serial
console of the Q7S like this to set it console of the Q7S like this
```sh ```sh
picocom -b 115200 /dev/ttyUSB0 picocom -b 115200 /dev/q7sSerial
``` ```
The flatsat has the aliases and shell scripts `q7s_ssh` and `q7s_serial` for this task as well. The flatsat has the aliases and shell scripts `q7s_ssh` and `q7s_serial` for this task as well.
@ -575,6 +576,29 @@ 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="remote-reset"></a> Remote Reset
1. Launch xilinx hardware server on flatsat with alias
````
launch-hwserver-xilinx
````
2. On host PC start xsc
3. In xsct console type the follwing command to connect to the hardware server (replace </flatsat-pc-ip-address/> with the IP address of the flatsat PC. Can be found out with ifconfig)
````
connect -url tcp:</flatsat-pc-ip-address/>:3121
````
4. The following command will list all available devices
````
targets
````
5. Connect to the APU of the Q7S
````
target </APU-number/>
````
6. Perform reset
````
rst
````
# <a id="tmtc-testing"></a> TMTC testing # <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 The OBSW supports sending PUS TM packets via TCP or the PDEC IP Core which transmits the data as