Upload
others
View
8
Download
0
Embed Size (px)
Citation preview
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 1
Installation Guide for MV320
(Windows CE 5.0)
MicroVision.,Cd.Ltd
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 2
Document Information
Version 1.0
File Name MV320 Windows CE 5.0 Guide.doc
Date 2009.2.6.
Satus Working
Revision History
Date Version Update Descriptions Editor
2009.2.6. V1.0 First Edition Jongill Wee
MV320-LCD WinCE BSP User Guide
Copyright © 2007 MicroVision Co.,Ltd. All rights reserved.
Published by MicroVision Co.,Ltd.
(☎) +82-2-3283-0101, (*) [email protected]
http://www.microvision.co.kr, http://www.mvtool.co.kr
Room #610, Hanshin IT Tower 235, Guro3-dong, Guro-gu, Seoul, Korea.
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 3
Contents……………………………...…….....
1. Outline ……………………………………………….……...……4/88
2. Packages…………………………….………….……………....…6/88
3. To Install Windows CE 5.0………………………………...……10/88
4. To Install eMbedded Visual C++ 4.0……….………………..…19/88
5. Copying BSP and Setting up Platform Builder………….….…29/88
6. Installing XDB for using Black Stone
for programming Bootloader……………………………..……38/88
7. Downloading………………………….……………………..……61/88
8. Making SDK for using application of program ….….…………66/88
9. Setting for Application………………………………..……….…74/88
10. Doing Application of program (Camera, DMB)..………...……85/88
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 4
1. Outline
This solution board is developed with the Xscale Core Monahans PXA320P processor
(806MHz) which allows testing of every functionality required for developimg luxury
navigation and other mobile terminals like Smart Phone and PMP. The product is
equipped with 7” wide TFT-LCD screen and a movie player with touch screen
to provide optimal environment for 3D Graphic and moving pictures. The product is
applied with circuit design for battery charging which is an essential function for
mobile devices. This product truly demonstrates an in- depth mobile solution.
▶ PXA320 (Monahans) / ARM11 Based on XScale Core
ㆍ Equipped with high performance processor PXA320 based on XScale Core
ㆍ Features PXA320-P model which is equivalent to 806MHz based on ARM11 Core
ㆍ Extra Built-in Mini LCD Controller which is adequate with LCD Controller and Smart
Phone (Allows control of two LCD with one PXA320)
ㆍ Uniquely supports NAND Flash and DDR memory among Xscale processor
ㆍ Features SD/MMC Controller
▶ Features high performance and low-cost memory cell for mass production
ㆍ Equipped with NAND Flash (128MB) which is low-cost and has lager storage space
than NOR Flash
ㆍ Equipped with DDR (Dual DRAM Ver.2) which is twice as fast as tradition SDRAM
▶ Features 7” wide TFT-LCD and module for development of luxury navigation
ㆍ Equipped with 7” wide TFT-LCD, providing optimal environment to play the movie
or DMB, and also the electronic map. (Resolution Size 800 X 480)
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 5
▶ Features DMB module for portable broadcasting system
ㆍ Equipped with terrestrial DMB module which is one of the essential items for luxury
navigation
ㆍ The module is developed by SAMSUNG allowing easy development of luxury
navigation that uses SAMSUNG GPS module
▶ Features 3D graphic engine for development of next-generation 3D electronic maps
and games
ㆍ Equipped with OpenGL ES hardware F3D2000
▶ Renders 3D sound system for stereophonic sound effect
ㆍ Provides 3D sound system for mobile terminal, which conventionally has been
only available in theater
▶ Equipped with high-resolution camera module for portable DVR, movie shot and
screen capture.
ㆍ Equipped with 2M Pixel of High-resolution In-house developed CMOS camera
module
▶ Super High Speed USB 2.0 for best development environment
ㆍ USB 2.0 Device interface based on 480Mbps of maximum speed
ㆍ Provides best development environment with high-speed image downloading
capability for Windows CE, Linux BSP
▶ Features Battery for mobile applications and charging circuits for mass production
of mobile terminals
ㆍ Beyond the simple adapter type used in reference and training kit, the product
supports
main and Sub-Battery which are essential for real mobile devices
ㆍ Features Battery charging circuit and software that are applicable for mobile
devices
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 6
2. Packages
Item Description
Base Board
PXA320(806MHz), DDR2(128MB), NAND Flash(128MB),
UART(2), Camera(2.0M), GPS, CF(1), SD/MMC(2), USB 1.1
Host/Device, USB 2.0 Device, Ethernet(1),
Audio(SPK/MIC), Keypad, I/O Extension.
Board
LCD 7” Wide TFT-LCD (WVGA, 800 * 480, 64K Color, Touch)
Power AC Power Adaptor (Output: DC 5V, 3A) 1 EA
Cable Serial Cable 1EA, USB Cable 1EA
CD BSP Images & Sources, Schematic, Data Sheet, Document
Antenna GPS Antenna 1EA
Camera 2.0Mega Pixel (CMOS type)
Battery 2000mAH 1EA, Backup Mini Battery 1EA
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 7
Layout
-Front-
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 8
-Back-
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 9
H/W Specifications
Item Description
CPU(MCU) XScale PXA320-P (Monahans-P, 806MHz)
DDR2(SDRAM) Samsung 64MB DDR2(Dual DDR) 2EA (128MB)
FLASH Samsung NAND Flash 128MB 1EA
Ethernet SMSC LAN91C(10/100Mbps Fast Ethernet) 1 Port
Display 7” Wide TFT-LCD(WVGA, 800*480, 64K Color), Touch
GPS(Navigation) Samsung GPD14B001007(GPS Module)
Camera 2.0Mega Pixel CIS Module, CMOS type
UART UART 2 Ports(Debug, FFUART)
USB USB 1.1 Host/Device(slave), USB 2.0 Device
Card Socket CF Card Socket 1 EA, SD/MMC Card Socket 2 EA
Audio AC97 Audio Codec(MIC & SPK)
I/O Extension GPIO, Address, Data Bus Pin (44 Pin Header)
Emulator 20 Pin JTAG Emulator Port 1 EA (Debug & Download)
Power DC 5V Jack, Battery Connector
S/W Specifications
OS(BSP) Description
Toolchain Platform Builder 5.0 version Windows CE
BSP Windows CE .net 5.0 version
(arm-linux) gcc 4.1.1 version
(arm-linux) glibc 2.5 version Toolchain
(arm-linux) binutil 2.16.92 version
Boot Loader Blob 2.0.5-pre3 version
Kernel Embedded Linux Kernel 2.6.14.6 version
Linux
File System JFFS2
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 10
3. To Install Windows CE 5.0
Your host PC System Requirements
▶ 266 MHz Pentium II or faster process, 500 MHz recommended
▶ Windows 2000 Professional Service Pack4, Windows XP Professional Service Pack2
▶ 128 MB of RAM, 192 MB requires to run Emulator
▶ 1.7 GB of available hard-disk space for single processor, 14 GB for full install
I would like to recommend Windows full Update through the web site of Microsoft
before installing Windows CE 5.0
Please, Insert the Windows CE 5.0 CD disc 1 in the appropriate drive of your PC
Click “Install”
Please, wait within a short time
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 11
Click “NEXT”
Select “I accept the terms in the license agreement” and then Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 12
Fill in the product key and then, Click “NEXT”
Select “Custom (Tools and OS)”, and then Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 13
I would like to recommend in the path C:\. Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 14
You have to add both ARMV4I and XSCALE for the use of the ARM9 and PXA2XX
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 15
Select “I accept the terms in the license agreement” and then Click “NEXT”
Click “Install”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 16
This is installing Windows CE 5.0 CD Disc
Make an exchange CD 2 Disc and then, Click “OK”
Make an exchange CD 5 Disc and then, Click “OK”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 17
Done
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 18
You can download “Windows CE QFE” from “Microsoft Download Center” and have to
install taking QFE in turns the number of days.
I installed “Windows CE QFE” 2005.12.31 from 2007.9.30.
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 19
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 20
4. To Install eMbedded Visual C++ 4.0
Select “I Microsoft eMbedded Visual C++ 4.0 with SP4” and then Click “NEXT”
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 21
Select “I accept the agreement” and then Click “NEXT”
Fill in the product key and then, Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 22
Click “NEXT”
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 23
Click “Yes”
Click “OK”
Click “Continue”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 24
Click “OK”
Click “Continue”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 25
Click “OK”, Done
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 26
To Install eMbedded Visual C++ 4.0 SP4
Click “NEXT”
Select “I accept the terms in the license Agreement”, Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 27
Click “install”
Done
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 28
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 29
5. Copying BSP and Setting Up PLATFORM Builder
Please Copy ZYLONITE BSP in \SRC\WinCE\PLATFORM directory to
C:\WINCE500\PLATFORM directory on your host PC.
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 30
Make new folder “\PBWorkspaces\MV320” directory and then, copy
mv320_kor.pbxml BSP in \SRC\WinCE\PBWorkspaces\mv320_kor directory to
C:\WINCE500\PBWorkspaces\MV320 directory on your host PC.
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 31
Execute mv320_kor.pbxml in C:\WINCE500\PBWorkspaces\MV320
This is Windows CE 5.0 included MV320 BSP
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 32
Make sure that the *.cec file and batch file in C:\WINCE500\PLATFORM\
ZYLONITE\ directory has the same name as that of the BSP Zylonite.cec
Please the following window appears on your screen.
File -> Manage Catalog Items
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 33
Click “Import”
Click Zylonite.cec of file in C:\WINCE500\PLATFORM\ ZYLONITE directory and
then click “Open”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 34
Make sure zylonite.cec of file and then click “OK”
EBOOT.nb0, EBOOT.bin, NK.bin and NK.nb0 is now available in
C:\WINCE500\PBWorkspaces\MV320\RelDir\Zylonite_ARMV4I_Release.
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 35
Please the following window appears on your screen.
Platform -> Settings
Make sure a language
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 36
After make sure options, Click “OK”
Make sure Release of mode
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 37
Click “Sysgen”
Sysgen successful
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 38
6. Installing XDB for using Black Stone for programming Bootloader
PXA320P designed NAND of Flash. As you know that Nor of flash designed Address of lines
but NAND didn’t design Address of lines so that Common JTAG Emulator can not transmit
Data with NAND of flash Because JTAG Emulator can transmit through address of line to Flash
on the Board. But from Marvell product that Black Stone can transmit NAND of flash your
wants Data through printer cable.
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 39
Run “w_XDB_u_3.2.004.exe”
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 40
Click “Marvell(R) eXtreme Debugger 3.2”
Click “Install Now”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 41
Click “NEXT”
Select “I accept the terms in the license agreement” and then click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 42
Click “NEXT”
Click “Browse” for loading license
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 43
Select “marvell_dbg_30_June_2009.lic” and then click “Open”
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 44
Click “Install”
Click “OK”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 45
Click “NEXT”
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 46
Click “NEXT”
Click “Install”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 47
Click “Finish”
Click “Yes”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 48
Select “Yes, I want to restart computer now” and then click “Finish”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 49
Copy BGP_MH_NAND.bd, BGP_MH_NAND.bin to C:\Program
Files\Marvell\XDB3.2\plugin\marvellpxa\flash\burnalg
BGP_MH_NAND.bd, BGP_MH_NAND.bin which are NAND of logic
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 50
Running “Black Stone”
-> Start
-> Programs
-> Marvell(R) Software Development Tools
-> Marvell(R) eXtreme Debugger 3.2
-> XDB Configurations
-> JTAG Debugger
-> JTAG PXA320
Click “Settings”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 51
After make sure options, Click “OK”
Click “Start”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 52
XDB
Click “Icon”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 53
Make sure “options”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 54
You have to select “Initialize NAND flash” and run “Execute” when first soldered NAND of
Flash on the MV320 of Board.
Warning! Do only once not to be failed.
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 55
Programming Boot
Set up offset number 0 and then click “…”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 56
Select “MOBM_bc.nb0 and then click “Open”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 57
Click “Burn”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 58
Set up offset number 0x20000 and then click “…”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 59
Select “EBOOT.nb0” and then click “Open”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 60
Click “Burn”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 61
7. Downloading
You can understand how to download NK.bin. Please the following window appears on
your screen.
First, you have to set up environment such as Connect Ethernet cable with your Host
PC to download NK.bin and also UART for monitoring.
Set up HyperTerminal
Start -> Programs -> Accessories -> Communications -> Run “HyperTerminal”
Setting port
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 62
(115200/8/none/1/none)
As soon as turn on the power of button . appears Eboot menu. SPACE BAR
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 63
Eboot Main Menu
[0] IP address: 192.168.80.1 : Setting IP Address
[1] Subnet Mask: 255.255.255.0 : Setting Subnetmask
[2] Boot delay: 3 seconds : Count number 0~255
[3] DHCP: (Disabled) : DHCP (enabled / disabled)
[5] Auto Download image at startup(Disable) : Setting automatic NK.nb0
[8] Initialize Download RAM
[D] Download image now : Download to SDRAM
[M] Download image with SDMMC Card
[L] Launch existing flash resident image now
[C] Read current RTC time
[S] Set BSP Configuration : KITL
[U] Go to image update(Disabled)
[F] Format User Partition(Disabled)
[T] Test Menu
After setup your wants IP address and then Select “d”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 64
Target -> Connectivity options-> download settings->active device(“MV320xxxx” )
Target -> Attach_Device (Ctrl+Shift+D)
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 65
It is being download NK.Bin Host PC to MV320 of Board
Booting done after download NK.BIN
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 66
8. Making SDK for using application of program
You’d like to use Visual C++ 4.0. You should make SDK. Please the following window
appears on your screen
Platform menu, SDK -> Click “New SDK”
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 67
Please fill in your wants a word. Click “NEXT”
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 68
Click “Finish”
For SDK of Building, Platform menu -> SDK -> Click “Build SDK”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 69
As soon as done that made mv320_kor_SDK.msi, Click “Done”
You can see in C:\WINCE500\PBWorkspaces\MV320\SDK directory
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 70
Please install mv320_kor_SDK.msi in C:\WINCE500\PBWorkspaces\MV320\SDK
directory
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 71
Click “Accept” and then Click “NEXT”
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 72
Click “Complete”
Click “NEXT”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 73
Click “Install”
Done
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 74
9. Setting for Application
First Install ActiveSync
It is easy for you to download from Web Site http://www.microsoft.com/downloads
KeyWord : ActiveSync
Run eMbedded Visual C++ 4.0
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 75
File menu -> Select “NEW”
Click “WCE Application” Project menu, Fill in project name, Click “OK”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 76
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 77
Click “Finish”
Click “OK”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 78
On the your PC screen mv2320. Because you had installed SDK
Select menu File -> Open, Load in X\SRC\WinCE\Camera\TestCamera
“TestCamera.vcw” directory and then click “Open”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 79
Please connect USB cable with Board of mv320 for transmitting through Active Sync
Test Camera of program sources
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 80
Select menu Tools -> Configure Platform Manager
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 81
Click “Properties”
Click “Configure”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 82
You can automatically transmit TCP/IP through serial
Click “OK”
Make sure options and then click “OK”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 83
Click “OK”
Select “Build TestCamera.exe” as soon as build automatically transmit to Board
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 84
It is connecting to MV320 of Board
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 85
10. Doing Application of program (Camera, DMB)
▶ Camera
Please click “My Device” -> Windows -> TestCamera
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 86
Click “PERVIEW”
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 87
▶ DMB
Copy XSRC\WinCE\DMB\Input_Output_Interface All of files to SDCARD
MV320 Windows CE 5.0 Guide MicroVision
MV320 Windows CE 5.0 Guide 88
After connect Antenna of DMB, Insert to mv320 of Board and then run
lgmm1102_dmb_host.exe
Click “Scan” -> Click “TV” -> Click “LCD”