public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Hello please help me to run hello world for i386 without connecting hardware
@ 2001-09-02 22:04 latish sudheer
       [not found] ` <3B9310DD.A15B16AA@cisco.com>
  2001-09-04  5:28 ` Jesper Skov
  0 siblings, 2 replies; 4+ messages in thread
From: latish sudheer @ 2001-09-02 22:04 UTC (permalink / raw)
  To: ecos-discuss

Hello,
   I am very much new to ecos.I have followed the docoumentation and installed the ecos and cygwin tools and i configured for i386.

        I have generated a sample program like hello world.
 
    I have copied the make file from examples directory of ecos in to /d/cygwin/ecos/ecos-work/examples where ecos-work is my working directory.and iam having hello world application program.

ecosconfig --help //its working
ecosconfig list //its working
ecosconfig new pc//its working
ecosconfig tree //its working


I have given the command

make

it has generated the 

hello.exe and hello.o

up to this it is working fine.

when i tried like

i386-elf-gdb -b 38400 com1

i am getting some gdb source window asking me to enter target details.

I tried but its hanging.

so i tried some thing like
i386-elf-gdb -nw hello.exe
<gdb>target remote com1
iam getting
 Ignoring the packet error,continuing
 Ignoring the packet error,continuing
 Ignoring the packet error,continuing

and some thing like
malformed file to query and timed out

I am having "window nt" and i want to run with out any hardware connected.

Please tell me where i might have gone wrong.
Please help me in running my application.
with regards
sudheer





Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

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

* Re: [ECOS] Hello please help me to run hello world for i386 without connecting hardware
       [not found]   ` <3B9315DF.831B3C44@cisco.com>
@ 2001-09-02 22:33     ` Prasad Kamath Nala
  0 siblings, 0 replies; 4+ messages in thread
From: Prasad Kamath Nala @ 2001-09-02 22:33 UTC (permalink / raw)
  To: ecos-discuss

Prasad Kamath Nala wrote:

> > Hi,
> >     Actually, you are trying to download the program on to the hardware by using the command you have specified.  You cannot do this unless you have a board connected to the COM port of you
> > host.  Instead, you can use the simulator for running your app.  You can directly use the gdb for running your program.  Go through the documentation for simulators available in the
> > sources.redhat.com.  Once you have the target board you can download and run the app.
> >
> >  Hope this helps you
> >
> > regards
> > Prasad
> >
> > latish sudheer wrote:
> >
> > > Hello,
> > >    I am very much new to ecos.I have followed the docoumentation and installed the ecos and cygwin tools and i configured for i386.
> > >
> > >         I have generated a sample program like hello world.
> > >
> > >     I have copied the make file from examples directory of ecos in to /d/cygwin/ecos/ecos-work/examples where ecos-work is my working directory.and iam having hello world application program.
> > >
> > > ecosconfig --help //its working
> > > ecosconfig list //its working
> > > ecosconfig new pc//its working
> > > ecosconfig tree //its working
> > >
> > > I have given the command
> > >
> > > make
> > >
> > > it has generated the
> > >
> > > hello.exe and hello.o
> > >
> > > up to this it is working fine.
> > >
> > > when i tried like
> > >
> > > i386-elf-gdb -b 38400 com1
> > >
> > > i am getting some gdb source window asking me to enter target details.
> > >
> > > I tried but its hanging.
> > >
> > > so i tried some thing like
> > > i386-elf-gdb -nw hello.exe
> > > <gdb>target remote com1
> > > iam getting
> > >  Ignoring the packet error,continuing
> > >  Ignoring the packet error,continuing
> > >  Ignoring the packet error,continuing
> > >
> > > and some thing like
> > > malformed file to query and timed out
> > >
> > > I am having "window nt" and i want to run with out any hardware connected.
> > >
> > > Please tell me where i might have gone wrong.
> > > Please help me in running my application.
> > > with regards
> > > sudheer
> > >
> > > Get 250 color business cards for FREE!
> > > http://businesscards.lycos.com/vp/fastpath/

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

* Re: [ECOS] Hello please help me to run hello world for i386 without connecting hardware
  2001-09-02 22:04 [ECOS] Hello please help me to run hello world for i386 without connecting hardware latish sudheer
       [not found] ` <3B9310DD.A15B16AA@cisco.com>
@ 2001-09-04  5:28 ` Jesper Skov
  1 sibling, 0 replies; 4+ messages in thread
From: Jesper Skov @ 2001-09-04  5:28 UTC (permalink / raw)
  To: latish_sudheer; +Cc: ecos-discuss

>>>>> "latish" == latish sudheer <latish_sudheer@lycos.com> writes:

latish> I am having "window nt" and i want to run with out any
latish> hardware connected.

You can't for the ix86 architecture: you need either a Linux box and
use the synthetic target, or connect to a PC which boots RedBoot from
a floppy disk.

Alternatively, use a simulator target such as the PPC or AM31
ones. You'll find setup instructions on the web - but beware that
you'll need other tools.

Jesper

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

* [ECOS] Hello please help me to run hello world for i386 without connecting hardware
@ 2001-09-02 22:06 latish sudheer
  0 siblings, 0 replies; 4+ messages in thread
From: latish sudheer @ 2001-09-02 22:06 UTC (permalink / raw)
  To: ecos-discuss

Hello,
   I am very much new to ecos.I have followed the docoumentation and installed the ecos and cygwin tools and i configured for i386.

        I have generated a sample program like hello world.
 
    I have copied the make file from examples directory of ecos in to /d/cygwin/ecos/ecos-work/examples where ecos-work is my working directory.and iam having hello world application program.

ecosconfig --help //its working
ecosconfig list //its working
ecosconfig new pc//its working
ecosconfig tree //its working

make //its working
make tests //its working
I have given the command

make

it has generated the 

hello.exe and hello.o

up to this it is working fine.

when i tried like

i386-elf-gdb -b 38400 com1

i am getting some gdb source window asking me to enter target details.

I tried but its hanging.

so i tried some thing like
i386-elf-gdb -nw hello.exe
<gdb>target remote com1
iam getting
 Ignoring the packet error,continuing
 Ignoring the packet error,continuing
 Ignoring the packet error,continuing

and some thing like
malformed file to query and timed out

I am having "window nt" and i want to run with out any hardware connected.

Please tell me where i might have gone wrong.
Please help me in running my application.
with regards
sudheer





Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

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

end of thread, other threads:[~2001-09-04  5:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-02 22:04 [ECOS] Hello please help me to run hello world for i386 without connecting hardware latish sudheer
     [not found] ` <3B9310DD.A15B16AA@cisco.com>
     [not found]   ` <3B9315DF.831B3C44@cisco.com>
2001-09-02 22:33     ` Prasad Kamath Nala
2001-09-04  5:28 ` Jesper Skov
2001-09-02 22:06 latish sudheer

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).