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: Cann't run the examples ,load and run problem


abccs@x263.net wrote:
> 
> hi,
> I use the iq80310 board.When I load the "hello" example program ,it cann't run,and have no response.
> I use win2k,cygwin ecos 1.3.net.The information is following:
> 
> $ 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.
> 
> The program is dead in this point and have no any response.

Try setting breakpoints at points near the start of the program's startup
to see if it is reached.

The 0xa00000000 addresses are correct. Don't change them to 0x0.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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