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了。呵呵……

 

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