Hi!
I am investigating a remote setup using RTT. The setup is to be automated. Here is the scenario:
Questions:
Now, I would like to add a separate printout channel for logging, on RTT channel 1. Is there a way to get the output of that channel to the manager? I am aware of (but have not tested) RTT Logger. The RTT Logger seems unsuitable, as it is a command like application, making it difficult to automate.
regards,
Elm
I am investigating a remote setup using RTT. The setup is to be automated. Here is the scenario:
- A manager node will contain a test script, connecting to a remote Raspberry Pi (RPi) node, which is connected via USB to an ARM development kit (DK). The test script sends commands to a CLI on the DK, and the DK replies with printouts. The CLI uses RTT channel 0.
- On the RPi, I start JLinkExe like this: JLink.exe -AutoConnect 1 -device XXXX -SelectEmuBySN YYYY -RTTTelnetPort 19122 -if SWD -speed 4000 , where XXXX and YYYY are parameters suitable for the DK.
- As the RTT telnet port is only accessible from localhost (and not any remote host (for security reasons, I guess)), I set up a SSH connection from the manager node to the RPi. This SSH connection adds a tunnel from a port on the manager to port 19122 on the RPi. This way, I can start a Telnet session on the manager, and be connected to the CLI on the DK. All this works well.
Questions:
Now, I would like to add a separate printout channel for logging, on RTT channel 1. Is there a way to get the output of that channel to the manager? I am aware of (but have not tested) RTT Logger. The RTT Logger seems unsuitable, as it is a command like application, making it difficult to automate.
regards,
Elm