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


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


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