The following describes the steps for
debugging on a remote board.
- Setting up the remote system environment:
- Run
hw_serverwith a non-default port (for example: 3122) to enable remote connections. Use the following command to launch thehw_serveron port 3122:the hw_server -s TCP::3122 - Make sure connections to your board are correct.
- In a
cmdwindow 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 connecting 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 hardware server's launching Port, 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 Vitis Unified IDE.
- Click OK.
- In the following screenshot, there are two available connections.
remote_zc702_1is the remote connection.
- Click the debug button.
Note: For target connection creation, refer to: Target Connections.