Search
Search Results
SearchNuMaker-emWin-RDK-N9H30 ,
find 1 items
- Sort by
- Most recent
- Popularity
Product
Tool
Learning
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