vxsim无法链接Target Server的解决办法

下午一直在摸索,自己的第一个vxworks应用怎么没有像自己想象的那样运行起来,实际上是正常的,只不过想象要很久才能看得到(需要打印出来的东西)。一开始是怀疑左下角的trgsrv图标里面报出的错误导致的,其信息为:

tgtsvr (vxsim@tina-hb): Tue Nov 13 23:04:21 2012
    Checking License ...OK
    Connecting to target agent...
    Error: rpccore backend client Timed out
failed.
    Connecting to target agent...
tgtsvr (vxsim@tina-hb): Tue Nov 13 23:04:27 2012
    Error: rpccore backend client Timed out
failed.
    Connecting to target agent...
    Error: rpccore backend client Timed out
failed.
    Connecting to target agent...
    Error: rpccore backend client Timed out
failed.
    Connecting to target agent...
    Error: rpccore backend client Timed out
failed.
    Connecting to target agent...
    Error: rpccore backend client Timed out
failed.
    Connecting to target agent...
    Error: rpccore backend client Timed out
failed.
    Connecting to target agent...
    Error: rpccore backend client Timed out
failed.

..........

为了解决这个问题上网查了很久,都没有得到满意的答案,其中最多的就是说要卸载掉KB917422这个Windows安全补丁。但是我查了下我的Windows下的控制面板里东西,没有发现这个补丁,后来我又按照一个网站提示的如何查看已经安装过的补丁,也没有看到这个补丁。后来上微软网站看了下这个补丁,它是属于Windows xp sp2的补丁,而我的系统是Windows xp sp3,这个问题压根就不在这。还有些人就说添加一个Target Server,在Available back里选择wdbrpc,我也这么做了,可是问题依旧。没辙,我不停的在那个tools->taget server里倒腾倒腾去的……实在没有办法了,我点了help,看到了关于target Server Configure的设置说明,其中最关键的是最后面的那个Note,摘录如下:

Note

A target server must be configured with the same communication back end as the target to which it attaches.  The VxSim Lite target simulator uses only the wdbpipe back end.  Therefore the target server must be configured to use wdbpipe backend for VxSim-Lite.

看懂了吧,我把它加粗加大了,所以按照上面说的在配置里,重新改一下就OK了。呵呵……

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章