From 1f7ff062c127336cabea8af4a2c7d2b5a79aa445 Mon Sep 17 00:00:00 2001 From: "Jakob.Meier" Date: Fri, 7 Jan 2022 08:12:41 +0100 Subject: [PATCH] performing remote reset of Q7S --- README.md | 44 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index ff2c359d..5ac8f6e6 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,15 @@ 4. [Useful and Common Host Commands](#host-commands) 5. [Setting up Prerequisites](#set-up-prereq) 6. [Remote Debugging](#remote-debugging) -7. [TMTC testing](#tmtc-testing) -8. [Direct Debugging](#direct-debugging) -9. [Transfering Files to the Q7S](#file-transfer) -10. [Q7S OBC](#q7s) -11. [Static Code Analysis](#static-code-analysis) -12. [Eclipse](#eclipse) -13. [Running the OBSW on a Raspberry Pi](#rpi) -14. [FSFW](#fsfw) +6. [Remote Reset](#remote-reset) +8. [TMTC testing](#tmtc-testing) +9. [Direct Debugging](#direct-debugging) +10. [Transfering Files to the Q7S](#file-transfer) +11. [Q7S OBC](#q7s) +12. [Static Code Analysis](#static-code-analysis) +13. [Eclipse](#eclipse) +14. [Running the OBSW on a Raspberry Pi](#rpi) +15. [FSFW](#fsfw) # General information @@ -535,10 +536,10 @@ ssh root@192.168.133.10 ``` 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 -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. @@ -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 to localhost instead of the IP address of the Q7S. +# 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 with the IP address of the flatsat PC. Can be found out with ifconfig) +```` +connect -url tcp::3121 +```` +4. The following command will list all available devices +```` +targets +```` +5. Connect to the APU of the Q7S +```` +target +```` +6. Perform reset +```` +rst +```` + # TMTC testing The OBSW supports sending PUS TM packets via TCP or the PDEC IP Core which transmits the data as