Search
Search Results
SearchPin Config ,
find 22 items
- Sort by
- Most recent
- Popularity
제품
도구
공부하다
Watch time - 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
애플리케이션
공부하다
Watch time - 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
도구
애플리케이션
공부하다
Watch time - 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
#修改Ubuntu內部網路設定
#learning
#網頁與開發板互動範例
#遠端監控
#Remote control
#IoT
#RTU
#zh-Hant
#NuMaker-RTU-NUC980
#使用Webcam拍攝照片
#RemoteControl
#創建分享給開發板的資料夾
#設定Network_File_System
#設定網路IP位址
#NuMicro
#新唐科技
#虛擬機透過PC端網路連上網
#tool
#物聯網
#NUC980
#遠端資料存取
#Nuvoton
#Linux
#application
#RemoteMonitoring
#intermediate
#MCU
#Remote monitoring
애플리케이션
공부하다
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.
#zh-Hant #Learning #Basic #Application
-
更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC
購買管道:https://direct.nuvoton.com/tw
聯絡我們:SalesSupport@nuvoton.com
도구
공부하다
Watch time - 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
도구
공부하다
Watch time - 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
제품
도구
공부하다
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 - 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 - 4:53
#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
#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 - 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
훈련
도구
공부하다
Watch time - 5:53
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to connect to AWS IoT service using MbedOS on NuMaker-IoT-M487 development board
The sample code is on GitHub, the URL is https://github.com/OpenNuvoton/Mbed-to-AWS-IoT
To avoid typos, use keyword “OpenNuvoton” to search on google.
Find the Nuvoton on GitHub, and click it
On the Nuvoton GitHub page, use AWS as keyword to search the sample code: Mbed-to-AWS-IoT
Right click to copy the URL for later use.
Then enter the URL https://ide.mbed.com
After log in, make sure the NuMaker-IoT-M487 board has selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS”. There is detailed description of how to add a board.
Click the “Import” on the left of menu bar.
In the “Import Wizard”, click “Click here”
Please paste or key in the sample code URL to “Source URL:”,
Select Import as “Program”
Click “Import Name”, the project name “Mbed-to-AWS-IoT” will be filled automatically.
Then click “Import”.
After sample code imported, click “mbed_app.json” to open it.
To use Wi-Fi, you have to configure SSID and password to match your Wi-Fi AP setting.
In NuMaker_IOT_M487 session of mbed_app.json file, find the “wifi-ssid” to set your SSID. It is at line 44.
And then set password to “wifi-password”. It is at line 45.
Save it and click “Compile” to build the code.
It takes time to compile code, please wait.
You need an AWS account to use AWS IoT Core service. To create a thing, a policy, and certificates, then put the certificate to MQTT_server_setting.h file in the sample code. The sample code has included a certificate provided by Nuvoton for test only, so that you can quickly operate this example. If you don’t have an AWS account, it is recommended that you apply for an account and use your certificates in the example to observe the connection status on AWS IoT console page.
After completed, “Success” will appear in the compile output window.
The browser downloads the binary firmware file directly after a successful compiling. It will be saved in a default download folder. In Chrome, you can click download file and select “Show in folder”.
Then we connect the NuMaker-IoT-M487 USB port to your computer.
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.
Back to the folder you just download the binary firmware file (Mbed-to-AWS-IoT.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive.
You will see the copying progress dialog box.
You can see the messages on terminal.
The device has acquired IP address from Wi-Fi AP, then successfully connect to AWS IoT and subscribe a topic.
Then press button (SW2) on board to send a message.
You can see the message published to server and received a message from server.
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 “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