This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: downloading of application in assabet
- From: "Mildred Frisco" <mildredf at asti dot dost dot gov dot ph>
- To: "'Gary Thomas'" <gthomas at ecoscentric dot com>
- Cc: "'eCos Discussion'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 24 Oct 2002 14:33:16 +0800
- Subject: RE: [ECOS] downloading of application in assabet
I tried to download test application using arm-elf-gdb
# arm-elf-gdb thread_gdb
then the graphical gdb will appear showing the source code of the test
program. i click File->Target Settings and set it to Remote/Serial, 38400,
/dev/ttyS0. then Run->Connect to Target. after sometime a message appears
'Successfully Connected'. i then try to download by Run->Download but error
message appears:
Download Status:
Downloading /ecoscvs/.../thread_gdb to Remote/Serial
You can't do that when your target is 'exec'
same thing happens when i try it with other programs in the tests directory
and also with the linked application hello.elf
please help. thank you so much.
mildred
-----Original Message-----
From: Gary Thomas [mailto:gthomas@ecoscentric.com]
Sent: Wednesday, October 23, 2002 8:53 PM
To: Mildred Frisco
Cc: 'eCos Discussion'
Subject: RE: [ECOS] downloading of application in assabet
On Tue, 2002-10-22 at 21:09, Mildred Frisco wrote:
>
> i'm using the graphical tool insight. i also tried to download some test
> programs such as thread_gdb and thread2, produced in the test build. the
> same error also appeared.
>
We need more details; exactly what commands, setups, etc, are you using
to download the code?
> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Gary Thomas
> Sent: Tuesday, October 22, 2002 8:59 PM
> To: Mildred Frisco
> Cc: eCos Discussion
> Subject: Re: [ECOS] downloading of application in assabet
>
>
> On Tue, 2002-10-22 at 03:23, Mildred Frisco wrote:
> >
> >
> > That's what I did. I used arm-elf-gcc and not gcc but i
> > still can't download. Please help.
> > Thanks.
> >
> > Mildred
> >
> > -----Original Message-----
> > From: Anders Holmberg [mailto:anders@techtribe.se]
> > Sent: Monday, October 21, 2002 6:25 PM
> > To: Mildred Frisco
> > Subject: Re: [ECOS] downloading of application in assabet
> >
> >
> > You need to compile the hello.c program with arm-elf-gcc instead of gcc.
> >
> > /Anders
> >
> > On Monday 21 October 2002 11:35, Mildred Frisco wrote:
> > > Hi ! I have finished configuration of net template in Linux using
> > > configtool. I have also compiled/linked hello.c and produced
hello.elf
> > >
> > > $ gcc -g -IBASE_DIR/ecos-work/install/include
> > > ello.c -LBASE_DIR/ecos-work/install/lib -Ttarget.ld -nostdlib -o
> > hello.elf
> > >
> > > I opened arm-elf-gdb and tried to download hello.elf to StrongARM but
> > there
> > > was an error:
> > >
> > > Download Status:
> > > Downloading /ecoscvs/.../hello.elf to Remote/Serial
> > > You can't do that when your target is 'exec'
> > >
> > >
> > > Is there something I missed before downloading to the platform ? What
> > > should be the correct format of the output code because I'm not sure
if
> I
> > > have the correct format.
> > >
>
> What command did you use to try and download the code?
> What tool are you using? GDB or Insight?
>
> --
> ------------------------------------------------------------
> 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
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
------------------------------------------------------------
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