|
|
 |
Using STWorkbench with STLinux
Using an embedded serial console
|
|
This explains how to view the system console through a serial port.
Connect a null modem cable between the first serial port on the target board (ttyAS0)
and the first serial port on the host (ttyS0).
View the output with a terminal emulator. STWorkbench can display serial port output
in the Console view. If you have the Kermit terminal emulator this console can be read/write,
allowing you to log in to the target and issue commands from within STWorkbench. Otherwise the
console will be read only.
Select Run > Run. The Create, manage and run configurations dialog appears.
Select Serial Console and click New. A new launch configuration is created.
Enter ttyS0 in the Name field.
If you have Kermit on your path, select Read/write (requires kermit) in the
Console type field. Otherwise select Read only which is limited but works in all
cases.
Click Run. This serial console will remain open in the Console view until it
is explicitly closed.
|