NORA-W30 series - System integration manual
UBX-22021119 - R02
Open CPU software
Page 30 of 52
C1-Public
•
During the installation make sure to include the two additional Packages:
o
Devel -> Make
o
Math -> bc
•
Open the Cygwin console window, go to the following folders and build the two projects:
o
$ cd /cygdrive/c/git/ambd_sdk/project/realtek_amebaD_va0_example/GCC-
RELEASE/
project_lp
/
o
$
make all
o
$ cd /cygdrive/c/git/ambd_sdk/project/realtek_amebaD_va0_example/GCC-
RELEASE/
project_hp
/
o
$
make all
•
Open the Flash tool located in:
o
C:\git\ambd_sdk\tools\AmebaD\Image_Tool\
ImageTool.exe
o
.NET 3.5 is required, and can be downloaded
o
Click
Chip Select (in red)
on UI and select chip
AmebaD (8721D)
o
Select comport and the baudrate
1500000
•
Select the following three images on the following addresses:
o
Address
0x08000000:
C:\git\ambd_sdk\project\realtek_amebaD_va0_example\GCC-
RELEASE\project_lp\asdk\image\
km0_boot_all.bin
o
Address
0x08003000:
The
system.bin
is not used and should be left empty
o
Address
0x08004000:
C:\git\ambd_sdk\project\realtek_amebaD_va0_example\GCC-
RELEASE\project_hp\asdk\image\
km4_boot_all.bin
o
Address
0x08006000
C:\git\ambd_sdk\project\realtek_amebaD_va0_example\GCC-
RELEASE\project_hp\asdk\image\
km0_km4_image2.bin
•
Flash the NORA-W3 by the following:
o
Make sure the checkbox are checked for the tree files
o
Press
the
SW3 (RTK BOOTLOAD)
button and
keep it pressed
o
Reset
or power on the board
o
Release
the
SW3 (RTK BOOTLOAD)
button
o
Click the
Download
button to start the flashing
o
Reset
or power on the board
4.2.4
IAR Workbench setup
•
Download and install IAR Workbench v8.3.0 or newer from
☞
If a commercial license is not available, select the 14-day trial version to accommodate the output
size of the binary files. A commercial license is required beyond the trial period.
•
During the installation, select the SEGGER J-Link debugger for the RTL8720DF in NORA-W30.
•
Clone the Realtek SDK as noted in
•
Compile the binary images for the RTL8720.
o
Details for configuring and compiling binary images for KM0 (LP) and KM4 (HS) cores can be
found in section 6 of the Realtek Ameba-D application note
. Applications will have a
minimum of four binary files:
▪
KM0 bootloader
▪
KM0 application
▪
KM4 bootloader
▪
KM4 application
▪
KM4 secure application (uses Arm TrustZone, optional)