世俱杯 2025

登录 免费注册 世俱杯 2025 | 行业黑名单 | 帮助
维库电子市场网
技术交流 | 电路欣赏 | 工控天地 | 数字广电 | 通信技术 | 电源技术 | 测控之家 | EMC技术 | ARM技术 | EDA技术 | PCB技术 | 嵌入式系统
驱动编程 | 集成电路 | 器件替换 | 模拟技术 | 新手园地 | 单 片 机 | DSP技术 | MCU技术 | IC 设计 | IC 产业 | CAN-bus/DeviceNe

写给周立功公司的求助信,还未得到解答。

作者:flylongins 栏目:嵌入式系统
写给周立功公司的求助信,还未得到解答。
最近开始用smartarm 2200 做实验,遇到一个问题。问题描述如下:主机使用虚拟机vmware  ,宿主机和目标板IP都联系得上。主机开超级终端,目标板上电后,超级终端显示选择目录,选择启动uclinux后,一切正常。NFS连接也正常,但是在主机编译hello之后,通过超级终端在目标板上运行时,不能运行。一些在超级终端下的键入命令如下:

/> cd usr         
/usr> portmap&              
[27]    
/usr> mount -t nfs 192.168.15.11:/home/armwork /mnt -o nolock                                                             
/usr> cd /mnt             
/mnt> ls        
hello     
/mnt> cd hello              
/mnt/hello> ls              
Makefile        
hello     
hello.c       
hello.gdb         
hello.o       
/mnt/hello> ./hello                   
./hello: Permission denied                          
/mnt/hello> ./hello                 
./hello: Permission denied                          
/mnt/hello> ./hello                   
./hello: Permission denied                          
/mnt/hello> ls              
Makefile        
hello     
hello.c       
hello.gdb         
hello.o       
/mnt/hello> ls              
Makefile        
hello     
hello.c
hello.gdb
hello.o
/mnt/hello> ./hello
./hello: Permission denied
/mnt/hello> gdb hello
gdb: Bad command or file NAME
/mnt/hello> gdb hello
gdb: Bad command or file NAME
/mnt/hello> ls
Makefile
hello
hello.c
hello.gdb
hello.o
/mnt/hello> ls
Makefile
hello
hello.c
hello.gdb
hello.o
/mnt/hello> ./hello
./hello: Permission denied

不知道是什么原因!!!程序为提供的hello源程序。


还有就是gdbserver为啥目标板上没有这个命令?
/mnt/hello> gdbserver:2000 hello&
gdbserver:2000: Bad command or file NAME

sh 26: Child 32 died
[32]



哪位大虾能指点我一下。万分感激。。。


2楼: >>参与讨论
zlgarm
re:
最近工程师出差,没法回复.

您现在遇到的问题是程序没有可执行权限,请使用chmod改变权限.
chmod a+x hello
即可.

3楼: >>参与讨论
flylongins
谢谢!!!
谢谢周立功。。。。
中国嵌入式多几个像周立功这样热心的人就好了啊。。。。

4楼: >>参与讨论
sockit
只能说明工作没有交接好
理解万岁~呵呵

参与讨论
昵称:
讨论内容:
 
 
相关帖子
问个很土的问题:emulator和EZ-KIT LITE什么区别
哪里可以下载vxWorks和Linux平台下的USB驱动的代码!
请教,KEIL环境下UC/OS的移植问题!
有谁用过REF195么?
使用Keil编译uC/OS-II遇到的问题


Copyright © 1998-2006 tgdrjb.cn 浙ICP证030469号