阅读:2392回复:6
vxworks 串口连接问题(急,高手留步)
vxworks 串口连接问题(急,高手留步)
硬件平台为486, pc104,doc电子盘 congfig.h中设置参数如下 #undef INCLUDE_END /* Use Enhanced Network Drivers */ #undef INCLUDE_ULTRA /* include SMC Elite16 Ultra interface */ #define INCLUDE_ENE /* include Eagle/Novell NE2000 interface */ #undef INCLUDE_ELT /* include 3COM EtherLink III interface */ #undef INCLUDE_ESMC /* include SMC 91c9x Ethernet interface */ #undef INCLUDE_FEI /* include Intel Ether Express PRO100B PCI */ #define INCLUDE_SLIP /* include serial line interface */ #define SLIP_TTY 1 /* serial line IP channel COM2 */ #undef INCLUDE_ELC /* include SMC Elite16 interface */ #undef INCLUDE_EEX /* include INTEL EtherExpress interface */ #undef INCLUDE_EEX32 /* include INTEL EtherExpress flash 32 */ #undef INCLUDE_EX /* include Excelan Ethernet interface */ #undef INCLUDE_ENP /* include CMC Ethernet interface*/ #undef INCLUDE_SM_NET /* include backplane net interface */ #undef INCLUDE_SM_SEQ_ADDR /* shared memory network auto address setup */ #undef INCLUDE_EL_3C90X_END /* 3com fast etherLink XL PCI */ #undef INCLUDE_LN_97X_END /* AMD 79C972 END DRIVER */ #undef WDB_COMM_TYPE #define WDB_COMM_TYPE WDB_COMM_SERIAL /*定义通信方式为串口联结*/ #undef CONSOLE_TTY #define CONSOLE_TTY NONE #undef WDB_TTY_CHANNEL #define WDB_TTY_CHANNEL 1 /*通道号*/ #undef WDB_TTY_BAUD #define WDB_TTY_BAUD 115200 /*38400串口速率,可设置至38400*/ target server设置为 符号表不同步 vxworks组件包含 符号表 build-in bootrom 和 vxworks image 都下载到电子盘中,引导运行正常;但用调试工具 shell、debug,browser连接调试时 经常很长时间 没有反映,有时又可以交叉调试,断点调试,最齐怪的是 ****************执行 spy命令时 目标机 马上 重启???!!!?!?!?! ???? 请各位大侠帮帮忙,指点一下; 感激不尽 |
|
沙发#
发布于:2004-12-06 21:18
没人回答?!?
|
|
板凳#
发布于:2005-07-18 23:18
用户被禁言,该主题自动屏蔽! |
|
地板#
发布于:2005-07-19 00:46
把 define WDB_TTY_BAUD 115200 中的 115200改为9600!就可以了!
|
|
|
地下室#
发布于:2005-07-21 09:46
你的问题时因为波特率设的高了!
|
|
5楼#
发布于:2005-08-11 10:10
可能是风河工具不完善,我试过好像只能最高为38400,高了就不行了,没反映了
|
|
6楼#
发布于:2007-01-26 22:16
估计是波特率太高的问题。
|
|
|