报错
ERROR: [Common 17-39] 'connect_hw_server' failed due to earlier errors.
报错详细信息
点击查看代码
connect_hw_server -allow_non_jtag
INFO: [Labtools 27-2285] Connecting to hw_server url TCP:localhost:3121
INFO: [Labtools 27-2222] Launching hw_server...
INFO: [Labtools 27-2221] Launch Output:
****** Xilinx hw_server v2023.2
**** Build date : Oct 13 2023 at 21:31:40
** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.: Socket bind error.
ERROR: [Labtools 27-2220] Launch Error:
Unable to launch local hw_server executable.
ERROR: [Common 17-39] 'connect_hw_server' failed due to earlier errors.
解决方法
管理员权限运行cmd,查看端口占用,命令如下:
点击查看代码
netsh int ip show excludedportrange protocol=tcp
vivado需要用到的端口是3121,Windows系统保留了部分端口不允许应用使用,所以要打开这个端口。
运行下面的命令:
点击查看代码
net stop winnat
netsh int ip add excludedportrange protocol=tcp numberofports=3 startport=3000
netsh int ip add excludedportrange protocol=tcp numberofports=1 startport=3121
net start winnat
问题解决喽!
参考
https://zhuanlan.zhihu.com/p/670343325
标签:27,端口,hw,server,硬件,Vivado,报错,Labtools From: https://www.cnblogs.com/Little-Rainbow/p/18532482