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]

eCos on iPaq



Hi everybody,

I've been struggling to make the simple Hello World application to execute
on the iPaq but unfortunatelly without success.

First I'm compiling the application and generation the binary file "hello"

Then I'm executing RedBoot using the Win/CE OSLoader. The input/output of
RedBoot goes to my /dev/cua0 since the serial cradle is connect to COM1.
>From this point on I've tried some variations from which I'm describing
the one I think is more correct.

>From Redboot prompt I simply type '$' and as far as I understood the GDB
stubs take over and I'm supposed to connect to the ipaq using gdb. ThenFor
this I'm issuing 'arm-elf-gbd -nw hello'. After typing 'set remotebaud
38400' and 'target remote /dev/cua0' I'm issuing the command 'load'. Here
are the messages I'm getting:

[my machine prompt]# arm-elf-gdb -nw hello
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(gdb) target remote /dev/cua0
Remote debugging using /dev/cua0
0x27628 in ?? ()
(gdb) set remotebaud 38400
(gdb) load
Start address 0x8000 , load size 0
Transfer rate: 0 bits in <1 sec.
(gdb) 

As you can see the file in not being downloaded. I honestly have no idea
why? Can someone please explain me how to execute an application other
than the 'demos' provided in the webpage.

thanks a lot in advance,
Cristiano.

------------------------------------------------------------
Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira



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