This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

>:Re: load and run problem


hi,
thank you for you help.

I was use the the ROM startup type. Now,I use a new build and use the RAM startup type,but the problem is same,no any messages appear.

$ xscale-elf-gdb -nw hello
(gdb) set remotebaud 115200
(gdb) target remote com1
Remote debugging using com1
0x18bcc in ?? ()
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0xa0020000
Loading section .text, size 0xbefc lma 0xa0020040
Loading section .rodata, size 0x4e0 lma 0xa002bf3c
Loading section .data, size 0x454 lma 0xa002c41c
Start address 0xa0020040 , load size 51312
Transfer rate: 82099 bits/sec, 296 bytes/write.
(gdb) c
Continuing.

I modified the RAM address to 0x00000000,result:


$ xscale-elf-gdb -nw hello
(gdb) set remotebaud 115200
(gdb) target remote com1
Remote debugging using com1
0x18bcc in ?? ()
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x20000
Memory access error while loading section .rom_vectors.

I check the board's redboot version information:

RedBoot> version
RedBoot(tm) debug environment - built 17:16:14, Feb 12 2001
Platform: IQ80310 (XScale)
Copyright (C) 2000, Red Hat, Inc.
RAM: 0xa0000000-0xa2000000
RedBoot>

If i must update the redboot?
So far,I did not build the redboot.




----- Original Message -----
From: "Jesper Skov" <jskov@redhat.com>
To: "mailing list" <ecos-discuss@sources.redhat.com>
Cc: "eCos Discuss" <ecos-discuss@sources.redhat.com>
Sent: 2002-02-07 00:17:11
Subject: Re: [ECOS] load and run problem






>On Wed, 2002-02-06 at 03:00, abccs@x263.net wrote:
>> hi,
>> I use win2k + cygwin + eCos 1.3.net.The target is iq80310.When I load and run the examples,have a problem.I cannt run this hello program.Follow is my operate process.
>> 
>> $xscale-elf-gdb -nw hello
>> 
>> (gdb) set remotebaud 115200
>> (gdb) target remote com1
>> Remote debugging using com1
>> 0x18bcc in __udivmoddi4 ()
>> (gdb) load
>> Loading section .rom_vectors, size 0x40 lma 0x0
>> Loading section .text, size 0x17740 lma 0x2000
>
>Judging by the addresses used by the hello test, you have built it for
>the ROM startup type. Maybe you're using the same build directory you
>used for building RedBoot.
>
>Create a *new* build directory and make sure you build for RAM.
>
>Jesper
>



欢迎使用263天下邮免费信箱 http://freemail.x263.net
welcome to enjoy 263 Freemail http://freemail.x263.net
_____________________________________________________
		263在线_中国人的网上家园
Tel:010-64262631 Fax:010-64240295 (c)1998-2001版权所有
263服务热线     263@263.net.cn  



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]