请问大家,和目标机用串口相连的时候启动target server出现下面的错误是什么原因啊?3x!
Connecting to target agent... Error: clnttty_rcv: read timed out Error: clnttty_rcv: read timed out Error: clnttty_rcv: read timed out Error: rpccore backend client Timed out failed.
书上不是说要先修改config.h吗?
#define INCLUDE_WDB #define INCLUDE_WDB_TTY_TEST #undef WDB_COMM_TYPE #define WDB_COMM_TYPE WDB_COMM_SERIAL /*定义通信方式为串口联结*/ #define WDB_TTY_CHANNEL 1 /*通道号*/ #define WDB_TTY_BAUD 9600 /*串口速率,可设置至38400*/ #define WDB_TTY_DEV_NAME "tyCo/1" #define CONSOLE_TTY 0 #define DEFAULT_BOOT_LINE "fd=0,0(0,0)hostname:/fd0/vxWorks \ h=主机ip e=目标机ip u=主机上的登录用户名"