This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: PDA REdboot - GDB file download
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Amit Tuljapurkar <amit1505 at rediffmail dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 26 Nov 2002 06:44:59 -0700
- Subject: Re: [ECOS] PDA REdboot - GDB file download
- References: <20021126123045.31128.qmail@webmail18.rediffmail.com>
On Tue, 2002-11-26 at 05:30, Amit Tuljapurkar wrote:
>
> Hello,
>
> I have installed Redboot on iPAQ PDA in its RAM. & I
> have Linux host machine runing GDB. I want to
> communicate & remote debug a sample applicaiton
> running on the PDA. I can establish remote connection
> but I could not load any file to PDA using "load".
> Following are the commands I am giving on the gdb
> console.
> 1. set debug remote 1
> 2. set remotebaud 38400
> 3. set target remote /dev/ttyS0
> 4. load
>
> Here it starts downloading the file but for few files
> it says
> "Error in accessing memory segment .interp"
> & for other files it says
> "Timed out.. Packet error.. Ignoring & continuing.."
>
> Can you please tell me how to go about this problem??
> I am using the arm-linux-gcc for compilation.
You're trying to load code into non-existent memory, or
into memory that RedBoot is using itself. Try starting up
RedBoot to a "terminal" (like minicom) and running the
"version" command. This will display the available memory
range. For example:
RAM: 0x00000000-0x00800000, 0x0002eab0-0x007ed000 available
says that this platform has 8MB, but only the RAM from 0x0002eab0
through 0x007ed000 can be used to load programs. (the rest
is in use by RedBoot itself)
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss