Jtag UART
The following is a list of streams commands:
jtagterminal
Start/Stop Jtag based hyper-terminal.
Syntax
jtagterminal [options]
Start/Stop a Jtag based hyper-terminal to communicate with ARM DCC or MDM UART interface.
Options
Option | Description |
---|---|
-start |
Start the Jtag Uart terminal. This is the default option. |
-stop |
Stop the Jtag Uart terminal. |
-socket |
Return the socket port number, instead of starting the terminal. External terminal programs can be used to connect to this port. |
Note(s)
- Select a MDM or ARM/MicroBlaze processor target before runnning this command.
Returns
Socket port number.
readjtaguart
Start/Stop reading from Jtag Uart.
Syntax
readjtaguart [options]
Start/Stop reading from the ARM DCC or MDM Uart Tx interface. 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 a MDM or ARM/MicroBlaze processor target before runnning this command.
- While running a script in non-interactive mode, output from Jtag uart may not 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.
Example(s)
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.