public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Redboot on MPC8240
@ 2001-07-25 11:08 K Srinivas Aithal
  2001-07-25 11:18 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: K Srinivas Aithal @ 2001-07-25 11:08 UTC (permalink / raw)
  To: ecos-discuss

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.

Thanks and Regards,
K Srinivas Aithal




 

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] Redboot on MPC8240
  2001-07-25 11:08 [ECOS] Redboot on MPC8240 K Srinivas Aithal
@ 2001-07-25 11:18 ` Gary Thomas
  2001-07-25 11:24   ` K Srinivas Aithal
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2001-07-25 11:18 UTC (permalink / raw)
  To: K Srinivas Aithal; +Cc: ecos-discuss

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] Redboot on MPC8240
  2001-07-25 11:18 ` Gary Thomas
@ 2001-07-25 11:24   ` K Srinivas Aithal
  2001-08-02 10:53     ` K Srinivas Aithal
  0 siblings, 1 reply; 4+ messages in thread
From: K Srinivas Aithal @ 2001-07-25 11:24 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-discuss

Hi Gary,

Yes I'm trying to load the hello world program. I'm
using a different configuration than I used for
RedBoot.

I have compiled the application to the memory which
Redboot tells as "available". Redboot tells memory
from 0x000bc800 is available. My code is linked to
0x000c6000 and above.

Thanks and Regards,
K Srinivas Aithal

--- Gary Thomas <gthomas@redhat.com> wrote:
> 
> 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.


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] Redboot on MPC8240
  2001-07-25 11:24   ` K Srinivas Aithal
@ 2001-08-02 10:53     ` K Srinivas Aithal
  0 siblings, 0 replies; 4+ messages in thread
From: K Srinivas Aithal @ 2001-08-02 10:53 UTC (permalink / raw)
  To: ecos-discuss

Hi,

We are still struck at the same place with gdb. We are not even able to
write to any single memory location through gdb (using the set command
at gdb prompt). I hope if "set" command works the "load" could also
work. I have enabled the remotedebug; and found that when I give a set
the gdb@host console is showing me the packet details and a "NAK". What
could be the problem.  

We are not even able to download any code at RedBoot prompt. The XMODEM
protocol or the YMODEM protocol is not working for us. We have two
serial ports (one for diagnostics). I have enabled xyzMODEM-DEBUG and I
see there is CRC error. Also, it takes a lot of initial time to start
the download. I'm using "minicom" and RH6.2. I have a doubt if minicom
is using the old 8-bit checksum style XMODEM and the RedBoot is not
able understand this (as it uses the crc16 method).

How can I use the "load" command at RedBoot prompt to fill a memory
buffer right at the prompt. 

My eCos is from CVS but downloaded long back and not the recent one.
Could this be some problem.

Regards,
K Srinivas Aithal



--- K Srinivas Aithal <ksaithal_ecos@yahoo.com> wrote:
> Hi Gary,
> 
> Yes I'm trying to load the hello world program. I'm
> using a different configuration than I used for
> RedBoot.
> 
> I have compiled the application to the memory which
> Redboot tells as "available". Redboot tells memory
> from 0x000bc800 is available. My code is linked to
> 0x000c6000 and above.
> 
> Thanks and Regards,
> K Srinivas Aithal
> 
> --- Gary Thomas <gthomas@redhat.com> wrote:
> > 
> > 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.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo!
> Messenger
> http://phonecard.yahoo.com/


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-02 10:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-25 11:08 [ECOS] Redboot on MPC8240 K Srinivas Aithal
2001-07-25 11:18 ` Gary Thomas
2001-07-25 11:24   ` K Srinivas Aithal
2001-08-02 10:53     ` K Srinivas Aithal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).