public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Shared NIC by Redboot and (degugged) application
@ 2008-09-04 20:28 Bronislav Gabrhelik
  2008-09-04 20:33 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Bronislav Gabrhelik @ 2008-09-04 20:28 UTC (permalink / raw)
  To: eCos discuss mailing list

I have several newbie questions.

I have a platform Olimex LPC L2294. I have successfully compiled and
installed Redboot. Is there any way to share one ethernet device by
Redboot TCP/IP stack and application TCP/IP stack? Probably not. It
seems that I will have to use serial port for debugging if application
is net based. How to deal with diag_printfs because serial port will
be dedicated to GDB in such case. Is there any common scenario.

Thanks in advance
Bronislav Gabrhelik

-- 
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] 3+ messages in thread

* Re: [ECOS] Shared NIC by Redboot and (degugged) application
  2008-09-04 20:28 [ECOS] Shared NIC by Redboot and (degugged) application Bronislav Gabrhelik
@ 2008-09-04 20:33 ` Gary Thomas
  2008-09-05 11:42   ` Sergei Gavrikov
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2008-09-04 20:33 UTC (permalink / raw)
  To: Bronislav Gabrhelik; +Cc: eCos discuss mailing list

Bronislav Gabrhelik wrote:
> I have several newbie questions.
> 
> I have a platform Olimex LPC L2294. I have successfully compiled and
> installed Redboot. Is there any way to share one ethernet device by
> Redboot TCP/IP stack and application TCP/IP stack? Probably not. It
> seems that I will have to use serial port for debugging if application
> is net based. How to deal with diag_printfs because serial port will
> be dedicated to GDB in such case. Is there any common scenario.

This should work out of the box (by design!).  Simply make sure that
RedBoot and your eCos application use different IP addresses.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
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] 3+ messages in thread

* Re: [ECOS] Shared NIC by Redboot and (degugged) application
  2008-09-04 20:33 ` Gary Thomas
@ 2008-09-05 11:42   ` Sergei Gavrikov
  0 siblings, 0 replies; 3+ messages in thread
From: Sergei Gavrikov @ 2008-09-05 11:42 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Bronislav Gabrhelik, eCos discuss mailing list

On Thu, Sep 04, 2008 at 02:33:14PM -0600, Gary Thomas wrote:
> Bronislav Gabrhelik wrote:
> >I have several newbie questions.
> >
> >I have a platform Olimex LPC L2294. I have successfully compiled and
> >installed Redboot. Is there any way to share one ethernet device by
> >Redboot TCP/IP stack and application TCP/IP stack? Probably not. It
> >seems that I will have to use serial port for debugging if application
> >is net based. How to deal with diag_printfs because serial port will
> >be dedicated to GDB in such case. Is there any common scenario.
> 
> This should work out of the box (by design!).  Simply make sure that
> RedBoot and your eCos application use different IP addresses.

Configure Redboot to do not use DHCP, set up a static IP address, and
save these settings in flash, but, in contrast, use DHCP address offers
in your net application. It works.

Sergei

-- 
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] 3+ messages in thread

end of thread, other threads:[~2008-09-05 11:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-04 20:28 [ECOS] Shared NIC by Redboot and (degugged) application Bronislav Gabrhelik
2008-09-04 20:33 ` Gary Thomas
2008-09-05 11:42   ` Sergei Gavrikov

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