IPv6 in LPCOpen example dc_freertos_webserver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IPv6 in LPCOpen example dc_freertos_webserver

2,057 次查看
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.

标签 (1)
0 项奖励
回复
6 回复数

1,760 次查看
sebastien_lauri
Contributor I

hello, very interesting,

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

sebbox@gmail.com

0 项奖励
回复

1,759 次查看
robsonsantos
Contributor I

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

0 项奖励
回复

1,760 次查看
abdullahshafiq
Contributor I

Hello

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

0 项奖励
回复

1,760 次查看
jeroenbussink
Contributor II

Dear Klaas,

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

Thanks.

0 项奖励
回复

1,760 次查看
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 项奖励
回复

1,760 次查看
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 项奖励
回复