The following describes the steps for
debugging on a remote board.
- Setting up the Remote System Environment:
- Run
hw_server
with a non-default port (for example: 3122) to enable remote connections. Use the following command to launch thehw_server
on port 3122:the hw_server -s TCP::3122
- Make sure your board is correctly connected.
- In a
cmd
window on the host machine, check the IP address:
- Run
- Setup the Local System for Remote Debug:
- Launch the Vitis Unified IDE.
- Select the application component to debug.
- Go to the Flow Navigator and click Open Launch configuration. See Launch Configurations for details.
- For the Target
Connection filed, click New to create a new target connection.
- In the New Target Connection wizard, add the required details for the remote host that is connected to the target.
- In the Target Name, type a name for the target.
- In the Host field, enter the IP address or name of the host machine.
- In the Port field, enter the Port on which the hardware server was launched, for example 3122.
- Select Use Symbol Server to ensure that the source code view is available, during debugging the application remotely. Symbol server acts as a mediator between hardware server and the AMD Vitis™ Unified IDE.
- Click OK.
- Two available connections are displayed. In this case,
remote_zc702_1
is the remote connection.
- Click the debug button.
Note: For target connection creation, refer to: Target Connections.