This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Shared NIC by Redboot and (degugged) application
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