新唐 NuMaker-IIoT-NUC980 – 學習透過 Ethernet 連網(3)

Selected option
Latest playlist
新唐 NuMaker-IIoT-NUC980 – 學習透過 Ethernet 連網(3)
English
Introduction

以新唐 NuMaker NUC980 IIoT 為平台,使用 Linux 進行開發,學習開發各式功能。本片示範如何啟用乙太網路連接網際網路。 哈囉大家好,我是新唐工程師 Kevin,今天為大家介紹如何在 NuMaker NUC980 IIoT 板子上透過 Ethernet 連網。 NuMaker NUC980 IIoT 板子上的 Ethernet port 位於右上角,請記得接上網路線才能連網。 在安裝 NUC980開發環境 Buildroot 的過程中,我們下 “make nuvoton_nuc980_iot_defconfig” 產生 NUC980 IoT default configuration,當中 Ethernet 相關的設定已經打開。今天我們要使用一個網路應用程式,curl,在 NUC980 IoT default configuration 中,這個選項是關起來的,所以要透過 “make menuconfig” 打開。 進入選單後,選擇 “Target packages ”,”Libraries ”,” Networking ”,把 “libcurl”和 “curl binary” 這兩個選項打開。儲存設定後離開 menuconfig。 然後再下 make 重新 compile Buildroot。 透過 NuWriter 將 Linux kernel下載到NuMaker NUC980 IIoT 板子上執行 Linux Kernel 開機完成後,輸入 “udhcpc –i eth0” 向 DHCP server 要一個 IP address。 先測試網路的狀況,輸入 “ping google.com”,可以看到網路是通的。 接下來我們要透過剛才安裝的 curl 來下載檔案,我們輸入 “curl http://os.mbed.com”,就可以下載 mbed 首頁的 html。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-nuc980-iiot 聯絡我們: SalesSupport@nuvoton.com

File
This website uses cookies to ensure you get the best experience on our website. Learn more
OK