[lwip-users] Microchip ENC28J60 port?

371 views
Skip to first unread message

Andy Hewitson

unread,
Feb 15, 2009, 5:52:43 PM2/15/09
to lwip-...@nongnu.org

Hi,

 

I’ve settled on lwIP for the TCP/IP stack for an embedded project based on M32C87 (32 bit version of the popular M16C family by Renesas), using the uc/OS (by Micrium) real time kernel.  I have located an lwIP port for uc/OS.

 

I’m now searching for an lwIP device driver for the ENC28J60 Ethernet controller from Microchip.  Does such a thing exist?  I have seen posts of the same interest in archived mail, but nothing conclusive.

 

Thanks in advance

Andy Hewitson

Leon Woestenberg

unread,
Feb 16, 2009, 5:32:04 PM2/16/09
to andy.h...@gmail.com, Mailing list for lwIP users
Hello Andy,

On Sun, Feb 15, 2009 at 11:52 PM, Andy Hewitson <andy.h...@gmail.com> wrote:
>
> I'm now searching for an lwIP device driver for the ENC28J60 Ethernet
> controller from Microchip. Does such a thing exist? I have seen posts of
> the same interest in archived mail, but nothing conclusive.
>

I have bought one of these:

http://www.olimex.com/dev/enc28j60-h.html

and am planning to write a device driver for it, on a STM32 (ARM Cortex).

I first need to wire it up and get some time. :-)

Regards,
--
Leon


_______________________________________________
lwip-users mailing list
lwip-...@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Leon Woestenberg

unread,
Mar 8, 2009, 7:22:04 AM3/8/09
to andy.h...@gmail.com, Mailing list for lwIP users
Hello,

On Mon, Feb 16, 2009 at 11:32 PM, Leon Woestenberg
<leon.woe...@gmail.com> wrote:
> On Sun, Feb 15, 2009 at 11:52 PM, Andy Hewitson <andy.h...@gmail.com> wrote:
>>
>> I'm now searching for an lwIP device driver for the ENC28J60 Ethernet
>> controller from Microchip.  Does such a thing exist?  I have seen posts of
>> the same interest in archived mail, but nothing conclusive.
>>
> I have bought one of these:
>
> http://www.olimex.com/dev/enc28j60-h.html
>
> and am planning to write a device driver for it, on a STM32 (ARM Cortex).
>
> I first need to wire it up and get some time. :-)
>

The low-level code which can transmit packets is now complete.
Next up is the device driver for lwIP now, against CVS HEAD.

I will not release until it is working, unless people want to test along.

YAP

unread,
Mar 9, 2009, 2:47:52 AM3/9/09
to andy.h...@gmail.com, Mailing list for lwIP users
On Sun, Feb 15, 2009 at 11:52 PM, Andy Hewitson <andy.h...@gmail.com> wrote:

Hi,

I have done that for the PIC32. It's a mod of the Microchip provided
driver for lwIP 1.3 and FreeRTOS. It's available in the svn
respository for VSCP (http://www.vscp.-org/download (m2m
firmware/pic/sweetbox) and also at the pic32 site
http://mypic32.com/web/guest/contestantsprofiles?profileID=43308

Cheers
/Ake

--
---
Ake Hedman
eurosource, http://www.eurosource.se

Leon Woestenberg

unread,
Mar 10, 2009, 5:43:25 PM3/10/09
to Mailing list for lwIP users, andy.h...@gmail.com
Hello,

On Mon, Mar 9, 2009 at 7:47 AM, YAP <x11...@gmail.com> wrote:
> On Sun, Feb 15, 2009 at 11:52 PM, Andy Hewitson <andy.h...@gmail.com> wrote:
>>
>> I’m now searching for an lwIP device driver for the ENC28J60 Ethernet
>> controller from Microchip.  Does such a thing exist?  I have seen posts of
>> the same interest in archived mail, but nothing conclusive.
>>

> I have done that for the PIC32. It's a mod of the Microchip provided
> driver for lwIP 1.3 and FreeRTOS. It's available in the svn
> respository for VSCP (http://www.vscp.-org/download (m2m
> firmware/pic/sweetbox) and also at the pic32 site
> http://mypic32.com/web/guest/contestantsprofiles?profileID=43308
>

Thanks, that code looks pretty complete. I hadn't gotten to all the
errata yet, sigh... :-/

For quick reference, I was looking at your driver here:

http://m2m.svn.sourceforge.net/viewvc/m2m/trunk/firmware/pic/sweetbox/project/enc28j60drv/enc28j60.c?revision=275&view=markup

I'll continue to work on my driver, as I want to multi-thread it
eventually, removing all busy-waits, so I need to understand what
happens.

Regards,
--
Leon

Reply all
Reply to author
Forward
0 new messages