This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: load and run problem
- From: Jesper Skov <jskov at redhat dot com>
- To: abccs at x263 dot net
- Cc: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: 06 Feb 2002 09:17:11 +0100
- Subject: Re: [ECOS] load and run problem
- References: <20020206015946.48A819C045@mx02.x263.net>
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