5
MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS MICROVISION Contents 1. Install MV2440A WinCE .Net 4.2 1-1 1.1. WinCE .Net 4.2 Overview ......................................................................................................... 1-1 1.2. Network Environment ............................................................................................................... 1-1 1.3. Programming with USB Downloader ........................................................................................ 1-1 2. MV2440A Board Booting 2-1 2.1. ARM/Xscale Core Booting ........................................................................................................ 2-1 2.1.1. EBOOT Unavailable .......................................................................................................... 2-1 2.1.2. EBOOT Available .............................................................................................................. 2-1 2.2. Samsung S3C2440A (MV2440A) Booting ............................................................................... 2-2 2.2.1. EBOOT Unavailable ............................................................................................................ 2-2 2.2.2. EBOOT Available................................................................................................................. 2-2 3. BOOT Composition 3-3 3.1. Kernel Image downloading with Ethernet ................................................................................. 3-3 3.2. Kernel Image downloading with USB ....................................................................................... 3-3 3.2.1. Set up jumper using boot mode in NOR Flash, and Execute DNW.exe. Then, below menu shows. Please confirm the installed USB driver in console. (JP1 sw1 : off, sw2 : off)3-4 3.2.2. Press ‘Select Menu [1], and Write address 0x30100000. Then, press the Enter key........................................................................................................................................ 3-4 3.2.3. Press ‘Select Menu [1]’ again and Transmit NK.nb0 file to 0x30104000. It takes a little time because it is 37MB. ........................................................................................................ 3-5

1. Install MV2440A WinCE .Net 4.2 1-1 WinCE .Net 4.2 User... · MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS MICROVISION 4.2.10. Make ‘C:\WINCE420\WORK’ directory. It is convenient

  • Upload
    others

  • View
    27

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 1. Install MV2440A WinCE .Net 4.2 1-1 WinCE .Net 4.2 User... · MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS MICROVISION 4.2.10. Make ‘C:\WINCE420\WORK’ directory. It is convenient

MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS

MICROVISION

Contents

1. Install MV2440A WinCE .Net 4.2 1-1

1.1. WinCE .Net 4.2 Overview......................................................................................................... 1-1

1.2. Network Environment ............................................................................................................... 1-1

1.3. Programming with USB Downloader ........................................................................................ 1-1

2. MV2440A Board Booting 2-1

2.1. ARM/Xscale Core Booting........................................................................................................ 2-1

2.1.1. EBOOT Unavailable .......................................................................................................... 2-1

2.1.2. EBOOT Available .............................................................................................................. 2-1

2.2. Samsung S3C2440A (MV2440A) Booting ............................................................................... 2-2

2.2.1. EBOOT Unavailable ............................................................................................................ 2-2

2.2.2. EBOOT Available................................................................................................................. 2-2

3. BOOT Composition 3-3

3.1. Kernel Image downloading with Ethernet................................................................................. 3-3

3.2. Kernel Image downloading with USB ....................................................................................... 3-3

3.2.1. Set up jumper using boot mode in NOR Flash, and Execute DNW.exe. Then, below menu shows. Please confirm the installed USB driver in console. (JP1 sw1 : off, sw2 : off)3-4

3.2.2. Press ‘Select Menu [1], and Write address 0x30100000. Then, press the Enter key........................................................................................................................................ 3-4 3.2.3. Press ‘Select Menu [1]’ again and Transmit NK.nb0 file to 0x30104000. It takes a little time because it is 37MB. ........................................................................................................ 3-5

Page 2: 1. Install MV2440A WinCE .Net 4.2 1-1 WinCE .Net 4.2 User... · MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS MICROVISION 4.2.10. Make ‘C:\WINCE420\WORK’ directory. It is convenient

MICROVISION MV2440A WINCE.NET 4.2 USER’S MANUAL

MICROVISION

3.2.4. Press ‘Select Menu [0]’ and Download 2440_WRITE-badmark_REV10.bin to 0x30000000. Then, the following menu apprears. (CONFIGURATION’s USB Port Address : 0x30000000).................................................................................................................................. 3-6

3.2.5. Select ‘6 : Erase All block’ and Erase Nand flash. ............................................................ 3-6

3.2.6. Selet ‘5:K9S1208 Program’ and Set up ‘Input target block number’ is 0x0. Make out total programming image size in ‘Input target size(0x4000*n)’. ex) 0x2500000 => about 38MB....... 3-7

3.2.7. Press the Enter key. Then, it is programmed. After all, come out select menu again as follows................................................................................................... 3-7

3.2.8. If everything is done, below select menu appears again. ................................................. 3-8

3.2.9. Select JP1 on NAND boot mode and Reset. Then, WINCE is booting as follows. (JP1 sw1 : on, sw2 : off)......................................................................................................................... 3-8

4. WINCE .NET 4.2 Installation 4-9

4.1. WINCE Installation ................................................................................................................... 4-9

4.1.1. INSTALL............................................................................................................................ 4-9

