installation guide for mv6410 (windows ce 6.0)boardset.com/manual/mv6410_windowsce_guide.pdf ·...
TRANSCRIPT
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 1
Installation Guide for MV6410
(Windows CE 6.0)
MicroVision.,Cd.Ltd
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 2
Document Information
Version 1.0
File Name MV6410 Windows CE 6.0 Guide.doc
Date 2009.1.29.
Satus Working
Revision History
Date Version Update Descriptions Editor
2009.1.29. V1.0 First Edition Jongill Wee
MV6410-LCD
Author: MicroVision. Co., Ltd.
Publisher: MicroVision. Co., Ltd.
Tel: +82-2-3283-0101
Fax: +82-2-3283-0160
E-mail: [email protected]
Homepage: www.microvision.co.kr, www.mvtool.co.kr
#610 Hanshin IT Tower 235, Guro3-dong, Guro-gu, Seoul, Korea
MicroVision. Co., Ltd.
Copyright @1991 MicroVision Co., Ltd. ,
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 3
Contents……………………………...…...…
1. Outline 4/91
2. Spec.
2.1. An Arrangement Plan 5/91
2.2. Packages 6/91
2.3. H/W Lists 7/91
3. Memory Map (oemaddrtab_cfg.inc) 8/91
4. Doing Boot mode Configuration 9/91
5. To Install Windows Embedded CE 6.0 12/91
6. Setting Up Windows CE 6.0 29/91
6.1. Setting up Environmental Windows CE 6.0 29/91
6.2. To Add to Catalog Items 41/91
7. Setting for downloading Host PC to Board 50/91
8. Making SDK 64/91
9. Loading Application of Camera 70/91
10. Needs for Porting 76/91
11. Doing Execution Camera, DMB, TVOUT 87/91
11.1 Camera 87/91
11.2 DMB 90/91
11.3 TV OUT 91/91
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 4
1. Outline
The MV6410 is a 16/32-bit RISC microprocessor, which is designed to provide a cost-effective, low-power
capabilities, high performance Application Processor solution for mobile phones and general applications.
To provide optimized H/W performance for the 2.5G & 3G communication services, the MV6410 adopts
64/32-bit internal bus architecture. The 64/32-bit internal bus architecture is composed of AXI, AHB and
APB buses. It also includes many powerful hardware accelerators for tasks such as motion video
processing, audio processing, 2D graphics, display manipulation and scaling. An integrated Multi Format
Codec (MFC) supports encoding and decoding of MPEG4/H.263/H.264 and decoding of VC1. This H/W
Encoder/Decoder supports real-time video conferencing and TV out for both NTSC and PAL mode.
Graphic 3D (hereinafter 3D Engine) is a 3D Graphics Hardware Accelerator which can accelerate OpenGL
ES 1.1 & 2.0 rendering. This 3D Engine includes two programmable shaders: one vertex shader and one
pixel shader.
The MV6410 has an optimized interface to external memory. This optimized interface to external memory
is capable of sustaining the high memory bandwidths required in high-end communication services. The
memory system has dual external memory ports, DRAM and Flash/ROM. The DRAM port can be
configured to support mobile DDR, DDR, mobile SDRAM and SDRAM. The Flash/ROM port supports
NOR-Flash, NAND-Flash, OneNAND, CF and ROM type external memory.
To reduce total system cost and enhance overall functionality, the MV6410 includes many hardware
peripherals such as a Camera Interface, TFT 16-bit true color LCD controller, System Manager (power
management & etc.), 4-channel UART, 32-channel DMA, 5-channel 32bit Timers with 2PWM output,
General Purpose I/O Ports, I2S-Bus interface, I2C-BUS interface, USB Host, USB OTG Device operating
at high speed (480Mbps), 3-channel SD/MMC Host Controller and PLLs for clock generation. The ARM
subsystem is based on the ARM1176JZF-S core. It includes separate 16KB Instruction and 16KB data
caches, 16KB Instruction and 16KB Data TCM. It also includes a full MMU to handle virtual memory
management. The ARM1176JZF-S is a single chip MCU, which includes support for JAVA acceleration.
The ARM1176JZF-S includes a dedicated vector floating point coprocessor allowing efficient
implementation of various encryption schemes as well as high quality 3D graphics applications. The
MV6410 adopts the de-facto standard AMBA bus architecture. These powerful, industry standard features
allow the MV6410 to support many of the industry standard Operating Systems.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 5
2. Spec.
2.1 An Arrangement Plan
- MAIN BOARD -
- BASE BOARD, Front -
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 6
- BASE BOARD, Back -
2.2. Packages
- Package Lists -
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 7
2.3. H/W Lists
ITEM Spec. Description
CPU S3C6410X ARM1176JZF-S CORE (533/667MHz) UFP / SIMD
SDRAM SAMSUNG mDDR 128MByte, 32bit access, clock speed 266MHz
NAND FLASH SAMSUNG NAND LARGE BLOCK 1Gb (128MByte)
NOR FLASH AMD NORFLASH 8Mb (1MByte), 16Bit (LIMIT 64Kbit)
AUDIO CODEC WM9713 STEREO 400mW, MIC IN, HEAD SET
GRAPHIC 3D/2D OpenGL 3D / 2D GRAPHIC CONTROLLER
USB 2PORT USB 2.0 OTG (HOST, CLIENT), USB HOST 1.1
UART 4PORT UART0: DEBUG, UART1: Bluetooth,
UART2: GPS, UART3: RXD, TXD, GND
VIDEO, (TV-OUT) 2PORT COMPOSITE
DMB GAON DMB GAON GDM-801, 1Ch SoC DAB/DMB Module, RF + BB :
T3500
CAMERA MICRON 2M PIXEL AUTO FOCUS , PREVIEW & SNAP SHOT
ETHERNET CS8900 10 BASE-T, LINK LED
SD/MMC 1PORT SD Host & High Speed Multi-Media Card Interface
HDD 1PORT FPC/FFC Connector Interface
BLUETOOTH UART1 BLUETOOTH TECHNOLOGY BASE ON CSR BC04-ROM
GPS GAON GPS
MODULE
GAON GGM-150E, SiEF Star III, GPS Engine Without
Antenna Engine Type, Size 15X13X27
LCD 7’WVGA 800X480 16bit (Data enable mode )
Battery (Option) 1530mAH @3.7V FULL OPERATION 1 HOUR
CHARGER,PMIC SMB122 AC & BATTERY SWITCHING 기능. PROTECTION,
AC PRESENT, CC-CV
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 8
3. Memory Map (oemaddrtab_cfg.inc)
NAME Physical Address Virtual Address Size(MB)
128MB DRAM 0x80000000 0x50000000 128
SROM SFR 0x90000000 0x70000000 4
TZIC0 0x90400000 0x71000000 4
FIMG-3DSE SFR 0x90800000 0x72000000 2
Indirect Host I/F 0x90A00000 0x74000000 2
USB Host 0x90C00000 0x74300000 2
DMA0 0x90E00000 0x75000000 2
2D Graphics 0x91000000 0x76100000 3
Post Processor 0x91300000 0x77000000 3
Camera I/F 0x91600000 0x78000000 1
JPEG 0x91700000 0x78800000 1
USB OTG LINK 0x91800000 0x7C000000 5
D&I (Security Subsystem Config) SFR 0x91D00000 0x7D000000 13
DMC, MFC, WDT, RTC, HSI TX/RX,
Keypad, ADC, SYSCON
0x92A00000 0x7E000000 1
TZPC, AC97, I2S, I2C, UART, PWM,
IrDA, GPIO, PCM, SPI
0x92B00000 0x7F000000 1
32 MB SROM (SRAM/ROM) BANK 0 0x93000000 0x00000000 16
CS8900 BANK 1 0x94000000 0x18000000 32
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 9
4. Doing Configuration Boot of mode.
▶ NAND Flash Boot Mode, DIP Switch
▶ NOR Flash Boot Mode, DIP Switch
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 10
▶ JUMP Mode
To Do Configuration JTAG
When you use JTAG Emulator.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 11
When you use JTAG Dongle.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 12
5. To Install Windows Embedded CE 6.0
Your host PC System Requirements
▶ PC with 933MHz or faster processor, 2GHz recommended
▶ Windows 2000 Professional Service Pack4, Windows XP Professional Service Pack2
▶ 512MB of RAM, 1GB recommended
▶ 118GB of available space required on installation derive
▶ DVD-ROM
I would like to recommend Windows full Update through the web site of Microsoft
before installing Windows CE 6.0
Procedure
▶ Step1 Installing Visual Studio 2005
▶ Step2 Updating Visual Studio 2005 Service Pack 1
▶ Step3 Installing Windows CE 6.0
▶ Step4 Updating .NET Compact framework 2.0 Service Pack 1
▶ Step5 Updating Windows CE 6.0 Service Pack 1
▶ Step6 Updating Windows CE qfe 2006
▶ Step7 Installing Virtual Machine Network Driver
▶ Step8 Updating Windows CE 6.0 R2
▶ Step9 Updating Windows CE qfe 2007, 2008
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 13
Step1 Installing Visual Studio 2005
Please, Insert the Visual Studio 2005 CD disc 1 in the appropriate drive of your PC
Select “Install Visual Studio 2005 ”
Click “NEXT”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 14
Select “I accept the terms of the license agreement”,
Fill in the product key and then Click “NEXT”
Select “install”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 15
Make an exchange CD 2 Disc and then, Click “OK”
Select “Finish”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 16
Step2 Updating Visual Studio 2005 Service Pack 1
Connect Web Site http://www.microsoft.com/downloads/
Enter a key word “Visual Studio 2005 Service Pack 1 or
VS80sp1-KB926601-X86-ENU.exe” search for VS 2005 SP1
Click “RUN”
Click “OK”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 17
Click “I accept”
Click “OK”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 18
Step3 Installing Windows CE 6.0
Click “NEXT”
Fill in the product key and then, Click “NEXT”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 19
Select “I accept the terms in the license Agreement”, Click “NEXT”
You have to add to ARMV4I for the use of the ARM of Core
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 20
Select “I accept the terms in the license agreement”, Click “NEXT”
Select “Install”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 21
Click “Finish”
Step4 Updating .NET Compact framework 2.0 Service Pack 1
Connect Web Site http://www.microsoft.com/downloads/
Enter a key word “.NET Compact framework 2.0 Service Pack 1”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 22
Step5 Updating Windows CE 6.0 Service Pack 1
Connect Web Site http://www.microsoft.com/downloads/
Enter a key word “Windows Embedded CE 6.0 Platform Builder Service Pack 1”
Click “RUN”
Click “NEXT”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 23
Select “I accept the terms in the license Agreement”, Click “NEXT”
Select “Install”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 24
Click “Finish”
Step6 Updating Windows CE qfe 2006
Connect Web Site http://www.microsoft.com/downloads/
Enter a key word “Windows Embedded CE 6.0 qfe”
Step7 Installing Virtual Machine Network Driver
Connect Web Site http://www.microsoft.com/downloads/
Enter a key word “Virtual Machine Network Driver”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 25
Step8 Updating Windows CE 6.0 R2
Connect Web Site http://www.microsoft.com/downloads/
Enter a key word “Windows Embedded CE 6.0 R2”
Click “RUN”
Click “NEXT”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 26
Select “I accept the terms in the license Agreement”, Click “NEXT”
Click “NEXT”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 27
Click “Install”
Click “Finish”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 28
Step9 Updating Windows CE qfe 2007, 2008
Connect Web Site http://www.microsoft.com/downloads/
Enter a key word “Windows Embedded CE 6.0 qfe”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 29
6. Setting up Windows CE 6.0
6.1. Setting up Environment Windows CE 6.0
In this chapter, you can understand how to copy the MV6410 Windows CE 6.0 BSP
and Setup the Platform Builder.
First,
Doing into the “Properties” In CD \Sources\WindowsCE\PLATFORM
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 30
Please remove “Read-only” and then click “OK”
Click “OK”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 31
To start the BSP installation, copy MV6410 BSP in \SRC\WindowsCE\PLATFORM
directory to C:\WINCE600\PLATFORM directory on your host PC.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 32
Please Make new folder “\OSDesigns\MV6410” directory and then,
Copy all of files MV6410.pbxml BSP in \Sources\WindowsCE\OSDesigns\MV6410
directory to C:\WINCE600\OSDesigns\MV6410 directory on your host PC.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 33
Execute MV6410.pbxml in C:\WINCE600\OSDesigns\MV6410
Select “ Platform Builder Development Settings” Click “Start Visual Studio”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 34
This is Windows CE 6.0 included MV6410 BSP
Click, Project -> MV6410 Properties
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 35
The OS Design Properties Pages window appears on your screen. Select Locale tab and click
Clear All button. It clears all the language settings in your platform. Now select English (United
States)
Now please uncheck the square boxes Enable KITL (no IMGNOKITL=1) in the Build Options
Properties in OS Design Properties Pages window and then click OK button.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 36
If you want to start over through New Platform, nothing copy “MV6410.pbxml”
Please the following window appears on your screen.
On the File menu in the Visual Studio 2005 window, click New -> Project
The following window appears on your screen. Click “OK” to continue
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 37
Click “NEXT”
The Board Support Packages (BSPs) window appears on your screen.
Select MV6410: ARMV4I and then click “Next”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 38
Select PDA Device from Available design templates list and then click “Next”
Select Mobile Handheld from Available design Variants list and then click “Next”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 39
Select the Application & Media you want to include in your platform and then click “Next”
The Networking & Communications wizard window appears on your screen. Click “Finish”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 40
Click “Acknowledge”
Done
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 41
6.2 To Add to Catalog Items
▶File System-RAM and ROM File System add
▶Registry Storage-RAM-based Registry add
▶Storage Manager-Binary Rom Image file System add
▶Storage Manager-FAT File System add
▶Storage Manager-Storage Manager Control Panel Applet add
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 42
▶Graphics-Direct3D Mobile add
▶Graphics-DirectDraw add
▶Media-DirectShow Video Capture add
▶Media-Video Codes and Renderers-WMV/MPEG-4 Video Codec add
▶Media-Windows Media Player add
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 43
▶ USB Function Driver add
▶ USB Host Support add
▶ USB Human Input Device(HID) Class Driver add
▶ USB HID Keyboard and Mouse add
▶ USB Storage Class Driver add
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 44
▶ OBEX File Brower add
▶ OBEX Inbox add
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 45
▶SD Memory add
▶USB Function Clients-Mass Storage add
▶USB Function Clients-serial add
▶Windows Embedded CE Test Kit add
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 46
▶ Serial Infrared (SIR) add
▶Bluetooth add
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 47
▶ For SDIO, add
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 48
Please make sure “MV6410 ARMV4I Release”
Click Build -> Advanced Build Commands -> Sysgen
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 49
Sysgen successful
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 50
7. Setting for downloading Host PC to Board
In this chapter, you can understand how to download STEPLDR.bin, Eboot.bin and
NK.bin. Please the following window appears on your screen.
First, you have to set up environment such as Board with Host PC and then Connect
USB 2.0 Device with your Host PC to download through USB and also UART for
monitoring.
To do configuration NOR Flash through the Dipswitch.
▶ NOR Flash Boot Mode, DIP Switch
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 51
Run DNW in \Sources\DNW
On the Configuration menu, click Options to set the UART/USB options. The following
window appears on your screen. Select Baud Rate and COM Port as shown in figure
“UART/USB options”, enter the download address as 0x50030000 and then click OK
button. But you want to work NK.nb0 without eboot.nb0 through the NOR Flash that
have to setup address 0x50100000 on the DNW.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 52
On the Serial Port menu, click Connect. Switch ON the reference board and then press
any key and then install the USB driver in \Sources\DNW driver directory.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 53
Enter “0”, On the USB Port menu, click “Transmit” and the following window appears
on your screen. Select EBOOT.nb0 file from C:\WINCE600\OSDesigns\MV6410
\RelDir\MV6410_ARMV4I_Release directory and then click “Open”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 54
As soon as EBOOT.nb0 download is over, the following messages appear in the DNW
window. Please hit the SPACE BAR key to view the current Ethernet Boot Loader
Configuration. Configure the Ethernet Boot loader as follows by entering the respective
options.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 55
This is Eboot. Click number “6”(Enabled) and then “U”
USB Port menu, click UBOOT(WINCE500) -> UBOOT
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 56
Select STEPLDR.bin file from C:\WINCE600\OSDesigns\MV6410\RelDir
\MV6410_ARMV4I_Release directory and then click “Open”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 57
REBOOT
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 58
Enter “0”, On the USB Port menu, click “Transmit” and the following window appears
on your screen. Select EBOOT.nb0 file from C:\WINCE600\OSDesigns\MV6410
\RelDir\MV6410_ARMV4I_Release directory and then click “Open”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 59
As soon as EBOOT.nb0 download is over, the following messages appear in the DNW
window. Please hit the SPACE BAR key to view the current Ethernet Boot Loader
Configuration. Configure the Ethernet Boot loader as follows by entering the respective
options.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 60
This is Eboot. Click number “6” (Enabled) and then “U”
USB Port menu, click UBOOT(WINCE500) -> UBOOT
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 61
Select EBOOT.bin file from C:\WINCE600\OSDesigns\MV6410\RelDir
\MV6410_ARMV4I_Release directory and then click “Open”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 62
Please reboot After Setting NAND of Boot
▶ NAND Flash Boot Mode, DIP Switch
The following window appears on your screen. First make sure number 6 “Enabled” and
then Select F -> 9 -> U
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 63
Select NK.bin file from C:\WINCE600\OSDesigns\MV6410\RelDir
\MV6410_ARMV4I_Release directory and then click “Open”
But you want to work NK.nb0 without eboot.nb0 through the NOR Flash that have to
setup address 0x50100000 on the DNW.
Done
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 64
8. Making SDK
You’d like to use Visual Studio 2005 with Application of program. You should make SDK.
Please the following window appears on your screen
Project menu, -> Click “Add New SDK”
Fill in your wants name and then click “OK”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 65
Build menu, -> Click “Build All SDKs”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 66
Install SDK.mis in C:\WINCE600\OSDesigns\MV6410\SDKs\SDK2\MSI directory
Click “NEXT”
Select “Accept” -> Click “NEXT”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 67
Click “NEXT”
Select “Complete”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 68
Click “NEXT”
Click “Install”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 69
Click “Finish”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 70
9. Loading Application of Camera
Run Visual Studio 2005
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 71
Click File -> NEW -> Project
Select “Smart Device” -> “MFC Smart Device Application” -> Fill in name and then click “OK”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 72
Click “NEXT”
Select “MV6410” Press the button “>” and then click “NEXT”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 73
Select “Dialog based”, “Use MFC in a static library” and then click”NEXT”
Click “NEXT”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 74
Select “ActiveX controls” Click “NEXT”
Select “Ccamera_testApp” Click”Finish”
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 75
Done
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 76
10. Needs for Porting
CPU Selection
▶In order to port bsp of MV6410 from bsp of SMDK6400 easily. there is pre-defined
values for CPU Name in three files
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
C:\WINCE600\PLATFORM\MV6410\SRC\Inc\bsp_cfg.h
C:\WINCE600\PLATFORM\MV6410\SRC\Inc\s3c6410.inc
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_SMDK6410=1
set BSP_SMDK6400=
set BSP_SMRP6410=
C:\WINCE600\PLATFORM\MV6410\Src\Inc\bsp_cfg.h
#define S3C6400 (1)
#define S3C6410 (2)
#define CPU_NAME (S3C6410)
C:\WINCE600\PLATFORM\MV6410\SRC\Inc\s3c6410.inc
CPU_NAME SETA S3C6410
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 77
System Clock Configuration
▶You can change System Clock Speed (including CPU Clock)
▶There are three pre-defined values for control system clock speed in two files
MV6410\SRC\Inc\bsp_cfg.h
MV6410\SRC\Inc\s3c6410.inc
▶Default setting is 532Mhz/133Mhz/33.25Mhz. (ARM/HCLK/PCLK)
MV6410\SRC\Inc\bsp_cfg.h
#define S3C6410_APLL_CLK CLK_667MHz // CYM - MV6410 667MHz
//#define S3C6410_APLL_CLK CLK_800MHz
//#define S3C6410_APLL_CLK CLK_1066MHz
MV6410\SRC\Inc\s3c6410.inc
S3C6410_APLL_CLK SETA CLK_667MHZ ; CYM - MV6410(667MHz)
;S3C6410_APLL_CLK SETA CLK_800MHZ
;S3C6410_APLL_CLK SETA CLK_1066MHZ
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 78
LCD Display Module Configuration
▶You can change LCD module type for SMDK6410 board
▶There are four pre-defined LCD module configuration in BSP
LTS222 : Portrait 2.2” QVGA
LTV350 : Landscape 3.5” QVGA (SMDK6410 Base Board Rev0.0)
LTE480 : Landscape 4.8” WVGA (SMDK6410 Base Board Rev0.1)
EMUL48_D1 : Landscape 4.8” WVGA works as D1 (720x480)
EMUL48_QV : Landscape 4.8” WVGA works as QVGA (320x240)
EMUL48_PQV : Landscape 4.8” WVGA works as PQVGA (240x320) Rev0.1)
LTP700 : Landscape 7” WVGA
MV6410\SRC\Inc\bsp_cfg.h
#define LCD_MODULE_LTS222 (0)// Portrait 2.2" QVGA RGB16
#define LCD_MODULE_LTV350 (1)// Landscape 3.5" QVGA RGB16
#define LCD_MODULE_LTE480 (2)// Landscape 4.8" WVGA RGB16
#define LCD_MODULE_EMUL48_D1 (3)// Landscape 4.8" WVGA RGB16 as D1 (720x480)
#define LCD_MODULE_EMUL48_QV (4)// Landscape 4.8" WVGA RGB16 as QVGA (320x240)
#define LCD_MODULE_EMUL48_PQV (5)// Landscape 4.8" WVGA RGB16 as PQVGA (240x320)
#define LCD_MODULE_EMUL48_ML (6)// Landscape 4.8" WVGA RGB16 as 480x320
#define LCD_MODULE_EMUL48_MP (7)// Landscape 4.8" WVGA RGB16 as 320x480
#define LCD_MODULE_LTP700 (8)// Landscape 7" WVGA RGB24
#define SMDK6410_LCD_MODULE (LCD_MODULE_LTE480)
If you want use any other module than pre-defined in BSP, you should define several
definitions related to LCD module dimensions as sample code in bsp_cfg.h, and
implement LDI_fill_output_device_information() function and module control functions
(LDI_XXX()) in C:\WINCE600\PLATFORM\MV6410\Src\Drivers\Display
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 79
Display Driver Configuration
▶Display device can be disabled. (set BSP_NODISPLAY=1)
▶If you clear BSP_NODISPLAY as following code, Display driver will be included in OS
image
▶Default setting is enabled.
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NODISPLAY=
Setting BSP_NODISPLAY=1 means that display driver is removed from OS image.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 80
UART Debug Port Configuration
▶There are two UART port available for debug. You can use one port at a time.
▶If you set BSP_DEBUGPORT as following code, Debug port will use UART0
▶Default setting is UART0
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_DEBUGPORT=SERIAL_UART0
@REM set BSP_DEBUGPORT=SERIAL_UART1
@REM set BSP_DEBUGPORT=SERIAL_UART2
@REM set BSP_DEBUGPORT=SERIAL_UART3
▶You can change Baudrate for debug port also
▶Default setting is 115200 bps
MV6410\SRC\Inc\bsp_cfg.h
#define DEBUG_UART0 (0)
#define DEBUG_UART1 (1)
#define DEBUG_UART2 (2)
#define DEBUG_UART3 (3)
#define DEBUG_BAUDRATE (115200)
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 81
NAND Flash
▶For using NAND Flash, timing parameter should be set appropriately
▶The default setting leaves a margin. (TACLS: 7, TWRPH0: 7, TWRPH1: 7)
▶Please set optimal timing parameter for NAND Flash your platform uses
MV6410\SRC\Inc\bsp_cfg.h
#if (S3C6410_HCLK == CLK_100MHz)
#define NAND_TACLS (7)
#define NAND_TWRPH0 (7)
#define NAND_TWRPH1 (7)
#elif (S3C6410_HCLK == CLK_133MHz)
#define NAND_TACLS (7)
#define NAND_TWRPH0 (7)
#define NAND_TWRPH1 (7)
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 82
Touch Screen Driver Configuration
▶Touch screen device can be disabled. (set BSP_NOTOUCH=1)
▶If you clear BSP_NOTOUCH as following code, Touch screen driver will be included
in OS image
▶Default setting is enabled.
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOTOUCH=
▶Setting BSP_NOTOUCH=1 means that touch screen driver is removed from OS image.
▶After Changing, Build display driver and make image.
▶Default calibration data is defined in registry. Set proper value for the touch panel
you have.
;------------ Touch Driver -------------------------------------------------
; @CESYSGEN IF CE_MODULES_POINTER
IF BSP_NOTOUCH !
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"DriverName"="s3c6410_touch.dll"
"MaxCalError"=dword:7
; 3.5" QVGA Landscape
; "CalibrationData"="504,508 233,236 231,788 785,792 790,227"
; 4.8" WVGA Landscape
; for S3C6410 SMRP 12bit
; "CalibrationData"="2108,1981 1131,2643 1133,1343 3079,1339 3078,2616"
; "CalibrationData"="2026,2006 874,2645 911,1311 3159,1306 3156,2666"; CYM
; "CalibrationData"="2112,2097 994,2756 997,1407 3246,1409 3232,2745"; CYM
; "CalibrationData"="2103,2092 966,2739 964,1388 3225,1392 3212,2738 "; CYM
; "CalibrationData"="2079,2046 977,2696 969,1368 3197,1369 3190,2680"; CYM - 080917
; "CalibrationData"="2080,2007 1006,2669 1001,1370 3167,1371 3167,2656"; CYM - 080918
; for S3C6410 12bit
; "CalibrationData"="2098,1998 1013,2663 997,1339 3187,1312 3195,2665"
; for S3C6410 10bit
; "CalibrationData"="519,501 253,671 246,335 794,331 794,663"
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 83
; "CalibrationData"="528,505 253,674 253,340 798,342 795,670"; CYM - 081008
"CalibrationData"="2079,2025 983,2640 983,1416 3187,1428 3177,2632"
; for S3C6400
; "CalibrationData"="508,490 200,735 204,246 820,240 823,731"
; 4.8" WVGA Landscape as D1 (720x480)
; "CalibrationData"="473,492 189,747 188,244 751,238 748,748"
; 4.8" WVGA Landscape as QVGA Landscape
; "CalibrationData"="278,642 158,766 159,517 404,520 405,757"
; 4.8" WVGA Landscape as QVGA Portrait
; "CalibrationData"="244,586 152,754 152,426 332,425 334,747"
; 4.8" WVGA Landscape as 480x320
; "CalibrationData"="362,592 171,761 173,431 547,427 543,755"
; 4.8" WVGA Landscape as 320x480
; "CalibrationData"="276,489 156,740 156,240 402,238 396,732"
ENDIF BSP_NOTOUCH !
; @CESYSGEN ENDIF CE_MODULES_POINTER
;-------------------------------------------------------------------------
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 84
Keypad Driver Configuration
▶Keypad/Keyboard device can be disabled. (set BSP_NOKEYBD=1)
▶If you clear BSP_NOKEYBD as following code, Keypad/Keyboard driver will be
included in OS image
▶Default setting is enabled.
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOKEYBD=
Setting BSP_NOKEYBD=1 means that keypad/keyboard driver is removed from OS
image.
Power Button Driver Configuration
▶You can enter sleep mode and trigger S/W reset with power button driver
▶Power Button is switch 68 (SW68 in bottom of base board)
▶Reset Button is switch 66 (SW66 in bottom of base board)
▶Power Button driver can be disabled. (set BSP_NOPWRBTN=1)
▶If you clear BSP_NOPWRBTN as following code, Power Button driver will be included
in OS image
▶Default setting is enabled.
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOPWRBTN=1
Setting BSP_NOPWRBTN=1 means that Power Button driver is removed from OS image.
After Changing, Build Power driver and make image
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 85
AC97 interface
▶Audio driver can be disabled (set BSP_NOAUDIO=1)
▶Default setting is enabled and AC97 interface
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOAUDIO=
set BSP_AUDIO_AC97=1
Camera interface
▶Camera driver can be disabled. (set BSP_NOCAMERA=1)
▶Default setting is disabled.
▶If you clear BSP_NOCAMERA as following code, Camera driver will be included in OS
image
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOCAMERA=
@REM these drivers will be delivered separately from BSP.
set BSP_NOMFC=
set BSP_NOJPEG=
set BSP_NOOES=
set BSP_NOSERIAL=
set BSP_NOUART0=1
set BSP_NOUART1=
set BSP_NOUART2=
set BSP_NOUART3=1
set BSP_NOIRDA2=1
set BSP_NOIRDA3=1
set BSP_NOI2C=
Setting BSP_NOCAMERAI=1 means that Camera driver is removed from OS image.
After Changing, Build Camera driver and make image
Because Camera driver use I2C interface to control external camera module. You have
to include I2C driver in OS image
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 86
SPI interface
▶SPI driver can be disabled. (set BSP_NOSPI=1)
▶Default setting is disabled.
▶If you clear BSP_NOSPI as following code, SPI driver will be included in OS image
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOSPI=1
Setting BSP_NOSPI=1 means that SPI driver is removed from OS image.
USB Device
▶USB device can be disabled. (set BSP_NOUSBFN=1)
▶Default setting is enabled and Serial function.
▶If you clear BSP_NOUSBFN as following code, USB device driver will be included in
OS image
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOUSBFN=
Setting BSP_NOUSBFN=1 means that USB device driver is removed from OS image.
After Changing, Build display driver and make image.
You can not use USB function device and USB KITL at a time.
Serial Function Driver
▶You can use USB Serial Function driver by setting as follows.
▶Default setting is serial function driver
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOUSBFN=
set BSP_USBFNCLASS=SERIAL
@REM set BSP_USBFNCLASS=MASS_STORAGE
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 87
Mass Storage Function Driver
▶You can use USB Mass Storage Function driver by setting as follows.
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOUSBFN=
@REM set BSP_USBFNCLASS=SERIAL
set BSP_USBFNCLASS=MASS_STORAGE
Host
▶USB device can be disabled. (set BSP_NOUSBHCD=1)
▶Default setting is enabled.
▶If you clear BSP_NOUSBHCD as following code, USB Host driver will be included in
OS image
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOUSBHCD=
Setting BSP_NOUSBHCD=1 means that USB Host driver is removed from OS image.
UART
▶UART0, UART1, UART2 and UART3 can be disabled by each setting in BSP.
▶Default BSP setting is disabled.
▶The following codes means enable UART1
C:\WINCE600\PLATFORM\MV6410\MV6410.bat
set BSP_NOUART0=1
set BSP_NOUART1=
set BSP_NOUART2=
set BSP_NOUART3=1
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 88
11. Doing Execution Camera, DMB, TV OUT
11.1 Camera
▶ Connect on the MAIN Board Camera through Camera Cradle Cable
- MAIN BOARD -
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 89
Procedure
▶ My Device -> Windows -> CameraDshowApp.exe -> Click ‘OK’
▶ Encode : Click “Stop Cap”, After Click “Start Cap”
▶ Capture : Click ‘Still’
▶ location Saved File: My Device -> release
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 90
11.2 DMB
- BASE BOARD Front -
Procedure
▶ Connect DMB with Antenna.
▶ In CD Sources\WindowsCE\DMB
\nexTVTSample_WCE_MFC_MV6410GDM801Ver0Beta_SPI2081010
“nexTVTSample_WCE.exe “ Here DMB Execution of file is.
▶ Copy “s3c6410_spi_gdm801.dll”
to “My Device” -> Paste in the “Windows’” directory..
▶ Execute a nexTVTSample_WCE.exe.
MV6410 Windows CE 6.0 Guide MicroVision
MV6410 Windows CE 6.0 Guide 91
11.3 TV OUT
Procedure
▶ LCD Full screen output : My device -> Windows -> execute
'tvout_test_DMA_Primary'
▶ Video screen under LCD only : My device -> Windows -> 'execute
tvout_test_DMA_Overlay'
▶ Camera input : My device -> Windows -> execute 'tvout_test_DMA_Overlay'
If you want to see LCD Full screen during Video screen or Camera input, please follow
below steps;
tvout_test_DMA_Overlay -> tvout_test_DMA_Disable -> tvout_test_DMA_Primary
If you want to see Video screen or Camera during LCD Full screen, please follow below
steps;
tvout_test_DMA_Primary -> tvout_test_DMA_Disable -> tvout_test_DMA_Overlay