QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1804|回复: 4

skyeye1.2.9 串口问题 求助

[复制链接]
发表于 2009-10-10 20:43:48 | 显示全部楼层 |阅读模式
调试skyeye1.2.9/testsuite/arm_hello例子时,如果用skyeye -e arm_hello则正常;
但是如果更改skyeye.conf中的uart模式为stdio时,会出现以下现象:
(skyeye)start
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
In do_mach_option, mach info: name at91, mach_init addr 0xb6f9af20

Invalid parameter for mod option
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
exec file "arm_hello"'s format is elf32-i386.
load section .text: addr = 0x01000000  size = 0x00000084.
load section .glue_7: addr = 0x01000084  size = 0x00000000.
load section .glue_7t: addr = 0x01000084  size = 0x00000000.
load section .data: addr = 0x01002000  size = 0x00001000.
not load section .bss: addr = 0x01003000  size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0000004e .
not load section .debug_info: addr = 0x00000000  size = 0x00000187 .
not load section .debug_line: addr = 0x00000000  size = 0x000000a9 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000  size = 0x00000020 .
In SIM_start, Set PC to the address 0x1000000

紧接着在(skyeye)提示符后,输入任何字母都无法显示出来,但是可以正常使用,
例如输入 run,虽然无法显示,但是会运行程序,输入后的结果显示如下:
(skyeye)(running)helloworldhelloworldhelloworldhelloworldhelloworld


问下?
1.出现下面情况的原因是什么?
not load section .bss: addr = 0x01003000  size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0000004e .
not load section .debug_info: addr = 0x00000000  size = 0x00000187 .
not load section .debug_line: addr = 0x00000000  size = 0x000000a9 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000  size = 0x00000020 .

2.为何输入不会显示,虽然可以正常运行?
(补充一句,利用skyeye1.2版本时候可以正常回显和运行。)
 楼主| 发表于 2009-10-11 12:40:53 | 显示全部楼层

运行环境

忘了说运行环境了,Ubuntu 8.04.
回复

使用道具 举报

发表于 2009-10-11 15:55:15 | 显示全部楼层
可以把你的skyeye.conf文件贴出来看下不?谢谢,我的这个测试例子打印不出来
回复

使用道具 举报

 楼主| 发表于 2009-10-11 18:27:53 | 显示全部楼层

skyeye.conf文件

arch:arm
cpu: arm7tdmi

mach: at91

mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
uart:mod=stdio
#log: logon=0, logfile=./sk1.log, start=0, end=200000
回复

使用道具 举报

 楼主| 发表于 2009-10-11 18:31:01 | 显示全部楼层

整个过程

root@bf-desktop:/skyeye-1.2.9_rc1/testsuite/arm_hello# ls
Makefile  README  arm_hello  hello.c  hello.lds  skyeye.conf  start.S
root@bf-desktop:/skyeye-1.2.9_rc1/testsuite/arm_hello# skyeye -e arm_hello
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should note remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
pen_buffer not implemented.
(skyeye)start
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
In do_mach_option, mach info: name at91, mach_init addr 0xb6fa1f20

Invalid parameter for mod option
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
exec file "arm_hello"'s format is elf32-i386.
load section .text: addr = 0x01000000  size = 0x00000084.
load section .glue_7: addr = 0x01000084  size = 0x00000000.
load section .glue_7t: addr = 0x01000084  size = 0x00000000.
load section .data: addr = 0x01002000  size = 0x00001000.
not load section .bss: addr = 0x01003000  size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0000004e .
not load section .debug_info: addr = 0x00000000  size = 0x00000187 .
not load section .debug_line: addr = 0x00000000  size = 0x000000a9 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000  size = 0x00000020 .
In SIM_start, Set PC to the address 0x1000000

*在下面的(skyeye)后输入的run并没有显示,但却起了作用
(skyeye)(running)helloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworld
先对热心的人表示下感谢!

[ 本帖最后由 skyeye_bf 于 2009-10-11 18:32 编辑 ]
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-25 00:14 , Processed in 0.097601 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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