ethernet n9h30

Post Reply
sridhar
Posts: 35
Joined: 26 Aug 2019, 20:29
Location: India

08 Jan 2021, 12:53

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

9chuckyoung
Posts: 94
Joined: 28 Jan 2019, 13:49

11 Jan 2021, 14:46

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

sridhar
Posts: 35
Joined: 26 Aug 2019, 20:29
Location: India

20 Jan 2021, 14:42

hi
i don't need to changed processor because i have developed a complete project using N9H30F61IEC
so please send example code links from same processor using keil

9chuckyoung
Posts: 94
Joined: 28 Jan 2019, 13:49

05 Feb 2021, 10:11

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

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
Please note that if your question is about how to use lwIP, TCP / UDP, you may not get quick or clear answer here.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests