QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: shang79

HelloWorld on Skyeye,新手请进!

[复制链接]
发表于 2005-10-26 17:04:40 | 显示全部楼层
这种培训班要多办一点啊
回复

使用道具 举报

发表于 2005-12-12 12:49:25 | 显示全部楼层

菜鸟~~~~~~~

学习中``
你有机会可以交流一下吧!
QQ:303808424
本人是菜鸟,     
回复

使用道具 举报

发表于 2005-12-12 16:30:16 | 显示全部楼层
为什么我运行楼主的这个程序没问题,而自己编译其他的就都有问题啊
问题都是一样的,如下是ucos_test产生的错误消息
+ linking o file ... : start.o at91_aic.o at91_usart.o at91_tc.o at91_init.o sk yeye_stdio.o skyeye_printf.o main_entry.o -> simple_test.elf
arm-elf-ld -p -X -T../../samples/samples.lds start.o --start-group ../ulib/libu c.a at91_aic.o at91_usart.o at91_tc.o at91_init.o skyeye_stdio.o skyeye_printf. o main_entry.o --end-group -o simple_test.elf
skyeye_printf.o: In function `getnum':
/home/skyeye-projects/ucosii4skyeye/samples/simple_test/../../lib/skyeye_printf .c:110: undefined reference to `isdigit'
skyeye_printf.o: In function `skyeye_printf':
/home/skyeye-projects/ucosii4skyeye/samples/simple_test/../../lib/skyeye_printf .c:156: undefined reference to `isdigit'
make: *** [simple_test.elf] 错误 1
回复

使用道具 举报

发表于 2005-12-22 12:45:42 | 显示全部楼层
我下你的源码,不知为什么make不了啊。
提示如下:
$make
make:Nothing to be done for  'all'
回复

使用道具 举报

发表于 2005-12-29 12:41:19 | 显示全部楼层
I can't find your link, can you send me , [email protected] , thanks!
回复

使用道具 举报

 楼主| 发表于 2006-1-4 15:30:56 | 显示全部楼层
试试
make clean
make
[quote:a683df80b7="Canbus"]我下你的源码,不知为什么make不了啊。
提示如下:
$make
make:Nothing to be done for  'all'[/quote]
回复

使用道具 举报

发表于 2006-3-21 20:20:54 | 显示全部楼层
我想把lwip直接移植到skyeye上,希望能让它运行在没有操作系统支持的环境下。不知道有没有人做过这样的事情阿?
回复

使用道具 举报

发表于 2006-3-21 22:44:46 | 显示全部楼层
我还有个比较幼稚的问题,就是为什么hello.c里面没有main函数呢?

能不能解释一下啊。多谢了。
回复

使用道具 举报

发表于 2006-3-30 10:07:12 | 显示全部楼层
我使用arm-elf-gcc 的版本是3.4.0-macraigor1,还是出现这样的错误:
Not enough room for program headers, try linking with -N
楼主可否调试一下,谢谢
回复

使用道具 举报

发表于 2006-4-5 14:45:32 | 显示全部楼层
还有,请问如何在ads上编译这个程序呢,谢谢.
回复

使用道具 举报

发表于 2006-5-21 17:16:25 | 显示全部楼层
我执行skyeye hello后为什么就停在了
SKYEYE: use arm7100 mmu ops
这一行,不往下走了?
回复

使用道具 举报

发表于 2006-6-6 22:04:25 | 显示全部楼层
楼主你好,我是skyeye的新手,你的例子我已经下载下来并经过调试成功。现在我的问题是我想用skyeye模拟我的板s3c44b0.我的skyeye.conf是这样设置的:
cpu: arm7tdmi
mach: s3c44b0
mem_bank: map=M, type=R, addr=0x00000000, size=0x00200000
mem_bank: map=M, type=RW, addr=0x0c000000, size=0x00800000
mem_bank: map=I, type=RW,addr=0x01c00000, size=0x00400000

在你的hello.c里面我把串口输出地址也改成了s33c44b0相应的地址。好了,
make clean
make
之后生成hello的二进制文件,以下是我的详细调试记录:

[root@luofuchong Hello4Skyeye]# skyeye hello
***********************************************************************
****                                                               ****
****   SkyEye  Simulator Ver 0.9.8 with  GDB/Insight 5.3 Interface ****
****                                                               ****
***********************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(SkyEye) target sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name s3c44b0, mach_init addr 0x8162fd8
SKYEYE: use arm7100 mmu ops
Connected to the simulator.
(SkyEye) load
Loading section .text, size 0x5b vma 0x1000000
Loading section .data, size 0x1000 vma 0x1002000
Start address 0x1000000
Transfer rate: 33496 bits in <1 sec.
(SkyEye) list
1       /*
2        * hello.c
3        * just a function used to output "helloworld" to uart
4        *
5        * author: SU Hang
6        * date:   2004-08-28
7        */
8       void hello(void)
9       {
10              int i;
(SkyEye)
11              char * hellostr="helloworld";
12              long * paddr=(long*)0x01d00020;
13
14              for(i=0;i<10;i++)
15              {
16                      * paddr=hellostr;
17              }
18              return;
19      }
20
(SkyEye) break hello
Breakpoint 1 at 0x100002c: file hello.c, line 14.
(SkyEye) run
Starting program: /home/Hello4Skyeye/hello

由以上调试信息可知,根本还示进入hello子程序进行。但是换回原来的skyeye.conf就可以进入程序 只是没有输出而已,所以我觉得是不是skyeye.conf文件设置有问题,请楼主帮忙指正,感激不尽!
回复

使用道具 举报

发表于 2006-6-28 15:34:03 | 显示全部楼层

兄弟我也看一把

兄弟我也看一把
回复

使用道具 举报

发表于 2006-6-29 01:51:36 | 显示全部楼层
楼主,请问这个例子怎么在S3C4510上运行呢?我怎么试都没成功
回复

使用道具 举报

发表于 2006-7-13 22:56:36 | 显示全部楼层

请发给我一个吧,谢谢:Hello4Skyeye.tgz

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-3-29 08:41 , Processed in 0.076696 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表