搜尋

已選項目

搜尋結果

搜尋Linux , 共找到 21 筆
  • 排序
  • 依時間
  • 依熱門度
創新產品  工具  學習  影片長度 - 7:51
影片中介紹新唐科技 MPU N9H30 Linux 與 Non-OS 開發環境建置,以 NuMaker-emWin-RDK-N9H30 為範例,由開發板介紹開始,到BSP與相關軟體下載。 - 新唐科技提供 emWin 開發平台其採用新唐的 N9H30 微處理器系列,此為一套完整的人機顯示介面解決平台,支援最高解析度為 1024 x 768 像素顯示器,因 N9H30 系列採用 ARM926EJ-S 為內核,運行速度達 300 MHz,最高可驅動彩色 1024 x 768 像素並行端口(Parallel Port),內建 TFT LCD 控制器與 2D 圖形加速器,該系列內建最高達 64 MB DDRII SDRAM 記憶體,讓開發者在使用 emWin 軟體時,具備設計彈性。 以下將帶給各位如何將 Linux OS 與 Non-OS code 燒錄至開發板,以 NuMaker-emWin-RDK-N9H30 做示範,這部影片中所有指令與網址都會放在下方影片內容給大家參考,User Manual 相關文件都放在新唐官方網站 https://www.nuvoton.com/products/gui-solution/gui-reference-design/numaker-emwin-rdk-n9h30/ 我們先示範將 Linux OS 建置到 N9H30 開發板,到新唐的 Github 網站 OpenNuvoton 找尋我們所使用的開發板 N9H30 並下載新唐提供的 VMware 映像 https://github.com/OpenNuvoton/MPU-Family VMware 主程式則需要到該公司的官方網站下載: https://www.vmware.com/tw/products/workstation-player/workstation-player-evaluation.html 首先我們開啟 VMware 主程式,找尋我們剛剛下載的 ubuntu_NUC970_980_Linux 資料夾,點選 Ubuntu 64-bit_nuvoton.vmx,點選 Play virtual machine,密碼請輸入 user,第一次打開會需要一點時間,開機完成後打開 Terminal,再來進入 NUC970_Buildroot-master 資料夾 進入資料夾後,我們先更新 Buildroot 工具,輸入以下指令: git reset --hard git pull 更新完成後,進入 dl 資料夾,先將既有的 Linux kernel 與 u-boot 刪除,輸入以下指令: sudo rm -rf linux-master.tar.gz uboot-master.tar.gz 輸入完後,輸入密碼 user 輸入完成後,離開 dl 資料夾,進入 buildroot 資料夾,下 make clean 以上動作只需要在更新時使用,接下來我們要設定開發板的編譯設定,先進入 configs 資料夾找尋開發板名稱,找到名稱後回到 buildroot,輸入 make nuvoton_n9h30_emwin_defconfig 產生 configuration file,設定完成後輸入 make 開始編譯,編譯時間大約為三小時。 編譯完成後,執行以下步驟 1.修改nuc970_evb.h,47~50行 ~$gedit /output/build/uboot-master/include/configs/nuc970_evb.h #define CONFIG_SYS_USE_SPIFLASH /* #define CONFIG_ENV_IS_IN_NAND */ #define CONFIG_ENV_IS_IN_SPI_FLASH 2. 修改uboot configuration ~/output/build/uboot-master$ make menuconfig -> Device Drivers -> SPI Support [*] NUC970/N9H30 SPI driver Select NUC970/N9H30 SPI in Quad mode or Normal mode (Quad mode) ---> -> SPI Flash Support [*] Legacy SPI Flash Interface support [*] SPI flash Bank/Extended address register support [*] Winbond SPI flash support -> Command line interface -> Device access commands [*] sf 3.重新編譯,並重新燒錄 u-boot.bin ~/Buildroot$ make uboot-rebuild 編譯完成後,請將以下兩個檔案複製至 windows 下 /NUC970_Buildroot-master/output/images/uImage /NUC970_Buildroot-master/output/build/uboot-master/u-boot.bin 並且建立記事本 env-nor.txt,內容如下 baudrate=115200 bootdelay=1 stderr=serial stdin=serial stdout=serial setspi=sf probe 0 50000000 loadkernel=sf read 0x7fc0 0x200000 0x600000 bootcmd=run setspi;run loadkernel;bootm 0x7fc0 bootargs=noinitrd root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyS0 rdinit=/sbin/init mem=32M mtdparts=m25p80:0x200000@0x0(u-boot),0x600000@0x200000(kernel),-(user) ignore_loglevel 再來我們則需要安裝 NuWriter 所需要的相關檔案,NuWriter 是新唐提供的燒錄工具,提供在 PC上使用的軟體及其原始碼,使用者可以依照需求自行開發功能 https://github.com/OpenNuvoton/MPU-Family 下載完成後,打開 NUC970_NuWriter-master,到 Driver 資料夾安裝 WinUSB4NuVCOM.exe,安裝完後,到 NuWriter 資料夾底下的 Release 執行 NuWriter,依據自身開發板,選擇晶片編號,我們要把 Image 燒錄到 SPI Flash, 因此選擇 SPI 這邊需要將開發板的 Power-On Setting 全都撥到 ON 的位置 ,並且按壓一次 Reset 鍵,回到 NuWriter 確認綠燈連結至開發板,如果沒有,請點選 Re-Connect 重新連結,確認完後開始燒錄Image: u-boot.bin 燒錄至 0xe00000 env-nor.txt 燒錄至 0x80000 uImage 燒錄至 0x200000 等燒入完成後將開發板上的 Power Setting 都撥到 OFF 的位置,按壓一次 Reset 鍵,即可開始從SPI-NOR 開機,開機完成後,我們先到 /etc/init.d 底下找尋範例程式 rcS,輸入 chmod 777 rcS 調整權限後,即可在開發板螢幕上看到相關應用,編譯與燒錄程式就到這邊告一段落。 接下來為大家帶來 Non-OS code 編譯與燒錄,請大家先到以下網址下載 MDK-Arm https://www.keil.com/download/product/ 後續再下載新唐提供的 Non-OS BSP 包 https://github.com/OpenNuvoton/MPU-Family BSP 包裡面含有 Keil 詳細的開發環境設定手冊可以參閱,使用 Keil 則需要購買相關的 license,下載安裝完成後,打開 Keil uVision,點選左上角 File,選擇 Open,到剛剛下載的 BSP 包裡面, 依序選擇 BSP、SampleCode、emWin_SimpleDemo、KEIL、emWin_SimpleDemo.uvproj 再來我們點選 Option for Target,點選 Device,選擇 NuMicro ARM9 Database、N9H_series 完成後點選 Rebuild,編譯完成後即會產出 sample code的binary 檔案。 編譯完成後,打開 NuWriter,重新連接開發板,連接完成後,選擇 SPI,依循以下路徑找尋我們剛剛編譯的程式 \N9H30_emWin_Non-OS_BSP_v1.04.000\N9H30_emWin_Non-OS_BSP_v1.04.000\BSP\SampleCode\emWin_SimpleDemo\KEIL\obj\emWin_SimpleDemo_FW070TFT_24BPP.bin 選擇完後,依照畫面設定,並燒錄至 0x0 的位置,燒錄完成後,將 Power-On Setting 改為 SPI 開機,即可在開發板上看到範例程式。 以上是這次的教學影片,後續我們還會為遠端監控功能和一些新的設計做更多介紹,感謝您的收看,歡迎訂閱我們的頻道,如果您想知道更多資訊歡迎聯絡我們! #Basic #Product #Tool #Learning #zh-Hant - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw 聯絡我們: SalesSupport@nuvoton.com
前瞻應用  學習  影片長度 - 7:32
此影片將教各位從零開始使用 Chili Board,下載新唐提供的虛擬環境、BSP、Linux 環境設定、Image 編譯與燒錄、Chili Board 開機。基於新唐提供的開發平台,能有效縮短使用者在 Linux 的環境設定時間,直接進入開發應用程式的階段。 【步驟&時間軸】 00:00​ Intro 簡介 00:23 下載 Linux 開發環境 VMware 虛擬機、NUC980 Linux V4.4 BSP 00:59 開啟 VMware 主程式 01:42 更新 Buildroot 工具 02:44 開發板的編譯設定 03:31 抓取 Image 檔 04:12 uboot 啟動參數 04:23 安裝 NuWriter 所需要的相關檔案 05:15 將開發板兩個 Micro USB 接上 PC 05:20 執行 NuWriter 05:34 打開 PuTTY 06:10 開始燒錄 Image 【Linux 開發環境 VMware 虛擬機】 https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1320200406183205 【NUC980 Linux V4.4 BSP】 https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1820200909165814 【更新 Buildroot 工具】 進入 Buildroot 資料夾後請輸入以下指令: git reset --hard git pull 更新完成後進入 dl 資料夾,先將既有的 linux kernel 與 u-boot 刪除,並輸入以下指令: sudo rm -rf linux-master.tar.gz 輸入密碼 user,並輸入以下指令: sudo rm -rf uboot-master.tar.gz 離開 dl 資料夾,進入 Builroot 資料夾下 make clean。 【開發板的編譯設定】 進入 configs 資料夾,找到開發板名稱後回到 buildroot,輸入: make nuvoton_nuc980_chili_defconfig 產生預設的 configuration file,設定完成後輸入 make 開始編譯。 編譯完成後,點選左方檔案系統至各個地方抓取 Image 檔複製到 PC 資料夾,請參考以下路徑: /NUC970_Buildroot-master/output/images/uImage /NUC970_Buildroot-master/output/build/uboot-master/u-boot.bin env.txt 則需要自己建立,此檔案為 uboot 啟動參數,請參考下方文字: baudrate=115200 bootdelay=1 stderr=serial stdin=serial stdout=serial setspi=sf probe 0 30000000 loadkernel=sf read 0x7fc0 0x200000 0x800000 bootcmd=run setspi;run loadkernel;bootm 0x7fc0 #Linux #IoT #工業物聯網 #物聯網 #NUC980 #ChiliBoard #NuMaker-RTU-NUC980 #NK-RTU980 #RTU #application #learning #intermediate #zh-Hant - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw 聯絡我們: SalesSupport@nuvoton.com
工具  前瞻應用  學習  影片長度 - 7:34
此影片將教大家如何使用 Chili Board 完成遠端監控與資料存取應用。一步步教學完成從網路 IP 設定到遠端操控 Child Board 及內部資料存取的實例操作。 【步驟&時間軸】 00:00​ Intro 簡介 00:31 網頁與開發板的互動範例 01:03 接下來設定網路 IP 位址 01:24 更改 PC 的 IP 位址 02:07 修改 Ubuntu 內部網路設定 02:39 測試網路是否通順 03:05 開啟 Chili Board 終端機介面 03:37 Web Server 04:15 遠端資料存取與監控的範例 04:48 修改 Ubuntu 內部網路設定 05:10 開啟終端機介面 05:37 使用跳線將 USB0_H 接地並且拔除 USB0_D 05:59 創建分享給開發板的資料夾 06:39 插入 USB Webcam 06:48 創建 nfs 資料夾 07:05 使用 Webcam 拍攝照片 【推薦觀看】 新唐 Chili Board – 開發板與平台介紹:https://youtu.be/tkYXZoYUY68 新唐 Chili Board (1) – 下載、編譯與燒錄教學:https://youtu.be/9W8HGrzjGZ8 #網頁與開發板互動範例 (1) 檢查開發板 Network File System Support 是否有開啟 (2) 輸入: linux-menuconfig (3) 進入 configuration 選單 (4) 依序選擇 File Systems、Network File System (5) 檢查以下選項是否開啟: NFS client support NFS client support for NFS version 2 NFS client support for NFS version 3 (如果有任意選項未開啟,則需要重新編譯後燒錄至開發板) #設定網路IP位址 (1) 將開發板、PC 與 Ubuntu 設定為同一網域 (2) 將 Chili Board 網路孔與 PC 連接 (3) 在 Chili Board 終端機輸入: ifconfig (4) 確認 IP 位址為 192.168.0.100 #虛擬機透過PC端網路連上網 (1) 將網路設定設為可連上網路的狀態 (2) 在 Ubuntu 上安裝 Network File System Server (3) 虛擬機的部分需要先到 VMware Network Adapter (4) Network Connection 選擇 NAT #修改Ubuntu內部網路設定 (1) 從右上角進入 Wired Settings (2) 將網路關閉為 OFF,點選齒輪進入設定 (3) 點選 IPv4,將 IPv4 Methoad 改為 Automatic (DHCP) (4) 關閉後將網路開啟為 ON (5) 設定完成後開啟終端機介面,輸入已下指令: sudo apt-get install nfs-kernel-server rpcbind 此為安裝 Network File System Server 的套件 能將此 Ubuntu 虛擬機設為網路共享資料夾的主機 其他有安裝 Network File System Client 的套件的開發板經過一次設定後 都能存取特定資料夾 #創建分享給開發板的資料夾 (1) 於終端機介面創建資料夾 (2) 在 /home/user 底下輸入指令: mkdir -p nfs (3) 創建完成後輸入以下指令更改設定檔: sudo gedit /etc/exports (4) 將以下指令加進去: /home/user/nfs 192.168.0.100(rw,sync,no_root_squash) (5) 輸入以下指令,重啟 Network File System Server 加載剛剛的設定檔: sudo /etc/init.d/nfs-kernel-server restart #設定Network_File_System (1) 在來到 mnt 資料夾下創建 nfs 資料夾 (與 Ubuntu 的 nfs 資料夾共享) (2) 輸入以下指令完成設定 Network File System: mount -o nolock -t nfs 192.168.0.102:/home/user/nfs /mnt/nfs #使用Webcam拍攝照片 (1) 進入 nfs 資料夾 (2) 輸入以下指令使用 Webcam 拍攝照片: fswebcam -r 640x480 test.jpg #NUC980 #NuMaker-RTU-NUC980 #Linux #IoT #物聯網 #遠端監控 #遠端資料存取 #RemoteMonitoring #RemoteControl #RTU #新唐科技 #Nuvoton #application #tool #learning #intermediate #zh-Hant - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw 聯絡我們: SalesSupport@nuvoton.com
工具  學習  影片長度 - 4:1
新唐推出的 Chili Board 開發平台,支援豐富的軟硬體設備,不須額外安裝與編譯,設定完成後即可開發周邊應用程式。Chili Board 更專注在物聯網的開發環境上,支援各種網路通訊協議(SNMP、Web Server、HTTP(S))、雲端(Arm Pelion、AWS、Microsoft Azure、Aliyun)以及加解密引擎(PRNG、AES256、SHA, ECC、RSA2048),搭配新唐提供的 BSP 包,有效縮短開發時間。 #Linux #IoT #工業物聯網 #物聯網 #NUC980 #ChiliBoard #NuMaker-RTU-NUC980 #NK-RTU980 #RTU #Nuvoton #新唐科技 #NuMicro #Chili #tool #learning #basic #zh-Hant - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw 聯絡我們: SalesSupport@nuvoton.com
培訓  前瞻應用  學習  影片長度 - 5:7
We implements 6 demonstrations according to the features of MA35D1: 1. Video Playback : HD video output 2. ML People Counting : Face Detection and Number Counting 3. 2D Accelerator : 2D Hardware acceleration example 4. Data Security : Improve data security with OP-TEE 5. KWS by RTP M4 : uses MA35 built-in M4 to perform keyword detection 6. VoIP : network phone example based on SIP The video will introduce the resources and operation details used in each example. #HMI #IndustrialControl #Application #Linux #MPU #MA35D1 #Training #Learning #en #NuMaker-HMI-MA35D1-S1 - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: https://direct.nuvoton.com/ contact us: SalesSupport@nuvoton.com
前瞻應用  學習  影片長度 - 2:56
This video introduces the Out-of-Band remote device management solution based on Nuvoton microprocessor NUC980 and Allxon cloud service. #IndustrialControl #Application #CloudService #Linux #MCU #EmbeddedWorld2022 #Learning #Basic #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: https://direct.nuvoton.com/ contact us: SalesSupport@nuvoton.com
創新產品  工具  學習  影片長度 - 8:24
The video introduces Nuvoton's MPU N9H30's development set-up for Linux and Non-OS, taking NuMaker-emWin-RDK-N9H30 for example. Starting from the EVB introduction to BSP and related software downloads. - User manuals and related resource can be downloaded https://www.nuvoton.com/products/gui-solution/gui-reference-design/numaker-emwin-rdk-n9h30/ First, we introduce how to program Linux OS to the N9H30 evaluation board Find the N9H30 evaluation board resource that we used on Nuvoton’s Github and download the VMware Image https://github.com/OpenNuvoton/MPU-Family VMware application can be downloaded from the VMware website https://www.vmware.com/tw/products/workstation-player/workstation-player-evaluation.html First, open the VMware Find the ubuntu_NUC970_980_Linux folder we downloaded Choose Ubuntu 64-bit_nuvoton.vmx Choose Play virtual machine The password is “user” It will take a while to open this application for the first time Open the terminal when the system is ready Enter NUC970_Buildroot-master folder After entering the folder, we need to update the Buildroot tool Enter the command as shown below “git reset –hard” “git pull” After updating, enter the dl folder Remove the original Linux kernel and u-boot Enter the command as shown below “sudo rm -rf linux-master.tar.gz uboot-master.tar.gz” After entering, enter the password “user” Leave the dl folder and enter the Buildroot folder Enter the “make clean” command You don’t need to do these steps unless updating Buildroot tools Now, we set up the evaluation board configuration Enter configs folder to search evaluation board name Back to buildroot after searching Enter “make nuvoton_n9h30_emwin_defconfig” to generate configuration file After finishing these step, enter “make” to compile It will take about three hours to compile After compiling, copy the two files below to windows “/NUC970_Buildroot-master/output/images/uImage” “/NUC970_Buildroot-master/output/build/uboot-master/u-boot.bin” Create text file ”env-nor.txt” The content is shown below: baudrate=115200 bootdelay=1 stderr=serial stdin=serial stdout=serial setspi=sf probe 0 50000000 loadkernel=sf read 0x7fc0 0x200000 0x600000 bootcmd=run setspi;run loadkernel;bootm 0x7fc0 bootargs=noinitrd root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyS0 rdinit=/sbin/init mem=32M mtdparts=m25p80:0x200000@0x0(u-boot),0x600000@0x200000(kernel),-(user) ignore_loglevel Then, we need to install NuWriter and related file The NuWriter is a programming tool provided by Nuvoton. The NuWriter application and firmware code are open-sourced, and users can add new features or develop new user interfaces per user’s application NuWriter: https://github.com/OpenNuvoton/MPU-Family Open “NUC970_NuWriter-master” Enter Driver folder and install “WinUSB4NuVCOM.exe” Enter /Nuwriter/Release and execute NuWriter Choose IC number based on the evaluation board We need to program Image to SPI Flash, so we choose SPI Here we need to turn the all Power-On Setting to ON Push Reset button Return to NuWriter to check the green light and the connection If it is not connecting, click Re-Connect to reconnect After confirm the connection, start to program Image Program the three files to particular address u-boot.bin program to 0xe00000 env.nor.txt program to 0x80000 uImage program to 0x200000 After programming, turn the Power-On Setting to off Push the Reset button Evaluation board can start to boot from SPI-NOR After booting, we need to find the rcS demo application under/etc/init.d Enter “chmod 777 rcS” to modify the application Now, you can see the application on the evaluation board panel Here, we finish compiling and programming The next topic is how to compile and program Non-OS code First, download MDK-Arm from the link below https://www.keil.com/download/product/ Download the Non-OS BSP provided by Nuvoton https://github.com/OpenNuvoton/MPU-Family The BSP includes Keil environment set up user manual Use Keil need to purchase the related license After downloading, Open Keil uVision Click the File on the upper left and choose Open Go to the BSP that we downloaded choose BSP, SampleCode, emWin_SimpleDemo, KEIL and emWin_SimpleDemo.uvproj Click Option for Target Click Device and choose NuMicro ARM9 Database and N9H_series After setting up, click Rebuild, and it will generate a sample code application which is a binary file Open the NuWriter and connect it to the evaluation board Choose SPI and search the application we built \N9H30_emWin_Non-OS_BSP_v1.04.000\N9H30_emWin_Non-OS_BSP_v1.04.000\BSP\SampleCode\emWin_SimpleDemo\KEIL\obj\emWin_SimpleDemo_FW070TFT_24BPP.bin Follow the setting and program the file to 0x0 After programming, turn the Power-On Setting to boot from SPI You can see the demo application on the evaluation #Basic #Product #Tool #Learning #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: https://direct.nuvoton.com/ contact us: SalesSupport@nuvoton.com
培訓  學習  影片長度 - 9:51
Take Nuvoton NuMaker-IIoT-NUC980 running Linux as the platform and learn how to develop various functions. Watch this video, you will learn how to use Ethernet to connect to AWS IoT service on NuMaker-IIoT-NUC980 board. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-nuc980-iiot Contact us: SalesSupport@nuvoton.com #Training #Learning #Intermediate #en
影片長度 - 4:15
Take Nuvoton NuMaker-IIoT-NUC980 running Linux as the platform and learn how to develop various functions. Watch this video, you will learn how to use cellular, such as LTE or NB-IoT, to connect to network on NuMaker-IIoT-NUC980 board. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-nuc980-iiot Contact us: SalesSupport@nuvoton.com
影片長度 - 2:44
Take Nuvoton NuMaker-IIoT-NUC980 running Linux as the platform and learn how to develop various functions. Watch this video, you will learn how to connect to network via Ethernet on NuMaker-IIoT-NUC980 board. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-nuc980-iiot Contact us: SalesSupport@nuvoton.com
影片長度 - 3:13
Take Nuvoton NuMaker-IIoT-NUC980 running Linux as the platform and learn how to develop various functions. Watch this video, you will learn how to control GPIO to blink the LED on NuMaker-IIoT-NUC980 board. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-nuc980-iiot Contact us: SalesSupport@nuvoton.com
培訓  學習  影片長度 - 4:0
Take Nuvoton NuMaker-IIoT-NUC980 running Linux as the platform and learn how to develop various functions. Watch this video and you will learn how to install Buildroot for NuMaker-IIoT-NUC980 board before starting development. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-nuc980-iiot Contact us: SalesSupport@nuvoton.com #Training #Learning #Basic #en
本網站使用cookie作為與網站互動時識別瀏覽器之用,瀏覽本網站即表示您同意本網站對cookie的使用及相關隱私權政策
OK