Search

Selected option

Search Results

SearchSPI , find 12 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 - 5:3
新唐 NuMicro 微控制器家族 SPI 範例程式介紹 - 演示如何透過 SPI 介面來對 SPI Flash 做資料的存取。 【W25Q32 datasheet】 https://www.winbond.com/resource-files/W25Q32JV%20RevI%2005042021%20Plus.pdf #Training #Basic #zh-Hant #Learning - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw 聯絡我們:SalesSupport@nuvoton.com
훈련  공부하다    Watch time - 15:35
新唐 NuMicro 微控制器家族 SPI 基本功能與範例介紹。 #Training #Basic #zh-Hant #Learning - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/ 聯絡我們: SalesSupport@nuvoton.com
훈련  공부하다    Watch time - 7:34
NuMicro M031/M032 Series SPI Sample Code : Demonstrate how to access SPI Flash via SPI interface. 【Datasheet of SPI Flash W25Q35】 https://www.winbond.com/resource-files/W25Q32JV%20RevI%2005042021%20Plus.pdf #SPI #Training #Level1 #Workshop #SampleCode #SerialPeripheralIngerface #SPIFlash #W25Q35 #ReadID #Read #Program #Basic #General #Training #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 - 10:58
The introduction of SPI of Nuvoton NuMicro Family Microcontroller: basic functions and examples. #en #Learning #Basic #Training - 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 - 3:15
1. 展示如何使用 ICP Programming Tool 將韌體存放至 Nu-Link2-Pro 內部的 SPI Flash 裝置,接著連接目標晶片後,按下觸發按鈕完成離線燒錄。 2. 展示如何使用ICP Programming Tool 將韌體存放至Nu-Link2-Pro 內部的SPI Flash 裝置,接著連接目標晶片後,外部信號透過Control Bus介面完成離線燒錄,此介面連接自動燒錄機台非常方便。 #zh-Hant #Tool #Training #Intermediate #Learning - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/nu-link2-pro 聯絡我們:SalesSupport@nuvoton.com
훈련  도구  공부하다  Watch time - 3:24
1. Show how to use the ICP Programming Tool to store the firmware to the SPI Flash device inside Nu-Link2-Pro, then after connecting the target chip, press the trigger button to complete offline programming. 2. Demonstrate how to use the ICP Programming Tool to store the firmware to the SPI Flash device inside Nu-Link2-Pro, and then connect the target chip. The external signal completes offline programming through the Control Bus interface. This interface connecting to the automatic programming machine is very convenience. - 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 - 3:23
Demonstrate how to use the ICP Programming Tool to generate a programming file, and use the PC to save the firmware to the USB/SD storage device, insert the USB/SD storage device into Nu-Link2-Pro, and then connect the target chip, press the trigger button to complete offline programming. - 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 - 3:9
展示如何使用ICP Programming Tool 產生燒錄檔案,並使用PC 將韌體存放至USB/SD 儲存裝置後,將此USB/SD 儲存裝置插入Nu-Link2-Pro,接著連接目標晶片後,按下觸發按鈕完成離線燒錄。 #zh-Hant #Tool #Training #Intermediate #Learning - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/nu-link2-pro 聯絡我們:SalesSupport@nuvoton.com
훈련  공부하다    Watch time - 15:35
新唐 NuMicro 微控制器家族 SPI 基本功能與範例介紹。 #Training #Basic #zh-Hant #Learning - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/ 聯絡我們: SalesSupport@nuvoton.com
Watch time - 3:12
本方案使用 NuMicro M480 高效能 M4 微控制器,搭配 emWin library 進行 GUI 圖像化人機介面設計,將結果顯示在 2” OLED 上。NuMicro M480 系列微控制器是新唐的最新產品,透過這個系列產品高達 192 MHz 的強大運算能力和多達 160 KB 的 SRAM,並且搭配 2 吋 OLED 螢幕,來達到流暢地解碼及播放 GIF 動態影像,那這個方案包含了三大重點: 第一點:我們使用了新唐 M480 高效能微控制器,透過高速 SPI 控制 OLED 來顯示炫麗的動態效果 第二點:本方案已內建 GIF 解碼和多種字型的 Library,如果有其他字型需求,可以透過新唐字型轉換工具載入其他字庫,再加上 emWin Library 的使用,快速開發完成高質感使用者介面。 第三點:本方案可以應用於有顯示功能需求的產品,如電競主機板,可以高效地動態顯示溫度、風扇轉速和硬碟狀態等 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 聯絡我們:SalesSupport@nuvoton.com ---- Today we are going to introduce our reference design OLED Display with GIF Format Decode featuring the NuMicro M480 series microcontroller. As you can see, the microcontroller controls the 2-inch OLED screen and GIF files can be played on it. The M480 series runs up to 192 MHz with 512 KB embedded Flash memory and 160 KB embedded SRAM. The high-performance MCU decodes GIF motion graphics smoothly. There are three major features about this reference design: First: We use the Nuvoton M480 high-performance microcontroller to control the OLED through high-speed SPI to showcase dynamic effects. Second: This solution has built-in GIF decoding and various font libraries. If there are other font requirements, you can load other fonts through the Nuvoton font conversion tool, and use the emWin Library to develop a high-quality user interface quickly. Third: It can be applied to products requiring display functions, such as e-sports motherboards, which can dynamically display temperature, the speed of the fan and the status of the hard disk. The OLED device has a 2-inch OLED screen with a resolution of 256*64. There is an SD card slot underneath, which obviously is for data storage and the storage status is shown on the OLED screen. The right side, there is a high-speed USB for PC connection as a flash drive. A headphone jack is on the left, I’m sure you all know how it works.
Watch time - 13:6
NuMicro® Family ARM Cortex™ -M0 32位MCU NUC100 Series SPI
This website uses cookies to ensure you get the best experience on our website. Learn more
OK