这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 串口引导vxworks时出问题,请大家帮忙!

共2条 1/1 1 跳转至

串口引导vxworks时出问题,请大家帮忙!

菜鸟
2007-12-13 15:05:28     打赏
主机和目标机通过串口相连,目标机加电以后,在tornado 起target server 时报以下错误:
tgtsvr (10.0.4.90@LUJINGFEN): Thu Dec 13 09:45:09 2007
  Checking License ...OK
  Connecting to target agent... succeeded.
  Attaching C++ interface... succeeded.
  Warning: No core file. Use -c option if you wish to use one.
  Attaching elf OMF reader for PPC CPU family... succeeded.
  Error: Cannot get target toolname (symbol error)

请大家帮忙看是什么问题啊???




关键词: 串口     引导     vxworks     出问题     大家     帮忙    

菜鸟
2007-12-13 19:53:37     打赏
2楼
我的config.h文件是这样设置的:
/* Serial port configuration */
#undef CONSOLE_TTY                      
#define CONSOLE_TTY       NONE      
                         
#undef WDB_TTY_CHANNEL                    
#define WDB_TTY_CHANNEL   0        

#undef WDB_COMM_TYPE
#define WDB_COMM_TYPE WDB_COMM_SERIAL /* communication through serial port */  
#define INCLUDE_TSFS_BOOT              
                     
#define INCLUDE_TSFS_BOOT_VIO_CONSOLE                
                   
#define WDB_MODE   WDB_MODE_EXTERN          
                         
#undef WDB_TTY_DEV_NAME                    
#define WDB_TTY_DEV_NAME   "/tyCo/0"  


#define INCLUDE_WDB_TSFS                

#undef NUM_TTY
#define NUM_TTY     N_SIO_CHANNELS


#undef WDB_TTY_BAUD
#define WDB_TTY_BAUD   9600   /*lujf change from 115200*/



tornado里是这样配置的:








起target server时报的错误是:
tgtsvr (10.0.4.90@LUJINGFEN): Thu Dec 13 19:17:05 2007
  Checking License ...OK
  Connecting to target agent... succeeded.
  Attaching C++ interface... succeeded.
  Attaching elf OMF reader for PPC CPU family... succeeded.
  Warning: Target checksum: 0x63fe (computed from 0x10000 to 0xd7a40).
        Host checksum: 0x4e58 (computed from 0x10a0080 to 0x1167ac0).
  Warning: Core file checksums do not match.

  Error: rpccore backend client Procedure unavailable
  Error: Cannot get target toolname (gopher Error)

tgtsvr (10.0.4.90@LUJINGFEN): Thu Dec 13 19:17:19 2007
  Error: rpccore backend client Procedure unavailable

tgtsvr (10.0.4.90@LUJINGFEN): Thu Dec 13 19:17:19 2007
  Error: rpccore backend client Procedure unavailable

tgtsvr (10.0.4.90@LUJINGFEN): Thu Dec 13 19:17:19 2007
  Error: rpccore backend client Procedure unavailable

tgtsvr (10.0.4.90@LUJINGFEN): Thu Dec 13 19:17:19 2007
  Error: rpccore backend client Procedure unavailable


可是同时shell又好像能起来,,并且好像和板子已经连接上了,因为d命令显示内存正确,而且reboot命令也可以用如下图:




这是什么情况啊,,请大家帮帮忙!!!

共2条 1/1 1 跳转至

回复

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