Just found out about
http://lpcware.com/content/project/lightweight-ip-lwip-networking-stack
targeting NXP LPC parts.  You might want to consider this.  It has an
LPC EMAC based driver (lwip_lpc\nxpcommon\arch\lpc177x_8x\lpc17_emac.c).
Yes it is in the 177x_8x folder, but the EMAC block in the 1768 is the
same as the 177x and 178x parts, just at a different base address.
 
I think I had to create a login to download the code.
 
So this is a better starting point for LPC micros, but it is impossible
that it will just "work".  You will surely have to dig into it some.
 
Marty

________________________________

From: [email protected]
[mailto:[email protected]] On
Behalf Of frs709
Sent: Wednesday, July 11, 2012 8:25 AM
To: lwip-users
Subject: Re: [lwip-users] lwIP with LPC1768 and Eclipse


Thanks for all your reply. However, the suggestion you provided are
quite complicated to me since I have never worked with microcontroller
before. The funny thing is that transplanting lwIP to lpc1768 in my
project is not the most important part. So I am trying to find a very
quick way to make the TCP/IP stack working while I do not have do dig
into the low level C programming(never worked with this before). Is
there any suggestion about where should I start or where can I get some
source code.
 
PS: Even though I said I need to use Eclipse as IDE, I did try to
compile the EMAC example provided by Keil, the driving code (EMAC.c) is
aimed for CS8900 EMAC, (but the code in this file only mentioned
DP83848c). It did not work in our board. So what is the difference
between DP83848c and CS8900 "codewisely"?  
Best regards!
________________________________

Rico
From: FreeRTOS Info <mailto:[email protected]> 
Date: 2012-07-11 14:15
To: Mailing list for lwIP users <mailto:[email protected]> 
Subject: Re: [lwip-users] lwIP with LPC1768 and Eclipse
 
> On 11/07/2012 13:15, frs709 wrote:
>> Hi guys
>> I am a new guy to the world of micro controller, I am working in a
>> project which needs a TCP/IP stack in lpc1768 without OS by using
>> Eclipse and Yagarto tool chain. lwIP is a good choice for me, but I
>> have no idea where to start. I have done some pre-study and it turns
>> out lpc1768 need a bottom layer (OSI model) driver code as well (In
>> this case I use DP83848c as Ethernet PHY controller). This made me
>> even more confused. Is there anyone who can help me with this? Thanks
>> a lot!
>> Best Regards
 
See
 
http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_IO/Demo_Applications
/LPCXpresso_LPC1769/NXP_LPC1769_Demo_Description.shtml
 
It uses an OS, but you should be able to strip the drivers etc. and use
them with the standard super loop lwIP.
 
Regards,
Richard.
 
+ http://www.FreeRTOS.org
Designed for microcontrollers.  More than 7000 downloads per month.
 
+ http://www.FreeRTOS.org/trace
15 interconnected trace views. An indispensable productivity tool.
 
 
 
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to