This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Interaction between redboot and eCos application
- From: Andrew Lunn <andrew at lunn dot ch>
- To: David Brennan <eCos at brennanhome dot com>
- Cc: eCos Discussion List <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 11 Nov 2004 16:50:45 +0100
- Subject: Re: [ECOS] Interaction between redboot and eCos application
- References: <419382DD.6060403@brennanhome.com>
On Thu, Nov 11, 2004 at 07:18:53AM -0800, David Brennan wrote:
> We are having a problem with out application. It is running on i386
> platform with dual 82559 Ethernet devices.
> Redboot is configured for only 1 Ethernet device. Our application is
> configured for both.
Completely wild guess without looking at the code....
Which interface is causing the problem? The first one which is shared,
or the second one which redboot probably knowns nothing about?
> We set a breakpoint in cyg_assert_fail, and get an assert "Bad sc" from
> if_i82559.c line 1955. However, the breakpoint does not fire.
Thats probably because its in the process of handing over the ethernet
device and so in a state where the stub cannot actually use the
ethernet device. Once the call to CYGACC_CALL_IF_DBG_DATA_SET() is
finished the stub should work again.
The best way to debug these sorts of problems is to use the serial
port for gdb.
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