菜鸟~~~~~~~
学习中``你有机会可以交流一下吧!
QQ:303808424
本人是菜鸟, :?::?::?: 为什么我运行楼主的这个程序没问题,而自己编译其他的就都有问题啊
问题都是一样的,如下是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: *** 错误 1 我下你的源码,不知为什么make不了啊。
提示如下:
$make
make:Nothing to be done for'all' I can't find your link, can you send me , [email protected] , thanks! 试试
make clean
make
我下你的源码,不知为什么make不了啊。
提示如下:
$make
make:Nothing to be done for'all' 我想把lwip直接移植到skyeye上,希望能让它运行在没有操作系统支持的环境下。不知道有没有人做过这样的事情阿? 我还有个比较幼稚的问题,就是为什么hello.c里面没有main函数呢?
能不能解释一下啊。多谢了。 我使用arm-elf-gcc 的版本是3.4.0-macraigor1,还是出现这样的错误:
Not enough room for program headers, try linking with -N
楼主可否调试一下,谢谢 还有,请问如何在ads上编译这个程序呢,谢谢. 我执行skyeye hello后为什么就停在了
SKYEYE: use arm7100 mmu ops
这一行,不往下走了? 楼主你好,我是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的二进制文件,以下是我的详细调试记录:
# skyeye hello
***********************************************************************
**** ****
**** SkyEyeSimulator Ver 0.9.8 withGDB/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文件设置有问题,请楼主帮忙指正,感激不尽!
兄弟我也看一把
兄弟我也看一把 楼主,请问这个例子怎么在S3C4510上运行呢?我怎么试都没成功请发给我一个吧,谢谢:Hello4Skyeye.tgz
email:[email protected]