IPv6 in LPCOpen example dc_freertos_webserver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IPv6 in LPCOpen example dc_freertos_webserver

1,295 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kmdewaal on Fri Jul 31 03:21:40 MST 2015
Hi all,

For a research project I needed IPv6 support on an LPC43xx board.
I could not find an IPv6 example application anywhere so I have now modified modified the LPCOpen example application dc_freertos_webserver.
This example application, as found on the LPCOpen server, has an old LWIP stack that supports only IPv4.
However, the latest LWIP from the git repository at http://savannah.nongnu.org/projects/lwip does have IPv6 support!

I have simply replaced the old LWIP with the latest LWIP and have now a working example with IPv6.
To make this work, I have made changes to the "glue layer" file lpc18xx_43xx_emac.c and to the application itself.
If this is useful for somebody I can make a zip file of the application and email it.

Kind regards,
Klaas.

Labels (1)
0 Kudos
Reply
6 Replies

998 Views
sebastien_lauri
Contributor I

hello, very interesting,

could you send me the changes you made to get IPv6 working ?

sebbox@gmail.com

0 Kudos
Reply

997 Views
robsonsantos
Contributor I

hello, please, send me this solution at robson_net@live.com

0 Kudos
Reply

998 Views
abdullahshafiq
Contributor I

Hello

         It will really help me out !! . Please email me at abdullah.shafiq@tspirits.com

0 Kudos
Reply

998 Views
jeroenbussink
Contributor II

Dear Klaas,

Could you send me the changes you made to get IPv6 working.

Thanks.

0 Kudos
Reply

998 Views
jeroenbussink
Contributor II

I got IPv6 working with the following changes:

In lpc 18xx_43xx_emac.c

add LPC_ETHERNET->MAC_FRAME_FILTER |= MAC_FF_PM;

You need to be able to receive mulitcast packages for ipv6 Neighbor Solicitation.

and 

add add this case "case ETHTYPE_IPV6:" to the switch in lpc_enetif_input.

0 Kudos
Reply

998 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by matiaspecchia on Fri May 13 22:17:13 MST 2016
hi!,
This would be useful for me! May I receive the a zip  file with the code/changes?

Thanks!
0 Kudos
Reply