4.1.2. If ‘Install’ is clicked, it proceeds as the following. .............................................................. 4-9

4.1.3. Check ‘I accept the terms in the license agreement’. ..................................................... 4-10

4.1.4. Fill product key in the blank............................................................................................. 4-10

4.1.5. Click ‘Custom(Tools and OS)’. ........................................................................................ 4-11

4.1.6. Set up folder route and Install. ........................................................................................ 4-11

4.1.7. Choose installing package. If shared source for windows CE .Net 4.2 is chosen, you can see source code. Select ARMV4, ARMV4I, and Xscale additionally................................................................................................................................... 4-11

4.1.8. Click ‘I accept the terms in the license agreement’ in Shared Source License agreement.4-12

4.1.9. Press the ‘install’ key....................................................................................................... 4-13

4.1.10. Installing as follows. ........................................................................................................ 4-13

4.1.11. Copying common source................................................................................................. 4-13

4.1.12. Execute WINCE .NET 4.2 CD #2.................................................................................... 4-14

4.1.13. Execute WINCE .NET 4.2 CD #3.................................................................................... 4-14

4.1.14. Installation is done........................................................................................................... 4-14

4.2. MV2440A WINCE BSP Installation ........................................................................................ 4-15

4.2.1. Copy SMDK2440.ZIP file from CD to C:\WINCE420\PLATFORM\ folder. .................... 4-15

4.2.2. Copied ‘smdk2440.zip’ => Generate ‘C:\WINCE420\PLATFORM\SMDK2440’ folder .. 4-15

4.2.3. Execute ‘Platform builder’ and Select ‘Manage Catalog Features...’ ............................. 4-16

4.2.4. Add ‘C:\WINCE420\PLATFORM\SMDK2440\SMDK2440.cec’ file................................. 4-16

4.2.5. Register the new .cec file. Then, it generates as follows. ............................................... 4-17

4.2.6. Press ‘OK’ button. You can check new BSP of SMDK2440 installed in Catalog windows.4-17

4.2.7. Click FILE->New Platform ............................................................................................... 4-18

4.2.8. New Platform Wizard pops up as the followings............................................................. 4-18

4.2.9. Select ‘SAMSUNG SMDK2440: ARMV4I’ and then, Press ‘NEXT’ button..................... 4-19

Page 3: 1. Install MV2440A WinCE .Net 4.2 1-1 WinCE .Net 4.2 User... · MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS MICROVISION 4.2.10. Make ‘C:\WINCE420\WORK’ directory. It is convenient

MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS

MICROVISION

4.2.10. Make ‘C:\WINCE420\WORK’ directory. It is convenient to separate source from work directory because C:\WINCE420\PUBLIC directory is generated for default setting.................. 4-19

4.2.11. Tiny kernel basically does not support BSP. Select ‘Mobile handheld’ and Write ‘Platfrom name’ at will. ................................................................................................................................ 4-20

4.2.12. Choose necessary features in advance. If not, it can be selected additionally after project.4-20

4.2.13. Add NETWORK features................................................................................................. 4-21

4.2.14. New project generates after the Network features added............................................... 4-21

4.2.15. On the below windows, Select ‘Storage Devices->storage devices-> SD/MMC’ among Device Drivers additionally. If not, SD/MMC card is not recognized. .......................................... 4-22

4.2.16. If you do ‘Core OS->Core OS sevice->USB Host Support->USB Human input device->USB-Mouse/Key board’, keyboard or mouse is usable in USB HOST. USB memory stick also can be used if it adds through similar route................................................................................. 4-22

4.2.17. Added devices can be checked in the left feaures windows........................................... 4-23

4.2.18. Multimedia codec must be added in Core OS->Multimedia Technologies->Basic Multi media and Multimedia Compenents. Then, audio or video can be playing normally. ................. 4-23

4.2.19. If device driver is registed, Click the right button of mouse on ‘MV2440_LCD feature’ menu and Select ‘Setting’. ........................................................................................................... 4-24

4.2.20. Make a choice if KITL is used in Build options or not. It is for debugging KITL using Network(Etherent)........................................................................................................................ 4-24

4.2.21. Remove KITL options because MV2440-LCD downloads by USB................................. 4-25

4.2.22. Choose ‘Build platform’ in Build menu after options setting, or Choose ‘Rebuild Platform’ to generate OS image.................................................................................................................. 4-25

4.2.23. Building process shows up in the right windows............................................................ 4-26

4.2.24. Memory allocated territory in the current device driver can be validated in config.bib of parameters................................................................................................................................... 4-26

4.2.25. Register DLL, executing file of device driver, in platform.bib of parameters................... 4-27

4.2.26. Registry register of the current registered device driver is available in platform.reg. .... 4-28

4.2.27. When Build is done, there is warning Msg and no error building.................................... 4-28

4.2.28. The generated binery image located in sub-folder of C:\WINCE420\WORK\MV2440_LCD.4-29

