Hi
I am developing a project for ethernet using RDK N9H30 development board
I have downloaded sample code from github and nuvoton website
I am using lwip sample code for ethernet development
But it is not working
So need a sample code with TCP and UDP separately
Thanks
R Sridhar
ethernet n9h30
-
- Posts: 94
- Joined: 28 Jan 2019, 13:49
FreeRTOS sample code: \N9H30_emWin_NonOS-master\SampleCode\FreeRTOS
FreeRTOS source code: \N9H30_emWin_NonOS-master\ThirdParty\FreeRTOSV9.0.0\FreeRTOS
lwIP sample code: \N9H30_emWin_NonOS-master\SampleCode\LwIP_httpd
lwIP source code: \N9H30_emWin_NonOS-master\ThirdParty\lwip-1.4.1
Other FreeRTOS samples, you can find out on FreeRTOS's Forum: https://forums.freertos.org/
Or refer to Nuvoton MCU M480 for more related sample codes: https://github.com/OpenNuvoton/M480BSP
TCP / IP or UDP: https://github.com/OpenNuvoton/M480BSP/ ... r-PFM-M487
FreeRTOS source code: \N9H30_emWin_NonOS-master\ThirdParty\FreeRTOSV9.0.0\FreeRTOS
lwIP sample code: \N9H30_emWin_NonOS-master\SampleCode\LwIP_httpd
lwIP source code: \N9H30_emWin_NonOS-master\ThirdParty\lwip-1.4.1
Other FreeRTOS samples, you can find out on FreeRTOS's Forum: https://forums.freertos.org/
Or refer to Nuvoton MCU M480 for more related sample codes: https://github.com/OpenNuvoton/M480BSP
TCP / IP or UDP: https://github.com/OpenNuvoton/M480BSP/ ... r-PFM-M487
-
- Posts: 94
- Joined: 28 Jan 2019, 13:49
Seems Nuvoton didn't provide any software stacks.
Hence, if you're not familiar with those software stacks, the learning curve and entry barrier is high.
What Nuvoton can do is porting its Ethernet driver into lwIP, because these parts are related with Nuvoton.
The sample code is okay when IP address set between PC and device, then PC's browser 192.168.0.227
Please note that if your question is about how to use lwIP, TCP / UDP, you may not get quick or clear answer here.
Hence, if you're not familiar with those software stacks, the learning curve and entry barrier is high.
What Nuvoton can do is porting its Ethernet driver into lwIP, because these parts are related with Nuvoton.
The sample code is okay when IP address set between PC and device, then PC's browser 192.168.0.227
Code: Select all
#ifdef USE_DHCP
IP4_ADDR(&gw, 0, 0, 0, 0);
IP4_ADDR(&ipaddr, 0, 0, 0, 0);
IP4_ADDR(&netmask, 0, 0, 0, 0);
#else
IP4_ADDR(&gw, 192, 168, 0, 1);
IP4_ADDR(&ipaddr, 192, 168, 0, 227);
IP4_ADDR(&netmask, 255, 255, 255, 0);
#endif
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest