readjtaguart - 2022.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-01-02
Version
2022.2 English

Start/stop reading from JTAG UART.

Syntax

readjtaguart [options]

Start/stop reading from the Arm DCC or MDM UART TX interface. The JTAG UART output can be printed on stdout or redirected to a file.

Options

Option Description
-start Start reading the JTAG UART output.
-stop Stop reading the JTAG UART output.
-handle <file-handle> Specify the file handle to which the data should be redirected. If no file handle is given, data is printed on stdout.

Note(s)

  • Select an MDM or Arm processor target before running this command.
  • While running a script in non-interactive mode, the output from JTAG UART cannot be written to the log until "readjtaguart -stop" is used.

Returns

Nothing, if successful. Error string, if data cannot be read from the JTAG UART.

Examples

readjtaguart

Start reading from the JTAG UART and print the output on stdout.

set fp [open test.log w]; readjtaguart -start -handle $fp

Start reading from the JTAG UART and print the output to test.log.

readjtaguart -stop

Stop reading from the JTAG UART.