4.2.29. Precisely check the compiled date of generated image. WINCE booting is successful when final image is programmed by USB download................................................................... 4-29

5. Embedded Visual C++ 4.0 (EVC++) & SDK Installation 5-30

5.1. Embedded Visual C++ 4.0 Installation. .................................................................................. 5-30

5.1.1. Install Embedded Visual C++ 4.0 SP2. ........................................................................... 5-30

5.1.2. Accept ‘End User License Agreement and Limited Warranty’. ....................................... 5-31

5.1.3. Fill in Product ID. ............................................................................................................. 5-31

5.1.4. Check below three items. ................................................................................................ 5-32

5.1.5. Specify installing folder.................................................................................................... 5-32

5.1.6. Install. .............................................................................................................................. 5-33

5.1.7. Press ‘continue’ button. ................................................................................................... 5-33

5.1.8. Click ‘OK’. ........................................................................................................................ 5-34

5.1.9. Click ‘Continue’................................................................................................................ 5-34

Page 4: 1. Install MV2440A WinCE .Net 4.2 1-1 WinCE .Net 4.2 User... · MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS MICROVISION 4.2.10. Make ‘C:\WINCE420\WORK’ directory. It is convenient

MICROVISION MV2440A WINCE.NET 4.2 USER’S MANUAL

MICROVISION

5.1.10. Keep installing. ................................................................................................................ 5-35

5.1.11. Installing. ......................................................................................................................... 5-35

5.1.12. EVC++ 4.0 setup is successful. ...................................................................................... 5-36

5.1.13. Setup of SP2. .................................................................................................................. 5-36

5.1.14. Click ‘I accept the terms in the License Agreement’. ...................................................... 5-37

5.1.15. Press ‘INSTALL’. ............................................................................................................. 5-38

5.1.16. SP2 is setting up. ............................................................................................................ 5-38

5.1.17. Press ‘NEXT’. .................................................................................................................. 5-39

5.1.18. Select ‘CUSTOM’ and Press ‘NEXT’............................................................................... 5-40

5.1.19. Installing. ......................................................................................................................... 5-40

5.1.20. SDK setup is done........................................................................................................... 5-40

5.2. Making SDK in PLATFORM BUILDER. ................................................................................. 5-41

5.2.1. Execute Platform builder. ................................................................................................ 5-41

5.2.2. Choose Configure SDK. .................................................................................................. 5-41

5.2.3. Fill out product name and manufacturer name. .............................................................. 5-42

5.2.4. Select MFC for WINDOWS CE development. ................................................................ 5-42

5.2.5. Select BUILD SDK. ......................................................................................................... 5-43

5.2.6. Building SDK. .................................................................................................................. 5-43

5.2.7. Building progress is showing........................................................................................... 5-44

5.2.8. After building, SDK is generated to *.msi. ....................................................................... 5-44

5.2.9. files are generated in the folder of C:\WINCE420\WORK\MV2440_LCD....................... 5-45

5.2.10. MV2440_LCD_SDK.msi is made in the folder of C:\WINCE420\WORK\MV2440_LCD\SDK.................................................................................. 5-45

5.2.11. Set up the generated SDK. ............................................................................................. 5-46

5.2.12. Accept the terms in the License Agreement. .................................................................. 5-46

5.2.13. Fill in User name and Organization................................................................................. 5-46

5.2.14. Setup is done. ................................................................................................................. 5-47

6. ACTIVESYNC Installation 6-48

6.1. Activesync can be downloaded easily if it is serached on Microsoft website. It is a tool which emulates and file 공유?? using USB between PC and development tool. ...................................... 6-48

6.1.1. Check downloaded files and drivers. .............................................................................. 6-48

6.1.2. Click MSASYNC.EXE...................................................................................................... 6-48

6.1.3. Select installation folders................................................................................................. 6-49

6.1.4. After setup, a menu shows up regarding a new hardware search.................................. 6-49

6.1.5. Appoint installing driver route. ......................................................................................... 6-49

6.1.6. Install a driver after appointing two files route [x:\ACTIVESYNC\WINCEUSB.SYS & WINCEUSB.INF] in MV2440 CD. ................................................................................................ 6-50

Page 5: 1. Install MV2440A WinCE .Net 4.2 1-1 WinCE .Net 4.2 User... · MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS MICROVISION 4.2.10. Make ‘C:\WINCE420\WORK’ directory. It is convenient

MV2440A WINCE .NET 4.2 USER’S MANUAL CONTENTS

MICROVISION

7. Embedded Visual C++ Application 7-51

7.1. Execute Embedded visual C++ to make an application after every installation is done. ....... 7-51

7.1.1. File menu->Make a new project. Select WCE Application.............................................. 7-52

7.1.2. Let’s make a message box ‘hello world’.......................................................................... 7-52

7.1.3. After building, ‘hello world’ chatting windows is generated in my computer folder of MV2440-LCD board through Activesync. .................................................................................... 7-53