This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Redboot on MPC8240
- To: K Srinivas Aithal <ksaithal_ecos at yahoo dot com>
- Subject: RE: [ECOS] Redboot on MPC8240
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Wed, 25 Jul 2001 12:18:00 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 25-Jul-2001 K Srinivas Aithal wrote:
> Hi,
>
> We have brought up the RedBoot prompt on the MPC8240
> target. Its
> a nice one. Thanks for the eCos. The tool "ecosconfig"
> is really
> a good one.
>
> We are not able to use the gdb.
>
> I get the following errors when I to use the "load"
> command at the
> gdb prompt:-
> "Ignoring packet error, continuing..."
> After trying to give a Ctrl^c now at the gdb I will
> get
> "Reply contains invalid hex digit 107"
>
> I have done the following:-
> 1.I'm using the powerpc-eabi-gdb as "powerpc-eabi-gdb
> -nw a.out"
> 2.I get the gdb prompt
> 3.I have NOT changed the baudrate to 38400 at gdb
> 4.I have connected to the target using the serial
> port. I get the
> following message when I connect "0xa4d30 in ??()".
> I didnot
> understand this much.
> 5.When I trigger the command "load" at the gdb prompt,
> it shows the
> start and the size of my text segment properly.
>
> Can someone help me out to get me the gdb working.
I assume that you're trying to load an eCos application, correct?
Are you using a different configuration than what you used to build
RedBoot?
The most common error that can cause this type of behaviour is
using GDB to actually load code onto memory that GDB &/or RedBoot use.
If you provide a little more [detailed] information about your setup
we may be able to help.