From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 472 invoked by alias); 26 Oct 2009 11:46:33 -0000 Received: (qmail 459 invoked by uid 22791); 26 Oct 2009 11:46:32 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Oct 2009 11:46:23 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id AF6082F7800C; Mon, 26 Oct 2009 11:46:21 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MhhOVsSXDlJd; Mon, 26 Oct 2009 11:46:16 +0000 (GMT) Message-ID: <4AE58C05.9000305@ecoscentric.com> Date: Mon, 26 Oct 2009 11:46:00 -0000 From: Alex Schuilenburg User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Ilija Stanislevik CC: ecos-devel@ecos.sourceware.org Subject: Re: Ethernet over SPI driver for ENC424J600 References: <4AE546ED.3000303@siva.com.mk> <4AE56642.20201@dallaway.org.uk> In-Reply-To: <4AE56642.20201@dallaway.org.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-10/txt/msg00054.txt.bz2 Hi Ilija John Dallaway wrote on 2009-10-26 09:05: > Hi Ilija > > Ilija Stanislevik wrote: > > >> Dear fellows, >> >> I use this opportunity to announce our development project. It is a >> driver for Microchip's ENC424J600 Ethernet controller. >> >> My company's goal is to obtain a low level Ethernet driver which will >> use standard SPI support to communicate with the Ethernet chip. The >> development is underway on STM3210E-EVAL board. We will be glad if we >> succeed to make it independent from platform and SPI hardware. >> >> Further, we plan to contribute the result of this development, as >> proposed in http://ecos.sourceware.org/contrib.html. Please advise us on >> the next step in this direction. >> > > This is great news. Thank you for letting the eCos community know of > your plans at an early stage. > > This driver could be useful for many eCos developers who need to add > ethernet to an existing hardware design. I note that Microchip offers a > daughter board which includes the (similar) ENC624J600 and should make > it easy for others to start experimenting with these parts: > > http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en543132 > > Are you intending to use lwIP or the FreeBSD TCP/IP stack in your > project? Regardless, I would encourage you to verify correct operation > with Simon Kallweit's port of lwIP 1.3.1: > > http://download.westlicht.ch/ > > lwIP is a good fit for eCos and I hope lwIP 1.3.1 will be integrated in > eCos CVS soon. > I think it is fair to advise you of the risks involved in using the newer lwIP 1.3.1 stack and of more stable options available to you when developing new code for eCos. Since you are developing a new device driver, I suggest you initially stick with the FreeBSD port (and optionally older lwIP port) which are known to work reliably, rather than do your initial development on the newer lwIP port which is still undergoing testing. That way at least you will ensure you are debugging your own code initially, rather than also somebody else's. Once you are happy with the stability of the your device driver, please also test it against Simon's lwIP 1.3.1 port as well since it obviously needs testers and it will most likely replace the older lwIP stack. Please note that I am not suggesting that Simon's 1.3.1 port is unstable or broken in any way, just that it is still relatively new and unknown and that you ought to be aware of this when choosing which tcpip stack to initially test your driver against. Thanks for your notice and we look forward to seeing your contribution soon. -- Alex Schuilenburg Managing Director/CEO eCosCentric Limited www.ecoscentric.com