public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] debug i386 application
@ 2004-08-24 18:19 Muna Hummady
  0 siblings, 0 replies; 14+ messages in thread
From: Muna Hummady @ 2004-08-24 18:19 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Nick Garnett, amassa

hello

I want to boot the target i386 PC with the RedBoot via
a floppy and use GDB to load application image into
the target PC from the host PC via serial line or
ethernet.

As in "Embedded s/w development with eCos" 
{it is better to use serial port for RedBoot
communicationand allow the application to use Ethernet
port execlusively} 
{RedBoot is able to share the portsit uses for
debugging and diagnostics with the eCos application}

so I'm trying to do so :
1- First, I'm trying to connect the host target (i386)
to RedBoot via serial (I have only one serial port in
my target PC) so I'm enable the following option in
the redboot.ecc 
   CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
   CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL  (both to 
      port 0)

when I'm using the Hyperterminal to load and run the
basic1 application, it is done correctly. But i
couldnt run any other example program (serial, or
twothreads),I'm load them and when I'm run them using
go it is halted and there are no response.


I could'nt load and debug any example program
following the procedure:

(gdb) set remotebaud 38400
(gdb) remote target /dev/ttyS0
(gdb) load
(gdb) continue
when doing continue the target PC is halted and there
is no response.

could you tell me what is the wrong? 

2- please could you tell me how to enable both the
ethernet and serial ports to have the communication
via  serial and loading the application via ethernet?


                             thanks
                              Muna



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-20 12:25         ` Andrew Lunn
@ 2004-09-20 18:07           ` Muna Hummady
  0 siblings, 0 replies; 14+ messages in thread
From: Muna Hummady @ 2004-09-20 18:07 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Andrew Lunn

hello
Is the PC target work with 3com card?
                             thanks
 
--- Andrew Lunn <andrew@lunn.ch> wrote:

> On Mon, Sep 20, 2004 at 04:51:31AM -0700, Muna
> Hummady wrote:
> > hello
> > Is the source code of the Realtek 8139 and
> > the AMD Lance found in eCos version 2.0? Where?
> 
> You have the sources, so why not look for them? If
> they exist, they
> will be in packages/devs/eth
> 
>         Andrew
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-20 12:18       ` Muna Hummady
@ 2004-09-20 12:25         ` Andrew Lunn
  2004-09-20 18:07           ` Muna Hummady
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Lunn @ 2004-09-20 12:25 UTC (permalink / raw)
  To: Muna Hummady; +Cc: eCos Disuss

On Mon, Sep 20, 2004 at 04:51:31AM -0700, Muna Hummady wrote:
> hello
> Is the source code of the Realtek 8139 and
> the AMD Lance found in eCos version 2.0? Where?

You have the sources, so why not look for them? If they exist, they
will be in packages/devs/eth

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-20  9:11     ` Andrew Lunn
@ 2004-09-20 12:18       ` Muna Hummady
  2004-09-20 12:25         ` Andrew Lunn
  0 siblings, 1 reply; 14+ messages in thread
From: Muna Hummady @ 2004-09-20 12:18 UTC (permalink / raw)
  To: ecos-discuss

hello
Is the source code of the Realtek 8139 and
the AMD Lance found in eCos version 2.0? Where?
                             Thanks
                             Muna
                             
--- Andrew Lunn <andrew@lunn.ch> wrote:

> On Mon, Sep 20, 2004 at 01:51:05AM -0700, Muna
> Hummady wrote:
> > Hi
> > Could you tell me if there are any other ethenet
> > drivers i could use because there is no ethernet
> cards
> > from intel in our markets. 
> > Please could you have any suggestion quickly
> because I
> > have to work the network within a week.
> >                           thanks 
> >                             Muna
> 
> There is no need to send to so many groups. 
> 
> The PC target will work with Realtek 8139, intel
> i82559 & i82544, and
> the AMD Lance.
> 
>         Andrew
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-20  9:39     ` Jonathan Larmour
@ 2004-09-20  9:46       ` Jonathan Larmour
  0 siblings, 0 replies; 14+ messages in thread
From: Jonathan Larmour @ 2004-09-20  9:46 UTC (permalink / raw)
  To: Muna Hummady; +Cc: ecos-discuss, ecos-discuss

Muna Hummady wrote:
> Hi
> Could you tell me if there are any other ethenet
> drivers i could use because there is no ethernet cards
> from intel in our markets. 

AMD LANCE PCI, and there's NE2000 compatible support around.

> Please could you have any suggestion quickly because I
> have to work the network within a week.

If you want guaranteed responses, rather than just directly mailing loads 
of people you should consider commercial support from someone.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-20  8:50   ` Muna Hummady
  2004-09-20  8:51     ` Muna Hummady
@ 2004-09-20  9:39     ` Jonathan Larmour
  2004-09-20  9:46       ` Jonathan Larmour
  1 sibling, 1 reply; 14+ messages in thread
