skyeye1.2.9 串口问题 求助
调试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 = 0x01000000size = 0x00000084.
load section .glue_7: addr = 0x01000084size = 0x00000000.
load section .glue_7t: addr = 0x01000084size = 0x00000000.
load section .data: addr = 0x01002000size = 0x00001000.
not load section .bss: addr = 0x01003000size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000size = 0x0000004e .
not load section .debug_info: addr = 0x00000000size = 0x00000187 .
not load section .debug_line: addr = 0x00000000size = 0x000000a9 .
not load section .debug_pubnames: addr = 0x00000000size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000size = 0x00000020 .
In SIM_start, Set PC to the address 0x1000000
紧接着在(skyeye)提示符后,输入任何字母都无法显示出来,但是可以正常使用,
例如输入 run,虽然无法显示,但是会运行程序,输入后的结果显示如下:
(skyeye)(running)helloworldhelloworldhelloworldhelloworldhelloworld
问下?
1.出现下面情况的原因是什么?
not load section .bss: addr = 0x01003000size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000size = 0x0000004e .
not load section .debug_info: addr = 0x00000000size = 0x00000187 .
not load section .debug_line: addr = 0x00000000size = 0x000000a9 .
not load section .debug_pubnames: addr = 0x00000000size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000size = 0x00000020 .
2.为何输入不会显示,虽然可以正常运行?
(补充一句,利用skyeye1.2版本时候可以正常回显和运行。)
运行环境
忘了说运行环境了,Ubuntu 8.04. 可以把你的skyeye.conf文件贴出来看下不?谢谢,我的这个测试例子打印不出来skyeye.conf文件
arch:armcpu: 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
整个过程
root@bf-desktop:/skyeye-1.2.9_rc1/testsuite/arm_hello# lsMakefileREADMEarm_hellohello.chello.ldsskyeye.confstart.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 = 0x01000000size = 0x00000084.
load section .glue_7: addr = 0x01000084size = 0x00000000.
load section .glue_7t: addr = 0x01000084size = 0x00000000.
load section .data: addr = 0x01002000size = 0x00001000.
not load section .bss: addr = 0x01003000size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000size = 0x0000004e .
not load section .debug_info: addr = 0x00000000size = 0x00000187 .
not load section .debug_line: addr = 0x00000000size = 0x000000a9 .
not load section .debug_pubnames: addr = 0x00000000size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000size = 0x00000020 .
In SIM_start, Set PC to the address 0x1000000
*在下面的(skyeye)后输入的run并没有显示,但却起了作用
(skyeye)(running)helloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworld
先对热心的人表示下感谢!
[ 本帖最后由 skyeye_bf 于 2009-10-11 18:32 编辑 ]
页:
[1]