这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » vxworks 串口连接问题(急,高手留步)

共2条 1/1 1 跳转至

vxworks 串口连接问题(急,高手留步)

菜鸟
2004-12-03 00:10:52     打赏

硬件平台为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命令时 目标机 马上 重启,

????

请各位大侠帮帮忙,指点一下;

感激不尽




关键词: vxworks     串口     连接     问题     高手     留步     #u    

菜鸟
2004-12-06 16:52:00     打赏
2楼

各位大侠,还请指点一下啊

目标机与宿主机连接不稳定,执行spy后目标机自动重启?????


共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]