Search

Selected option

Search Results

SearchFree Keil MDK , find 27 items
  • Sort by
  • Most recent
  • Popularity
제품  도구  공부하다  Watch time - 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
훈련  애플리케이션  도구  웨비나  Watch time - 59:50
Always want to knock on the door and get in the MCU world? Here is a perfect entrance for you! To let anyone interested in MCU familiar with Nuvoton’s development environment, we provide you a beginner course. Thus, you can have not only a whole picture of Nuvoton’s Development platform, including EVB, debugger/programmer, IDE, BSP, and software, but can also implement a very first project in this workshop. Nuvoton has a user-friendly environment even for beginners, so don’t hesitate to join us. Let Novoton’s rookie lead your way! Before we get started, please follow the steps before the workshop. 1. Terminal Emulator Download PuTTY:An open-source SSH and telnet client for the Windows platform. Download – "putty.exe" https://www.putty.org/ 2. IDE Installation - KEIL MDK Nuvoton edition M0 / M23 >Enter Contact Information >Download and Install >Get and Add License Download link:https://www2.keil.com/nuvoton/M0-M23 Tutorial:https://youtu.be/dzp9sAm4vmg - Agenda: • NuMicro® Ecosystem • Nuvoton Golden 3 Steps • NuMaker Board Unboxing & Introduction • Practice for Very Beginner - Get Started by Quick Start • Summary - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: https://direct.nuvoton.com/ contact us: SalesSupport@nuvoton.com #Application #Tool #Training #Webinar #General #en
Watch time - 2:41
NuMicro® M031BT BLE 5.0 低功耗藍牙微控制器系列,以 Arm® Cortex®-M0 為核心,工作頻率高達 48 MHz,內建最高 128 KB Flash 和 16 KB SRAM,提供 BLE 5.0 和 2.4 GHz 雙模功能。相較於傳統集成簡單周邊的 BLE SoC,NuMicro® M031BT 系列內建豐富周邊與優異類比控制功能,實現一顆微控制器取代 BLE SoC 加控制晶片的方案,不僅大幅縮小 PCB 尺寸,QFN48封裝面積僅有 5mm x 5mm,也降低射頻佈局困難度,加上新唐參考設計方案與範例代碼,使得低功耗藍芽的應用開發變得相當容易。 NuMicro® M031BT 系列針對射頻應用提供高達 +8 dBm 的射頻發射功率、-94 dBm 的良好接收靈敏度、1 Mb/s 或 2 Mb/s 的傳輸速度,並且能在 2.4GHz 干擾嚴重的環境提供突出的抗噪表現,提升通訊距離和可靠性,滿足智慧家庭、消費電子以及工業物聯網等應用場景的需求。 NuMicro® M031BT 系列運作於 1.8V 至 3.6 V 工作電壓,內建 32 位硬體乘法器/除法器、高達 5 通道 PDMA、16 通道 12 位2 MSPS 高採樣率的 ADC 可運行在 1.8V 低電壓,提供精確且快速地效能表現,12 路 96 MHz PWM 可快速響應和精準的控制外部裝置。此外,M031BT 亦提供了豐富的周邊,例如 1 組 24 MHz SPI/I2S、3 組 6 MHz UART 並可支援單線式傳輸、2 組 I2C、1 組高彈性通用串行控制接口 (USCI) 可設為 UART, I2C 或 SPI。 NuMicro® M031BT 系列為了保護開發者的智慧財產權,內嵌一個額外的安全保護 Flash 區塊 (SPROM, Security Protection ROM),提供一個獨立且安全加密執行區域以保護關鍵程式代碼。記憶體鎖定功能 (Flash lock bits) 設計提供韌體防止外界存取或寫入保護。每一顆M031BT 具有一個 96 位元晶片唯一序號 (Unique Identification, UID) 及一個 128 位元唯一客戶序號 (Unique Customer Identification, UCID),大幅提升產品的保密與代碼安全性。 NuMicro® M031BT series: An low-power BLE 5.0 and 2.4GHz dual-mode microcontroller series by Arm® Cortex®-M0 core operating up to 48 MHz, with up to 128 KB Flash and 16 KB SRAM. In addition to the BLE 5.0 and 2.4GHz RF functions, the NuMicro® M031BT series built-in rich peripherals and analog control functions realize wireless connectivity. The 5mm x 5mm QFN48 package greatly reduces the PCB size and reduces RF layout difficulty. Furthermore, Nuvoton's reference design and rich sample code make the application development for low-power microcontroller with BLE/2.4G RF easier. The NuMicro® M031BT series provides up to +8 dBm RF transmit power, a good receiving sensitivity of -94 dBm, 1 Mb/s, or 2 Mb/s transmission speed RF applications, and outstanding anti-noise performance in 2.4GHz interference environments to ensure communication distance and reliability. With these, the M031BT series are expected to meet the needs of application scenarios such as industrial Internet of Things (IIoT), smart home, consumer electronics, etc. The NuMicro® M031BT series operates from 1.8V to 3.6V. It features a built-in 32-bit hardware divider, up to 5-channel PDMA, a 16-channel 12-bit 2 MSPS high sampling rate ADC that can run down to 1.8V low voltage, and 12-channel PWM running up to 96 MHz that can quickly respond and accurately control external devices. Besides, the M031BT also provides many peripherals such as one set of 24 MHz SPI/I2S, three sets of 6 MHz UART supporting single-wire transmission, two sets of I2C, and one set of highly flexible universal serial control interface (USCI) that can be configured as UART, I2C or SPI. To protect the intellectual property rights, the NuMicro® M031BT series is embedded with an additional security protection Flash block (Security Protection ROM, SPROM) to provide an independent and secure encrypted execution area to protect critical program code. Flash lock bits are designed to provide firmware to prevent external access or write protection. There is a 96-bit unique chip identification (Unique Identification, UID) and a 128-bit unique customer identification (UCID) on each M031BT, which significantly improves product confidentiality and code security. Nuvoton provides complete development tools, such as the NuMaker-M031BT evaluation board, software development kits, and sample codes, as well as free downloadable Keil MDK to speed up the end-product evaluation and development cycle. - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw 聯絡我們:SalesSupport@nuvoton.com
훈련  도구  공부하다  Watch time - 2:27
說明如何使用目標晶片的 20 根針腳的 ETM 介面連接至 Nu-link2-Pro,並在 Keil 中開啟 NuTrace 視窗來追蹤 CPU 的指令執行過程進行除錯。 #zh-Hant #Tool #Training #Intermediate #Learning - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/nu-link2-pro 聯絡我們:SalesSupport@nuvoton.com
훈련  도구  공부하다  Watch time - 3:19
This video introduces how to download and install Arm Keil, and its content includes how to use Nuvoton's product serial number to apply for an Arm Keil product serial number and how to receive a product serial number that can be used in the activation step. Help you to install and use Arm Keil easily, and through Nuvoton's product serial number, free (M0 series) or half price (M23, M4 series) use Arm Keil product serial number. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
훈련  도구  공부하다  Watch time - 1:43
This video introduces how to download and install the Nu-Link Keil driver. The content includes how to download the Nu-Link Keil driver from the Nuvoton website, as well as the things you need to pay attention to during installation, so that you can use Arm Keil faster and smoother. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
훈련  도구  공부하다  Watch time - 2:27
Explain how to use the 20-pin ETM interface of the target chip to connect to Nu-link2-Pro, and open the NuTrace window in Keil to track the execution of CPU commands for debugging. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://bit.ly/3bk0AD8 Contact us: SalesSupport@nuvoton.com #en #Tool #Training #Intermediate #Learning
웨비나  Watch time - 18:51
This video will introduce ARM TrustZone technology and show the example of how to program TrustZone on M2351. There is also a FIDO USB stick application demo in the end. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/m2351-series/ Contact us: SalesSupport@nuvoton.comon.com
훈련  도구  공부하다  Watch time - 3:24
Hello everyone I am Chris, the Field Application Engineer from Nuvoton Technology. Today I will introduce the programming and debugging tool, called NuLink-Gang, and NuLink2-Pro. And I will show you in what kind of situation you can utilize the tools. During system development, Nuvoton provides three IDE interfaces: KEIL, IAR, and NuEclipse for user to develop source code. When programming the Chip, Nuvoton provides ICP programming Tool in PC and the debugger Nu-Link2-Pro for users to perform debugging and programming function. User who uses all of the Nuvoton Nu-Maker boards series can develop through the Nu-Link2-Me debugger and programmer; it’s attached to the board. During the mass-production stage, there are 2 modes for programming the target chip. One is online programming and the other is offline programming. At first, in online programming mode, user can use ICP programming Tool and a Nu-Link2-Pro to program a target chip. Besides, if it needs to program several chips at one times, the Nu-Link Command Tool supports program multiple develop board by several Nu-Link2-Pro. Nu-Link2-Pro also supports drag-and-drop Flash programming. User can intuitively complete the programming action. Nu-Link2-Pro In offline programming mode, user can pre-store the programming file in SPI flash, USB flash drive, or SD card. When user wants to program the target chip, pressing the programming button on Nu-Link2-Pro to complete the programming action. If it needs a large number of ICs to be programming, it recommends using the Nu-Link-Gang programmer. Nu-Link-Gang programmer can perform offline programming on four different chips at a time, significantly increasing the programming efficiency. Besides, Nu-Link-Gang programmer can also use the control bus to connect with an automatic programming machine for automatic programming. In the system upgrade, Nu-Link2-Pro also provides five standard communication interfaces such as SPI, I2C, UART, RS485, and CAN for transmission, which is convenient for users to upgrade the system. That’s all for the introduction of Nuvoton’s programming and debugging tool, NuLink-Gang, and NuLink2-Pro. Thank you for watching it. If you want to know more details, please contact us! Thank you. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
훈련  도구  공부하다  Watch time - 2:21
Hello everyone! I am Chris, the Field Application Engineer from Nuvoton Technology. Today, I will introduce how to run a simple sample code on NuMicro M251/M252 series microcontroller. First, we connect the M251/M252 NuMaker development Board to the computer. Then click the M251/M252 BSP folder, click the Sample Code folder, template folder, Keil folder, and finally open the Template project file. What we are going to do is running a simple GPIO Toggle LED Sample Code. Introduce the main program briefly. First, set GPIO PB14 to Output Mode. After writing a small loop, set PB14 to reverse. Finally, set CLK_SysTickDelay to 300,000 microseconds (uSec). Before Rebuild, we must add the GPIO Source Code to the Library, find the corresponding Source Code and load it, and press Rebuild after it is complete. After the Rebuild, press Load and program the Code into the IC. When programing is over, press the reset button on the development board to confirm whether the LED lights are flashing on the board. That’s all for the tutorial of running sample code. Thank you for watching it. If you want to know more information, please feel free to contact us. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
훈련  도구  공부하다  Watch time - 5:15
以新唐 NuMaker-IoT-M487 與 AliOS Things 為平台進行開發,學習開發各式功能。觀看本片,您將學會如何以 AliOS Things 範例程式使用 Wi-Fi 連接阿里雲。 大家好,我是新唐工程師 Wayne,現在為您介紹新唐 IoT 系列課程主題 - 讓您了解如何在 AliOS Things 操作系統下使用 Wi-Fi 連接雲端。在這部影片中,我們將呈現編譯使用 Wi-Fi 連接雲端範例專案、可執行檔案的燒錄下載以及功能測試。如果您還沒有下載 AliOS-Things 軟體開發包,您可以觀看我們的另一部影片 - 開始使用 AliOS Things-控制 LED 與按鍵(AliOS Things篇),如果您也還沒有學會如何取得設備証書(設備三元組),也可觀看我們的另一部影片 - 學會使用 Ethernet 連接雲端(AliOS-Things與阿里雲篇)。 在 AliOS-Things 軟體開發包找到 numicro_aliyun_wifi Keil 專案檔案。它的路徑如下- projects\Keil\numicro_aliyun_wifi@numaker-iot-m487\keil_project 打開 Keil 專案檔,並打開 mqtt_example.c,將設備証書分別填入 PRODUCT_KEY 、 DEVICE_NAME 、 DEVICE_SECRET 常數定義。 然後,點擊 Rebuild 圖示編譯專案。 在編譯成功後,它將產生一個可執行檔案在 Objects 目錄內, 完整檔案路徑如下:projects\Keil\numicro_aliyun_wifi@numaker-iot-m487\keil_project\Objects,輸出的檔案名稱為numicro_aliyun@numaker-iot-m487.bin 接下來,我們開始進行可執行檔案的燒錄下載。 在這之前,我們先確認開發板上的 ISW1 開關元件,都切至 ON 的位置。 接著將 USB 線插上電腦,這時侯我的電腦出現一個 NuMicro MCU 磁碟機。我們回到可執行檔案存放的目錄,在可執行檔案numicro_aliyun@numaker-iot-m487.bin 上,按下滑鼠右鍵,傳送到 NuMicro MCU 磁碟機,然後畫面出現檔案傳輸視窗,等到傳輸完成後, 也結束燒錄下載流程。 我們開啟 Tera term 終端模擬連線工具,序列埠選擇 Nu-Link Virtual Com Port 編號 - COM4。其它的連接埠設定如畫面呈現。 在完成設定後,按下開發板上的 Reset 按鍵。 Tera term 將印出 AliOS-Things 的開機資訊並提供命令模式。 輸入以下指令 netmgr connect NT_ZY_BUFFALO 12345678 進行連結本地端 Wi-Fi 路由器(需具備網際網路連線功能的路由器)。 NT_ZY_BUFFALO 是本地端路由器的無線網路名稱,12345678 是它使用的加密金鑰,這兩個網路設定需要對應您的路由器設定。 在成功連接之後,範例程式也會連接上阿里雲雲服務器。 我們接著按下板子上 SW2 和 SW3 按鍵,在終端機上顯示按鍵被按下, 由於在範例程式同時訂閱與發佈同一個 Topic,所以按鍵被按下事件訊息被發佈到雲服務器後,也會收到從雲服務器發過來的相同訊息。 我們亦可在阿里雲 物聯網平台 頁面上, 查看從設備發佈的主題訊息。 點選左邊的 日誌服務 ,產品選擇 numicro_iot, 切換到 上行消息分析 分頁,在 MessageID 欄位這邊, 點選第一個數字連結,彈出一個小視窗, 內容選項選擇 Text(UTF-8) 後, 右邊的訊息顯示 SW3 pressed!, 代表雲服務器成功接收並儲存這個訊息至資料庫。 以上,是設備上行的測試; 我們接著進行下行至設備測試: 點選左邊的 設備,找到設備名稱 test_01,點選查看,切至 Topic列表 分頁,在 user/data 這個 Topic,點選 發佈消息,它彈跳出一個小視窗,我們在 消息內容 的欄位內,填入 LED*=OFF 字串,並點選 確認。 在按下 確認 後,板子的 3 顆 LED 燈就熄滅;再發佈 LED*=ON 訊息一次,板子的 3 顆 LED 燈就亮起。到這裡,我們完成了測試。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-iot-m487 聯絡我們: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #zh-Hant
훈련  도구  공부하다  Watch time - 7:49
以新唐 NuMaker-IoT-M487 與 AliOS Things 為平台進行開發,學習開發各式功能。觀看本片,您將學會如何以 AliOS Things 範例程式使用乙太網路連接阿里雲。 大家好,我是新唐工程師 Wayne, 現在為您介紹新唐 IoT 系列課程主題 -讓您了解如何在 AliOS Things 操作系統下使用 Ethernet 連接阿里雲。 在這部影片中,我們將呈現如何取得設備證書、如何編譯使用 Ethernet連接阿里雲專案、如何執行檔案的燒錄下載以及測試點亮LED 燈。 如果您還沒有下載 AliOS-Things 軟體開發包,您可以觀看我們的另一部影片 - 開始使用 AliOS Things-控制 LED 與按鍵 (AliOS Things篇)。 首先打開瀏覽器,並在網址列輸入阿里雲入口網址,網址如下 - http://iot.console.aliyun.com。連接。 瀏覽器畫面目前顯示的是 阿里雲登錄頁面。選擇 中國站-簡體中文 ,依照提示完成註冊。輸入申請的帳號與密碼後,點選登錄。成功登錄後,畫面目前顯示阿里雲個人首頁。找到個人控制台選項連結,點選。 畫面目前顯示阿里雲個人控制台,頁面列出已申請使用的雲服務。 找到物聯網平台選項連結,點選。畫面目前顯示物聯網服務的專屬控制頁面。點選頁面左邊的設備管理選項,再點選產品,然後點選創建產品,新增一個設備產品。產品名稱輸入 numicro_iot,並輸入以下設備產品相關資訊,這裡連網方式的選項 包含選擇 Wi-Fi、乙太網或是其它,取決於產品設備使用的通訊連網方式,我們選擇乙太網,然後點選完成,畫面即呈現設備產品建立完成,頁面上產生一筆記錄。我們在這筆記錄上,點選查看,並切換至 Topic 類列表,再點選 定義 Topic 類,在彈跳出來的小視窗內,Topic 類欄位輸入 data,並將設備操作權限改為發佈和訂閱,然後點選確定。接著我們點選頁面左邊的設備選項,再點選右邊的添加設備選項。然後,畫面彈跳出一個填寫設備資訊的視窗,接著在產品選項列表選擇剛剛我們新增的產品 - numicro_iot,並輸入設備名稱 - test_01,填入完成後,點選確認。接著畫面彈跳出該產品設備的三元組資訊。 點選 一鍵複製 ,把設備三元組資訊儲存在筆記本文件 內暫存。 在 AliOS-Things 軟體開發包找到 numicro_aliyun_ethernet keil 專案檔案。它的路徑如下- projects\Keil\numicro_aliyun_ethernet@numaker-iot-m487\keil_project 打開 Keil 專案檔,並打開 mqtt_example.c, 將設備證書分別填入 PRODUCT_KEY, DEVICE_NAME, DEVICE_SECRET 常數定義。 然後,點擊 Rebuild 圖示編譯專案。在編譯成功後,它將產生一個可執行檔案在 Objects 目錄內,完整檔案路徑如下: projects\Keil\numicro_aliyun_ethernet@numaker-iot- m487\keil_project\Objects,輸出的檔案名稱為 numicro_aliyun_ethernet@numaker-iot-m487.bin 接下來,我們開始進行可執行檔案的燒錄下載,在這之前,我們先確認開發板上的 ISW1 開關元件,都切至 ON 的位置。 接著將 USB 線插上電腦。 這時侯我的電腦出現一個 NuMicro MCU 磁碟機。我們回到可執行檔案儲放的目錄,在可執行檔案 numicro_aliyun_ethernet@numaker-iot-m487.bin上,按下滑鼠右鍵,傳送到 NuMicro MCU 磁碟機, 然後畫面出現檔案傳輸視窗,等到傳輸完成後,也結束燒錄下載流程。 我們開啟 Tera term 終端模擬連線工具,序列埠選擇 Nu-Link Virtual Com Port 編號 - COM5。其它的連接埠設定如畫面呈現。如畫面設定。 在完成設定後,點選確定並按下開發板上的 Reset 按鍵。 Tera term 將印出 AliOS-Things 的開機資訊並提供命令模式。 我們接著將網路線接到具備網際網路連線功能的路由器上, 接上後,終端機顯示 plugged!! 100 full,代表乙太網路實體連接交握完成,這時,輸入 netmgr start 指令進行本地IP網路連接。在成功連接之後,範例程式也會連接上阿里雲。我們接著按下板子上 SW2 和 SW3 按鍵,由於在範例程式內,同時訂閱與發佈同一個 Topic ,在終端機上顯示按鍵被按下、按鍵被按下事件訊息被發佈到雲服務器後和 收到從雲服務器發過來的訊息。 我們亦可在阿里雲物聯網平台頁面上,查看從設備發佈的主題訊息。點選左邊的日誌服務,產品選擇numicro_iot,切換到上行消息分析分頁,在MessageID 欄位這邊第一個數字連結,彈出一個小視窗,內容選項選擇 Text(UTF-8) 後,右邊的訊息顯示 SW3 pressed!,代表雲服務器成功接收並儲存這個訊息至資料庫。 以上,是設備上行的測試; 我們接著進行下行至設備測試: 點選左邊的設備,找到設備名稱 test_01,點選查看,切至 Topic 列表分頁,在設 user/data 這個 Topic,點選發佈消息 ,它彈跳出一個小視窗,我們在消息內容的欄位上 ,填入 LED*=OFF 字串,並點選確認。在按下確認後,板子的 3 顆 LED 燈就熄滅; 再發佈LED*=ON 訊息一次,板子的 3 顆 LED 燈就亮起。到這裡,我們完成了測試。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/numaker-iot-m487 聯絡我們: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #zh-Hant
This website uses cookies to ensure you get the best experience on our website. Learn more
OK