搜尋

已選項目

搜尋結果

搜尋pin configuration , 共找到 13 筆
  • 排序
  • 依時間
  • 依熱門度
創新產品  工具  學習  影片長度 - 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
工具  學習  影片長度 - 15:54
NuTool-LCDView 是一款輔助 COM/Segment LCD 開發的軟體工具。 此工具可以直接生成 LCD configuration code,以及提供開發者在不需要實體屏幕的情況下,即時在 PC 端看到 LCD 顯示效果,LCDView 讓開發者能更輕鬆快速的模擬、除錯與完成 LCD 專案開發。 ●下載 NuTool – LCDView: https://www.nuvoton.com/tool-and-software/software-tool/application-specific/lcdview/index.html #Nuvoton #MCU #Basic #Tool #SoftwareTool #NuTool #LCDView #ML54 #ML56 #M254 #M256 #M258 #M2354 #LCD軟體開發工具 #Learning #zh-Hant - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw 聯絡我們:SalesSupport@nuvoton.com
工具  學習  影片長度 - 14:35
NuTool-LCDView is a software tool designed to assist in the development of COM/Segment LCD. This tool can directly generate LCD configuration code and provide developers with real-time LCD display effects on the PC without the need for a physical screen. LCDView allows developers to simulate, debug and complete LCD project development more easily and quickly. ● Download NuTool – LCDView: https://www.nuvoton.com/tool-and-software/software-tool/application-specific/lcdview/index.html #Nuvoton #MCU #Basic #Tool #SoftwareTool #NuTool #LCDView #ML54 #ML56 #M254 #M256 #M258 #M2354 #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
創新產品  工具  學習  影片長度 - 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
創新產品  學習  影片長度 - 6:27
Nuvoton provides a development tool for capacitive Touch Sensors. The best feature of the calibration tool is that it uses the GUI to configure and tune your design automatically. Besides, the tool can export the configuration parameters and import them to another. Not only can greatly shorten the development time of developers, but also shorten the time for mass production. This video will introduce how to use this development tool and the definition of parameter. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/low-power-8051-series/ Contact us: SalesSupport@nuvoton.comon.com #Product #Learning #Basic #en
培訓  工具  學習  影片長度 - 4:13
NuMaker-IoT-M487 (6) Use Ethernet Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use Ethernet with Mbed OS on NuMaker-IoT-M487 development board. Open Chrome browser, and enter the URL https://ide.mbed.com to use the Mbed Online Compiler. After log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. Click the “New” on the left of menu bar, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template, select the "NuMaker Ethernet TCP" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. The network default configuration is Ethernet, so we don’t have to manually modify mbed_app.json file. The sample code automatically acquires IP address, connects to web server and display the return message. Just click “Compile” to build the sample code. It is in compiling, please wait a moment. Then you can see the last message is “Success!” after compile completed. The browser downloads the binary firmware file directly after a successful compiling. It will be saved in a default download folder or the folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Connect the LAN cable in the network that does not require proxy settings. Then we connect the NuMaker-IoT-M487 USB port to your computer and make sure the onboard LED lights up. Let’s back to the download folder where you can see the binary firmware file (NuMaker-mbed-tcp.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the tutorial, the “Nu-Link Virtual Com Port” is COMx. Then use your favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate And no flow control settings. Then “Open” it. Press Reset button on board to run again. You can see the connection messages printed on terminal. It shows the board’s IP address, sends a simple HTTP connection to server, and the result of return. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get more information, please contact us at SalesSupport@nuvoton.com - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #tool #training #learning #intermediate #en
培訓  工具  學習  影片長度 - 8:36
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use 4G LTE or NB-IoT with Mbed OS on NuMaker-IoT-M487 development board. This tutorial needs a cellular expansion board to work with NuMaker-IoT-M487 development board. You can purchase the 4G LTE expansion board, RF-EC21A, on Nuvoton Direct (https://direct.nuvoton.com/communication-module/). Please install your 4G LTE SIM card in the mini SIM card slot on the back, and install the antenna at the MAIN connector on the front of the board. Although there is an NB-IoT expansion board, it requires an NB-IoT SIM card. Using LTE is more convenient. Just use your own LTE SIM card which has data plan. Then install the expansion board to the Arduino UNO connector of the NuMaker-IoT-M487 development board. Because the power consumption of the 4G LTE module is higher, it is not enough to supply power from USB only. You need to plug in the 5V/2A power supply. If you use NB-IoT module, no additional power supply is needed. We used “New” to select a template to create a new project. This time, we use the example on GitHub to create a new project. The URL of template used for this tutorial is https://github.com/OpenNuvoton/NuMaker-mbed-Cellular-example In chrome browser, enter the URL https://ide.mbed.com to use Mbed Online Compiler environment. After you log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. Click the second option “Import” on the upper left. In the Import Wizard, click “Click here” On the “Source URL:”, enter the tempalte URL https://github.com/OpenNuvoton/NuMaker-mbed-Cellular-example . Then move mouse cursor to “Import Name:” and click it, the Project name will be automatically fill in. Then click “Import” button. Now you can see that the sample code has loaded. Depending on the cellular module used, the configuration may need to be modified. Click on “Readme.md” to open it. It lists configurations for supported cellular modules. Because the tutorial uses RF-EC21A expansion board which includes a Quectel EC21 LTE module, let’s check and modify the configuration in mbed_app.json file. Click the “mbed_app.json” file to open it. It is a JSON file to customize compile time configuration parameters in Mbed OS. The “*” (asterisk) in “target_overrides” session indicates all development boards are applicable. You can set in the designated board session, so the settings are only applicable to the specified board. The default mbed_app.json file in the example has configured for RF-EC21A. Such as, "target.network-default-interface-type" has set to "CELLULAR" for cellular connection. Both "lwip.ppp-enabled” and "lwip.tcp-enabled" set to true. Use generic AT3GPP driver for RF-EC21A ("GENERIC_AT3GPP.provide-default": true) And the RF-EC21A UART connects on Arduino D0/D1 ("GENERIC_AT3GPP.tx": "D1" and "GENERIC_AT3GPP.rx": "D0") When your SIM card installed in your mobile phone, you can find the APN, username and password settings in your mobile phone. Or contact your telecom operator to get this information. In the example, APN has set to “internet”, no username, and no password. (Move mouse cursor around these settings) The final setting to check is PIN code. In the example, the setting is no PIN code. If your SIM card has PIN code, for example 1234, please set it like this “\”1234\”” (Move mouse cursor around the setting) Save it then build it. It is in compiling, please wait a moment. Then you can see the last message is “Success!”. The browser will download the binary firmware file directly after a successful compiling. It will be saved in a default download folder or the folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Then we connect the NuMaker-IoT-M487 USB port to your computer and don’t forget to plug in external 5V power supply. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the demonstration, the “Nu-Link Virtual Com Port” is COMx. Then use your favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate, 8 bits, 1 stop bit, none parity, and no flow control settings. Then “Open” it. Let’s back to the download folder where you can see the binary firmware file (NuMaker-mbed-Cellular-example.NUMAER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. You can see the connection messages printed on terminal. It shows that the board creates a TCP connection to server “echo.mbedcloudtesting.com”, send 4 bytes data and get the data back from server. That’s all for this tutorial. Thank you. For more information, please visit Nuvoton Technology: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 #tool #training #learning #intermediate #en
影片長度 - 3:6
低功耗8051產品低功耗運行模式特色介紹。ML51系列工具及應用推薦。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/ml51-series/ 聯絡我們: SalesSupport@nuvoton.com
影片長度 - 4:50
以新唐 NuMaker NUC980 IIoT 為平台,使用 Linux 進行開發,學習開發各式功能,觀看本片,您將學會在 NuMaker NUC980 IIoT 上使用 LTE 與 NB-IoT 連線。 哈囉大家好,我是新唐工程師阿群,今天為大家介紹如何在 NuMaker NUC980 IIoT 板子上如何使用 LTE 模組與 NB-IoT 模組。 首先我們先說明 LTE 模組的部分 NuMaker NUC980 IIoT 板子上的 USB port 位於右上角,請接上 LTE 模組才能上網。 在安裝 NUC980 開發環境 Buildroot 的過程中,我們下 “make nuvoton_nuc980_iot_defconfig” 產生 NUC980 IoT default configuration,當中 LTE 和 NB-IoT 模組相關的設定已經打開。 make 編譯 compile Buildroot 編譯完成後,透過 NuWriter 將 Linux kernel 下載到NuMaker NUC980 IIoT 板子上執行。Linux Kernel 開機完成後,設定 LTE 網路,輸入 “quectel-CM &”,下載檔案,輸入指令 ” wget -c http://http.speed.hinet.net/test_010m.zip ”, 可以看見檔案正在下載。 接下來我們說 NB-IoT 的部分,NuMaker NUC980 IIoT 板子上的 USB port 位於右上角,請接上 NB-IoT 模組才能上網。 需要拿到廠商附的軟體 linux-ppp-scriptsV1.2,根據linux-ppp-scripts裡面的文件說明將相關文件拷貝到 root file system 目錄中。 => unzip linux-ppp-scripts_V1.2.zip => cp linux-ppp-scriptsV1.2/linux-ppp-scriptes/* rootfs/etc/ppp/peers/ = > vim rootfs/etc/ppp/peers/quectel-chat-connect 修改 quectel-chat-connect 裡面 APN,此 APN 參數需要根據電信業者所提供第12行修改 APN 為“internet.iot” = > vim rootfs/etc/ppp/peers/quectel-ppp 修改 quectel-ppp 裡面的帳號密碼,帳號密碼需要根據電信業者所提供 第 6 行修改 user 和 password 為空白,然後重新 compile Linux Kernel。 編譯完成後,透過 NuWriter 將 Linux kernel 下載到 NuMaker NUC980 IIoT 板子上執行。 Linux Kernel 開機完成後, 設定 NB-IOT 網路 =>“pppd call quectel-ppp &” 設定 DNS =>“ echo "nameserver 8.8.8.8" > /etc/resolv.conf ” 下載檔案 =>”wget -c http://http.speed.hinet.net/test_010m.zip ” , 可以看見檔案正在下載。 以上是這次的 LTE 與 NB-IoT 使用教學影片。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-nuc980-iiot 聯絡我們: SalesSupport@nuvoton.com
影片長度 - 2:45
以新唐 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
本網站使用cookie作為與網站互動時識別瀏覽器之用,瀏覽本網站即表示您同意本網站對cookie的使用及相關隱私權政策