From: Jonathan Larmour @ 2004-09-20  9:39 UTC (permalink / raw)
  To: Muna Hummady; +Cc: ecos-discuss, ecos-discuss

Muna Hummady wrote:
> Hi
> Could you tell me if there are any other ethenet
> drivers i could use because there is no ethernet cards
> from intel in our markets. 

AMD LANCE PCI, and there's NE2000 compatible support around.

> Please could you have any suggestion quickly because I
> have to work the network within a week.

If you want guaranteed responses, rather than just directly mailing loads 
of people you should consider commercial support from someone.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-20  8:53   ` Muna Hummady
  2004-09-20  8:58     ` Muna Hummady
@ 2004-09-20  9:11     ` Andrew Lunn
  2004-09-20 12:18       ` Muna Hummady
  1 sibling, 1 reply; 14+ messages in thread
From: Andrew Lunn @ 2004-09-20  9:11 UTC (permalink / raw)
  To: Muna Hummady; +Cc: ecos-discuss

On Mon, Sep 20, 2004 at 01:51:05AM -0700, Muna Hummady wrote:
> Hi
> Could you tell me if there are any other ethenet
> drivers i could use because there is no ethernet cards
> from intel in our markets. 
> Please could you have any suggestion quickly because I
> have to work the network within a week.
>                           thanks 
>                             Muna

There is no need to send to so many groups. 

The PC target will work with Realtek 8139, intel i82559 & i82544, and
the AMD Lance.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-20  8:53   ` Muna Hummady
@ 2004-09-20  8:58     ` Muna Hummady
  2004-09-20  9:11     ` Andrew Lunn
  1 sibling, 0 replies; 14+ messages in thread
From: Muna Hummady @ 2004-09-20  8:58 UTC (permalink / raw)
  To: ecos-discuss; +Cc: dpalmer, gthomas, ecos-discuss, jifl

Hi
Could you tell me if there are any other ethenet
drivers i could use because there is no ethernet cards
from intel in our markets. 
Please could you have any suggestion quickly because I
have to work the network within a week.
                          thanks 
                            Muna

--- dpalmer@tootbee.com wrote:

> Hello Muna,
> 
> You have to make sure that you are using an ethernet
> card 
> that is based on the 82559 from Intel.  This is the 
> Ethernet Pro 10/100+, some of the Ethernet Pro 100s
> and 
> 10/100s are based on the 82558/B Chipset and these
> will 
> not work correctly.
> 
> Darryl Palmer
> 
> 
> On Sat, 4 Sep 2004 02:25:25 -0700 (PDT)
>   Muna Hummady <muna_hummady@yahoo.com> wrote:
> > hello everyone
> > I'm just could connect the i386 host target to the
> > redboot target via serial. I also could debug the
> > example programs via the serial.
> > When I'm trying to establish connection between
> the
> > host and redBoot via ethernet following this
> > procedure:
> > 
> > 1- set the host ip-address to "192.168.0.2"
> > 
> > 2-  (gdb) target remote 192.168.0.10:9000
> >     a message appear:
> >        " no route to host"
> > 
> > 3- when i"m booting redboot, appear
> >   " no network card found"
> > and when I check the ip_address it appear 0.0.0.0.
> > (i have in the redboot target PC a built in
> network
> > controller and also a intel network card , the
> > connection failed with both"
> > 
> > 
> > I dont know why this happened? because I do the
> > following during building redboot.bin
> > 
> > 1- define the ip_address in the redboot.ecc as
> shown:
> > 
> >    CYGDAT_REDBOOT_DEFAULT_IP_ADDR  "192, 168, 0,
> 10"
> > 
> > 2- enable CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
> >   user-value 1
> > 
> > 
> > 
> > Did anyone have suggestion??????
> >                   thanks
> >                   Muna
> >  
> > 
> > --- Nick Garnett <nickg@ecoscentric.com> wrote:
> > 
> >> Muna Hummady <muna_hummady@yahoo.com> writes:
> >> 
> >> > hello
> >> > 
> >> > I want to boot the target i386 PC with the
> RedBoot
> >> via
> >> > a floppy and use GDB to load application image
> >> into
> >> > the target PC from the host PC via serial line
> or
> >> > ethernet.
> >> > 
> >> > As in "Embedded s/w development with eCos" 
> >> > {it is better to use serial port for RedBoot
> >> > communicationand allow the application to use
> >> Ethernet
> >> > port execlusively} 
> >> > {RedBoot is able to share the portsit uses for
> >> > debugging and diagnostics with the eCos
> >> application}
> >> > 
> >> > so I'm trying to do so :
> >> > 1- First, I'm trying to connect the host target
> >> (i386)
> >> > to RedBoot via serial (I have only one serial
> port
> >> in
> >> > my target PC) so I'm enable the following
> option
> >> in
> >> > the redboot.ecc 
> >> >    CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
> >> >    CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL 
> (both
> >> to 
> >> >       port 0)
> >> 
> >> You should not need to make any changes to the
> >> RedBoot configuration.
> >> The default should do exactly what you want. 
> >> RedBoot starts listening
> >> on all channels and only locks onto one when it
> >> detects activity.
> >> 
> >> You could also try downloading the prebuilt
> binary
> >> from the website
> >> and use that.
> >> 
> >> > 
> >> > when I'm using the Hyperterminal to load and
> run
> >> the
> >> > basic1 application, it is done correctly. But i
> >> > couldnt run any other example program (serial,
> or
> >> > twothreads),I'm load them and when I'm run them
> >> using
> >> > go it is halted and there are no response.
> >> > 
> >> > 
> >> > I could'nt load and debug any example program
> >> > following the procedure:
> >> > 
> >> > (gdb) set remotebaud 38400
> >> > (gdb) remote target /dev/ttyS0
> >> > (gdb) load
> >> > (gdb) continue
> >> > when doing continue the target PC is halted and
> >> there
> >> > is no response.
> >> > 
> >> > could you tell me what is the wrong? 
> >> 
> >> If you are using a standard RedBoot then you
> should
> >> be able to run
> >> these programs with no trouble.
> >> 
> >> As I have said before, start by running some of
> the
> >> standard kernel
> >> test programs, in particular tm_basic.
> >> 
> >> > 
> >> > 2- please could you tell me how to enable both
> the
> >> > ethernet and serial ports to have the
> >> communication
> >> > via  serial and loading the application via
> >> ethernet?
> >> 
> >> So long as you have an Intel EtherPro 100 card,
> the
> >> standard RedBoot
> >> should bring the ethernet up. There are also
> >> configurations for
> >> RealTek 8139 and Intel i8254x based cards.
> >> 
> >> -- 
> >> Nick Garnett                    eCos Kernel
> >> Architect
> >> http://www.ecoscentric.com/     The eCos and
> RedBoot
> >> experts
> >> 
> >> 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection 
> >around 
> > http://mail.yahoo.com 
> > 
> > -- 
> > Before posting, please read the FAQ: 
> >http://ecos.sourceware.org/fom/ecos
> > and search the list archive: 
> >http://ecos.sourceware.org/ml/ecos-discuss
> > 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-09 14:21 ` dpalmer
  2004-09-20  8:50   ` Muna Hummady
@ 2004-09-20  8:53   ` Muna Hummady
  2004-09-20  8:58     ` Muna Hummady
  2004-09-20  9:11     ` Andrew Lunn
  1 sibling, 2 replies; 14+ messages in thread
From: Muna Hummady @ 2004-09-20  8:53 UTC (permalink / raw)
  To: ecos-discuss; +Cc: dpalmer, gthomas, ecos-discuss, jifl

Hi
Could you tell me if there are any other ethenet
drivers i could use because there is no ethernet cards
from intel in our markets. 
Please could you have any suggestion quickly because I
have to work the network within a week.
                          thanks 
                            Muna

--- dpalmer@tootbee.com wrote:

> Hello Muna,
> 
> You have to make sure that you are using an ethernet
> card 
> that is based on the 82559 from Intel.  This is the 
> Ethernet Pro 10/100+, some of the Ethernet Pro 100s
> and 
> 10/100s are based on the 82558/B Chipset and these
> will 
> not work correctly.
> 
> Darryl Palmer
> 
> 
> On Sat, 4 Sep 2004 02:25:25 -0700 (PDT)
>   Muna Hummady <muna_hummady@yahoo.com> wrote:
> > hello everyone
> > I'm just could connect the i386 host target to the
> > redboot target via serial. I also could debug the
> > example programs via the serial.
> > When I'm trying to establish connection between
> the
> > host and redBoot via ethernet following this
> > procedure:
> > 
> > 1- set the host ip-address to "192.168.0.2"
> > 
> > 2-  (gdb) target remote 192.168.0.10:9000
> >     a message appear:
> >        " no route to host"
> > 
> > 3- when i"m booting redboot, appear
> >   " no network card found"
> > and when I check the ip_address it appear 0.0.0.0.
> > (i have in the redboot target PC a built in
> network
> > controller and also a intel network card , the
> > connection failed with both"
> > 
> > 
> > I dont know why this happened? because I do the
> > following during building redboot.bin
> > 
> > 1- define the ip_address in the redboot.ecc as
> shown:
> > 
> >    CYGDAT_REDBOOT_DEFAULT_IP_ADDR  "192, 168, 0,
> 10"
> > 
> > 2- enable CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
> >   user-value 1
> > 
> > 
> > 
> > Did anyone have suggestion??????
> >                   thanks
> >                   Muna
> >  
> > 
> > --- Nick Garnett <nickg@ecoscentric.com> wrote:
> > 
> >> Muna Hummady <muna_hummady@yahoo.com> writes:
> >> 
> >> > hello
> >> > 
> >> > I want to boot the target i386 PC with the
> RedBoot
> >> via
> >> > a floppy and use GDB to load application image
> >> into
> >> > the target PC from the host PC via serial line
> or
> >> > ethernet.
> >> > 
> >> > As in "Embedded s/w development with eCos" 
> >> > {it is better to use serial port for RedBoot
> >> > communicationand allow the application to use
> >> Ethernet
> >> > port execlusively} 
> >> > {RedBoot is able to share the portsit uses for
> >> > debugging and diagnostics with the eCos
> >> application}
> >> > 
> >> > so I'm trying to do so :
> >> > 1- First, I'm trying to connect the host target
> >> (i386)
> >> > to RedBoot via serial (I have only one serial
> port
> >> in
> >> > my target PC) so I'm enable the following
> option
> >> in
> >> > the redboot.ecc 
> >> >    CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
> >> >    CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL 
> (both
> >> to 
> >> >       port 0)
> >> 
> >> You should not need to make any changes to the
> >> RedBoot configuration.
> >> The default should do exactly what you want. 
> >> RedBoot starts listening
> >> on all channels and only locks onto one when it
> >> detects activity.
> >> 
> >> You could also try downloading the prebuilt
> binary
> >> from the website
> >> and use that.
> >> 
> >> > 
> >> > when I'm using the Hyperterminal to load and
> run
> >> the
> >> > basic1 application, it is done correctly. But i
> >> > couldnt run any other example program (serial,
> or
> >> > twothreads),I'm load them and when I'm run them
> >> using
> >> > go it is halted and there are no response.
> >> > 
> >> > 
> >> > I could'nt load and debug any example program
> >> > following the procedure:
> >> > 
> >> > (gdb) set remotebaud 38400
> >> > (gdb) remote target /dev/ttyS0
> >> > (gdb) load
> >> > (gdb) continue
> >> > when doing continue the target PC is halted and
> >> there
> >> > is no response.
> >> > 
> >> > could you tell me what is the wrong? 
> >> 
> >> If you are using a standard RedBoot then you
> should
> >> be able to run
> >> these programs with no trouble.
> >> 
> >> As I have said before, start by running some of
> the
> >> standard kernel
> >> test programs, in particular tm_basic.
> >> 
> >> > 
> >> > 2- please could you tell me how to enable both
> the
> >> > ethernet and serial ports to have the
> >> communication
> >> > via  serial and loading the application via
> >> ethernet?
> >> 
> >> So long as you have an Intel EtherPro 100 card,
> the
> >> standard RedBoot
> >> should bring the ethernet up. There are also
> >> configurations for
> >> RealTek 8139 and Intel i8254x based cards.
> >> 
> >> -- 
> >> Nick Garnett                    eCos Kernel
> >> Architect
> >> http://www.ecoscentric.com/     The eCos and
> RedBoot
> >> experts
> >> 
> >> 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection 
> >around 
> > http://mail.yahoo.com 
> > 
> > -- 
> > Before posting, please read the FAQ: 
> >http://ecos.sourceware.org/fom/ecos
> > and search the list archive: 
> >http://ecos.sourceware.org/ml/ecos-discuss
> > 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-20  8:50   ` Muna Hummady
@ 2004-09-20  8:51     ` Muna Hummady
  2004-09-20  9:39     ` Jonathan Larmour
  1 sibling, 0 replies; 14+ messages in thread
From: Muna Hummady @ 2004-09-20  8:51 UTC (permalink / raw)
  To: ecos-discuss; +Cc: dpalmer, gthomas, ecos-discuss, jifl

Hi
Could you tell me if there are any other ethenet
drivers i could use because there is no ethernet cards
from intel in our markets. 
Please could you have any suggestion quickly because I
have to work the network within a week.
                          thanks 
                            Muna

--- dpalmer@tootbee.com wrote:

> Hello Muna,
> 
> You have to make sure that you are using an ethernet
> card 
> that is based on the 82559 from Intel.  This is the 
> Ethernet Pro 10/100+, some of the Ethernet Pro 100s
> and 
> 10/100s are based on the 82558/B Chipset and these
> will 
> not work correctly.
> 
> Darryl Palmer
> 
> 
> On Sat, 4 Sep 2004 02:25:25 -0700 (PDT)
>   Muna Hummady <muna_hummady@yahoo.com> wrote:
> > hello everyone
> > I'm just could connect the i386 host target to the
> > redboot target via serial. I also could debug the
> > example programs via the serial.
> > When I'm trying to establish connection between
> the
> > host and redBoot via ethernet following this
> > procedure:
> > 
> > 1- set the host ip-address to "192.168.0.2"
> > 
> > 2-  (gdb) target remote 192.168.0.10:9000
> >     a message appear:
> >        " no route to host"
> > 
> > 3- when i"m booting redboot, appear
> >   " no network card found"
> > and when I check the ip_address it appear 0.0.0.0.
> > (i have in the redboot target PC a built in
> network
> > controller and also a intel network card , the
> > connection failed with both"
> > 
> > 
> > I dont know why this happened? because I do the
> > following during building redboot.bin
> > 
> > 1- define the ip_address in the redboot.ecc as
> shown:
> > 
> >    CYGDAT_REDBOOT_DEFAULT_IP_ADDR  "192, 168, 0,
> 10"
> > 
> > 2- enable CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
> >   user-value 1
> > 
> > 
> > 
> > Did anyone have suggestion??????
> >                   thanks
> >                   Muna
> >  
> > 
> > --- Nick Garnett <nickg@ecoscentric.com> wrote:
> > 
> >> Muna Hummady <muna_hummady@yahoo.com> writes:
> >> 
> >> > hello
> >> > 
> >> > I want to boot the target i386 PC with the
> RedBoot
> >> via
> >> > a floppy and use GDB to load application image
> >> into
> >> > the target PC from the host PC via serial line
> or
> >> > ethernet.
> >> > 
> >> > As in "Embedded s/w development with eCos" 
> >> > {it is better to use serial port for RedBoot
> >> > communicationand allow the application to use
> >> Ethernet
> >> > port execlusively} 
> >> > {RedBoot is able to share the portsit uses for
> >> > debugging and diagnostics with the eCos
> >> application}
> >> > 
> >> > so I'm trying to do so :
> >> > 1- First, I'm trying to connect the host target
> >> (i386)
> >> > to RedBoot via serial (I have only one serial
> port
> >> in
> >> > my target PC) so I'm enable the following
> option
> >> in
> >> > the redboot.ecc 
> >> >    CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
> >> >    CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL 
> (both
> >> to 
> >> >       port 0)
> >> 
> >> You should not need to make any changes to the
> >> RedBoot configuration.
> >> The default should do exactly what you want. 
> >> RedBoot starts listening
> >> on all channels and only locks onto one when it
> >> detects activity.
> >> 
> >> You could also try downloading the prebuilt
> binary
> >> from the website
> >> and use that.
> >> 
> >> > 
> >> > when I'm using the Hyperterminal to load and
> run
> >> the
> >> > basic1 application, it is done correctly. But i
> >> > couldnt run any other example program (serial,
> or
> >> > twothreads),I'm load them and when I'm run them
> >> using
> >> > go it is halted and there are no response.
> >> > 
> >> > 
> >> > I could'nt load and debug any example program
> >> > following the procedure:
> >> > 
> >> > (gdb) set remotebaud 38400
> >> > (gdb) remote target /dev/ttyS0
> >> > (gdb) load
> >> > (gdb) continue
> >> > when doing continue the target PC is halted and
> >> there
> >> > is no response.
> >> > 
> >> > could you tell me what is the wrong? 
> >> 
> >> If you are using a standard RedBoot then you
> should
> >> be able to run
> >> these programs with no trouble.
> >> 
> >> As I have said before, start by running some of
> the
> >> standard kernel
> >> test programs, in particular tm_basic.
> >> 
> >> > 
> >> > 2- please could you tell me how to enable both
> the
> >> > ethernet and serial ports to have the
> >> communication
> >> > via  serial and loading the application via
> >> ethernet?
> >> 
> >> So long as you have an Intel EtherPro 100 card,
> the
> >> standard RedBoot
> >> should bring the ethernet up. There are also
> >> configurations for
> >> RealTek 8139 and Intel i8254x based cards.
> >> 
> >> -- 
> >> Nick Garnett                    eCos Kernel
> >> Architect
> >> http://www.ecoscentric.com/     The eCos and
> RedBoot
> >> experts
> >> 
> >> 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection 
> >around 
> > http://mail.yahoo.com 
> > 
> > -- 
> > Before posting, please read the FAQ: 
> >http://ecos.sourceware.org/fom/ecos
> > and search the list archive: 
> >http://ecos.sourceware.org/ml/ecos-discuss
> > 
> 
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-09 14:21 ` dpalmer
@ 2004-09-20  8:50   ` Muna Hummady
  2004-09-20  8:51     ` Muna Hummady
  2004-09-20  9:39     ` Jonathan Larmour
  2004-09-20  8:53   ` Muna Hummady
  1 sibling, 2 replies; 14+ messages in thread
From: Muna Hummady @ 2004-09-20  8:50 UTC (permalink / raw)
  To: ecos-discuss; +Cc: dpalmer, gthomas, ecos-discuss, jifl

Hi
Could you tell me if there are any other ethenet
drivers i could use because there is no ethernet cards
from intel in our markets. 
Please could you have any suggestion quickly because I
have to work the network within a week.
                          thanks 
                            Muna

--- dpalmer@tootbee.com wrote:

> Hello Muna,
> 
> You have to make sure that you are using an ethernet
> card 
> that is based on the 82559 from Intel.  This is the 
> Ethernet Pro 10/100+, some of the Ethernet Pro 100s
> and 
> 10/100s are based on the 82558/B Chipset and these
> will 
> not work correctly.
> 
> Darryl Palmer
> 
> 
> On Sat, 4 Sep 2004 02:25:25 -0700 (PDT)
>   Muna Hummady <muna_hummady@yahoo.com> wrote:
> > hello everyone
> > I'm just could connect the i386 host target to the
> > redboot target via serial. I also could debug the
> > example programs via the serial.
> > When I'm trying to establish connection between
> the
> > host and redBoot via ethernet following this
> > procedure:
> > 
> > 1- set the host ip-address to "192.168.0.2"
> > 
> > 2-  (gdb) target remote 192.168.0.10:9000
> >     a message appear:
> >        " no route to host"
> > 
> > 3- when i"m booting redboot, appear
> >   " no network card found"
> > and when I check the ip_address it appear 0.0.0.0.
> > (i have in the redboot target PC a built in
> network
> > controller and also a intel network card , the
> > connection failed with both"
> > 
> > 
> > I dont know why this happened? because I do the
> > following during building redboot.bin
> > 
> > 1- define the ip_address in the redboot.ecc as
> shown:
> > 
> >    CYGDAT_REDBOOT_DEFAULT_IP_ADDR  "192, 168, 0,
> 10"
> > 
> > 2- enable CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
> >   user-value 1
> > 
> > 
> > 
> > Did anyone have suggestion??????
> >                   thanks
> >                   Muna
> >  
> > 
> > --- Nick Garnett <nickg@ecoscentric.com> wrote:
> > 
> >> Muna Hummady <muna_hummady@yahoo.com> writes:
> >> 
> >> > hello
> >> > 
> >> > I want to boot the target i386 PC with the
> RedBoot
> >> via
> >> > a floppy and use GDB to load application image
> >> into
> >> > the target PC from the host PC via serial line
> or
> >> > ethernet.
> >> > 
> >> > As in "Embedded s/w development with eCos" 
> >> > {it is better to use serial port for RedBoot
> >> > communicationand allow the application to use
> >> Ethernet
> >> > port execlusively} 
> >> > {RedBoot is able to share the portsit uses for
> >> > debugging and diagnostics with the eCos
> >> application}
> >> > 
> >> > so I'm trying to do so :
> >> > 1- First, I'm trying to connect the host target
> >> (i386)
> >> > to RedBoot via serial (I have only one serial
> port
> >> in
> >> > my target PC) so I'm enable the following
> option
> >> in
> >> > the redboot.ecc 
> >> >    CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
> >> >    CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL 
> (both
> >> to 
> >> >       port 0)
> >> 
> >> You should not need to make any changes to the
> >> RedBoot configuration.
> >> The default should do exactly what you want. 
> >> RedBoot starts listening
> >> on all channels and only locks onto one when it
> >> detects activity.
> >> 
> >> You could also try downloading the prebuilt
> binary
> >> from the website
> >> and use that.
> >> 
> >> > 
> >> > when I'm using the Hyperterminal to load and
> run
> >> the
> >> > basic1 application, it is done correctly. But i
> >> > couldnt run any other example program (serial,
> or
> >> > twothreads),I'm load them and when I'm run them
> >> using
> >> > go it is halted and there are no response.
> >> > 
> >> > 
> >> > I could'nt load and debug any example program
> >> > following the procedure:
> >> > 
> >> > (gdb) set remotebaud 38400
> >> > (gdb) remote target /dev/ttyS0
> >> > (gdb) load
> >> > (gdb) continue
> >> > when doing continue the target PC is halted and
> >> there
> >> > is no response.
> >> > 
> >> > could you tell me what is the wrong? 
> >> 
> >> If you are using a standard RedBoot then you
> should
> >> be able to run
> >> these programs with no trouble.
> >> 
> >> As I have said before, start by running some of
> the
> >> standard kernel
> >> test programs, in particular tm_basic.
> >> 
> >> > 
> >> > 2- please could you tell me how to enable both
> the
> >> > ethernet and serial ports to have the
> >> communication
> >> > via  serial and loading the application via
> >> ethernet?
> >> 
> >> So long as you have an Intel EtherPro 100 card,
> the
> >> standard RedBoot
> >> should bring the ethernet up. There are also
> >> configurations for
> >> RealTek 8139 and Intel i8254x based cards.
> >> 
> >> -- 
> >> Nick Garnett                    eCos Kernel
> >> Architect
> >> http://www.ecoscentric.com/     The eCos and
> RedBoot
> >> experts
> >> 
> >> 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection 
> >around 
> > http://mail.yahoo.com 
> > 
> > -- 
> > Before posting, please read the FAQ: 
> >http://ecos.sourceware.org/fom/ecos
> > and search the list archive: 
> >http://ecos.sourceware.org/ml/ecos-discuss
> > 
> 
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-09-04  9:25 Muna Hummady
@ 2004-09-09 14:21 ` dpalmer
  2004-09-20  8:50   ` Muna Hummady
  2004-09-20  8:53   ` Muna Hummady
  0 siblings, 2 replies; 14+ messages in thread
From: dpalmer @ 2004-09-09 14:21 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Muna Hummady

Hello Muna,

You have to make sure that you are using an ethernet card 
that is based on the 82559 from Intel.  This is the 
Ethernet Pro 10/100+, some of the Ethernet Pro 100s and 
10/100s are based on the 82558/B Chipset and these will 
not work correctly.

Darryl Palmer


On Sat, 4 Sep 2004 02:25:25 -0700 (PDT)
  Muna Hummady <muna_hummady@yahoo.com> wrote:
> hello everyone
> I'm just could connect the i386 host target to the
> redboot target via serial. I also could debug the
> example programs via the serial.
> When I'm trying to establish connection between the
> host and redBoot via ethernet following this
> procedure:
> 
> 1- set the host ip-address to "192.168.0.2"
> 
> 2-  (gdb) target remote 192.168.0.10:9000
>     a message appear:
>        " no route to host"
> 
> 3- when i"m booting redboot, appear
>   " no network card found"
> and when I check the ip_address it appear 0.0.0.0.
> (i have in the redboot target PC a built in network
> controller and also a intel network card , the
> connection failed with both"
> 
> 
> I dont know why this happened? because I do the
> following during building redboot.bin
> 
> 1- define the ip_address in the redboot.ecc as shown:
> 
>    CYGDAT_REDBOOT_DEFAULT_IP_ADDR  "192, 168, 0, 10"
> 
> 2- enable CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
>   user-value 1
> 
> 
> 
> Did anyone have suggestion??????
>                   thanks
>                   Muna
>  
> 
> --- Nick Garnett <nickg@ecoscentric.com> wrote:
> 
>> Muna Hummady <muna_hummady@yahoo.com> writes:
>> 
>> > hello
>> > 
>> > I want to boot the target i386 PC with the RedBoot
>> via
>> > a floppy and use GDB to load application image
>> into
>> > the target PC from the host PC via serial line or
>> > ethernet.
>> > 
>> > As in "Embedded s/w development with eCos" 
>> > {it is better to use serial port for RedBoot
>> > communicationand allow the application to use
>> Ethernet
>> > port execlusively} 
>> > {RedBoot is able to share the portsit uses for
>> > debugging and diagnostics with the eCos
>> application}
>> > 
>> > so I'm trying to do so :
>> > 1- First, I'm trying to connect the host target
>> (i386)
>> > to RedBoot via serial (I have only one serial port
>> in
>> > my target PC) so I'm enable the following option
>> in
>> > the redboot.ecc 
>> >    CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
>> >    CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL  (both
>> to 
>> >       port 0)
>> 
>> You should not need to make any changes to the
>> RedBoot configuration.
>> The default should do exactly what you want. 
>> RedBoot starts listening
>> on all channels and only locks onto one when it
>> detects activity.
>> 
>> You could also try downloading the prebuilt binary
>> from the website
>> and use that.
>> 
>> > 
>> > when I'm using the Hyperterminal to load and run
>> the
>> > basic1 application, it is done correctly. But i
>> > couldnt run any other example program (serial, or
>> > twothreads),I'm load them and when I'm run them
>> using
>> > go it is halted and there are no response.
>> > 
>> > 
>> > I could'nt load and debug any example program
>> > following the procedure:
>> > 
>> > (gdb) set remotebaud 38400
>> > (gdb) remote target /dev/ttyS0
>> > (gdb) load
>> > (gdb) continue
>> > when doing continue the target PC is halted and
>> there
>> > is no response.
>> > 
>> > could you tell me what is the wrong? 
>> 
>> If you are using a standard RedBoot then you should
>> be able to run
>> these programs with no trouble.
>> 
>> As I have said before, start by running some of the
>> standard kernel
>> test programs, in particular tm_basic.
>> 
>> > 
>> > 2- please could you tell me how to enable both the
>> > ethernet and serial ports to have the
>> communication
>> > via  serial and loading the application via
>> ethernet?
>> 
>> So long as you have an Intel EtherPro 100 card, the
>> standard RedBoot
>> should bring the ethernet up. There are also
>> configurations for
>> RealTek 8139 and Intel i8254x based cards.
>> 
>> -- 
>> Nick Garnett                    eCos Kernel
>> Architect
>> http://www.ecoscentric.com/     The eCos and RedBoot
>> experts
>> 
>> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection 
>around 
> http://mail.yahoo.com 
> 
> -- 
> Before posting, please read the FAQ: 
>http://ecos.sourceware.org/fom/ecos
> and search the list archive: 
>http://ecos.sourceware.org/ml/ecos-discuss
> 


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] debug i386 application
  2004-08-26  8:43 Muna Hummady
@ 2004-08-26  8:57 ` Nick Garnett
  0 siblings, 0 replies; 14+ messages in thread
From: Nick Garnett @ 2004-08-26  8:57 UTC (permalink / raw)
  To: Muna Hummady; +Cc: ecos-discuss, amassa

Muna Hummady <muna_hummady@yahoo.com> writes:

> hello
> 
> I want to boot the target i386 PC with the RedBoot via
> a floppy and use GDB to load application image into
> the target PC from the host PC via serial line or
> ethernet.
> 
> As in "Embedded s/w development with eCos" 
> {it is better to use serial port for RedBoot
> communicationand allow the application to use Ethernet
> port execlusively} 
> {RedBoot is able to share the portsit uses for
> debugging and diagnostics with the eCos application}
> 
> so I'm trying to do so :
> 1- First, I'm trying to connect the host target (i386)
> to RedBoot via serial (I have only one serial port in
> my target PC) so I'm enable the following option in
> the redboot.ecc 
>    CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
>    CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL  (both to 
>       port 0)

You should not need to make any changes to the RedBoot configuration.
The default should do exactly what you want.  RedBoot starts listening
on all channels and only locks onto one when it detects activity.

You could also try downloading the prebuilt binary from the website
and use that.

> 
> when I'm using the Hyperterminal to load and run the
> basic1 application, it is done correctly. But i
> couldnt run any other example program (serial, or
> twothreads),I'm load them and when I'm run them using
> go it is halted and there are no response.
> 
> 
> I could'nt load and debug any example program
> following the procedure:
> 
> (gdb) set remotebaud 38400
> (gdb) remote target /dev/ttyS0
> (gdb) load
> (gdb) continue
> when doing continue the target PC is halted and there
> is no response.
> 
> could you tell me what is the wrong? 

If you are using a standard RedBoot then you should be able to run
these programs with no trouble.

As I have said before, start by running some of the standard kernel
test programs, in particular tm_basic.

> 
> 2- please could you tell me how to enable both the
> ethernet and serial ports to have the communication
> via  serial and loading the application via ethernet?

So long as you have an Intel EtherPro 100 card, the standard RedBoot
should bring the ethernet up. There are also configurations for
RealTek 8139 and Intel i8254x based cards.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* [ECOS] debug i386 application
@ 2004-08-26  8:43 Muna Hummady
  2004-08-26  8:57 ` Nick Garnett
  0 siblings, 1 reply; 14+ messages in thread
From: Muna Hummady @ 2004-08-26  8:43 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Nick Garnett, amassa

hello

I want to boot the target i386 PC with the RedBoot via
a floppy and use GDB to load application image into
the target PC from the host PC via serial line or
ethernet.

As in "Embedded s/w development with eCos" 
{it is better to use serial port for RedBoot
communicationand allow the application to use Ethernet
port execlusively} 
{RedBoot is able to share the portsit uses for
debugging and diagnostics with the eCos application}

so I'm trying to do so :
1- First, I'm trying to connect the host target (i386)
to RedBoot via serial (I have only one serial port in
my target PC) so I'm enable the following option in
the redboot.ecc 
   CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
   CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL  (both to 
      port 0)

when I'm using the Hyperterminal to load and run the
basic1 application, it is done correctly. But i
couldnt run any other example program (serial, or
twothreads),I'm load them and when I'm run them using
go it is halted and there are no response.


I could'nt load and debug any example program
following the procedure:

(gdb) set remotebaud 38400
(gdb) remote target /dev/ttyS0
(gdb) load
(gdb) continue
when doing continue the target PC is halted and there
is no response.

could you tell me what is the wrong? 

2- please could you tell me how to enable both the
ethernet and serial ports to have the communication
via  serial and loading the application via ethernet?


please could anyone help me!!!!
                             thanks
                              Muna


		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2004-09-20 17:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-24 18:19 [ECOS] debug i386 application Muna Hummady
2004-08-26  8:43 Muna Hummady
2004-08-26  8:57 ` Nick Garnett
2004-09-04  9:25 Muna Hummady
2004-09-09 14:21 ` dpalmer
2004-09-20  8:50   ` Muna Hummady
2004-09-20  8:51     ` Muna Hummady
2004-09-20  9:39     ` Jonathan Larmour
2004-09-20  9:46       ` Jonathan Larmour
2004-09-20  8:53   ` Muna Hummady
2004-09-20  8:58     ` Muna Hummady
2004-09-20  9:11     ` Andrew Lunn
2004-09-20 12:18       ` Muna Hummady
2004-09-20 12:25         ` Andrew Lunn
2004-09-20 18:07           ` Muna Hummady

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