digi connectcore 9c/wi-9c for windows embedded ce 6.0 user's digi connectcore 9c/wi-9c for windows...

Download Digi ConnectCore 9C/Wi-9C for Windows Embedded CE 6.0 User's Digi ConnectCore 9C/Wi-9C for Windows Embedded

Post on 18-Jul-2020

2 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • Digi ConnectCore 9C/Wi-9C for Windows Embedded CE 6.0

    User’s Guide

    90000849_B

  • 2

    © Digi International Inc. 2007. All Rights Reserved. The Digi logo is a registered trademark of Digi International, Inc. All other trademarks mentioned in this document are the property of their respective owners. Information in this document is subject to change without notice and does not represent a commitment on the part of Digi International. Digi provides this document “as is,” without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of fitness or merchantability for a particular purpose. Digi may make improvements and/or changes in this manual or in the product(s) and/or the program(s) described in this manual at any time. This product could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes may be incorporated in new editions of the publication.

    Digi International Inc.

    11001 Bren Road East

    Minnetonka, MN 55343 (USA)

    +1 877 912-3444 or +1 952 912-3444

    http://www.digi.com

    http://www.digi.com/

  • 3

    Contents

    1. Concepts........................................................................................7 1.1. Windows Embedded CE concepts........................................................................................ 7

    1.1.1. Cross-compilation ...............................................................................................................................7 1.1.2. Boot loader..........................................................................................................................................7 1.1.3. Kernel..................................................................................................................................................8 1.1.4. File system..........................................................................................................................................8 1.1.5. OS design ...........................................................................................................................................8 1.1.6. Applications.........................................................................................................................................8 1.1.7. Board Support Package (BSP)............................................................................................................8 1.1.8. Software Development Kit (SDK) ........................................................................................................8 1.1.9. Projects and Solutions ........................................................................................................................8

    1.2. Structure of Windows Embedded CE ................................................................................... 9 1.2.1. Main directories...................................................................................................................................9

    1.3. Platform Builder..................................................................................................................... 9 1.4. License background.............................................................................................................. 9 1.5. Conventions ........................................................................................................................ 10 1.6. Abbreviations ...................................................................................................................... 11

    2. Developing applications with Visual Studio 2005....................13 2.1. Create the project................................................................................................................ 13

    2.1.1. Visual Basic application ....................................................................................................................13 2.1.2. Visual C# application.........................................................................................................................16 2.1.3. Visual C++ application ......................................................................................................................18

    2.2. Build the solution................................................................................................................. 20 2.3. Deploy and debug applications........................................................................................... 20

    2.3.1. Device Transport configuration .........................................................................................................20 2.3.2. Set StartUp projects ..........................................................................................................................22 2.3.3. Connect to the device .......................................................................................................................22 2.3.4. Start deploying and debugging the application .................................................................................23 2.3.5. Add a breakpoint ...............................................................................................................................23 2.3.6. Other debugging tools.......................................................................................................................24

    2.4. Delete projects and solutions.............................................................................................. 24

    3. Configure the Windows Embedded CE kernel .........................25 3.1. Create a new Platform Builder project ................................................................................ 25 3.2. Catalog view........................................................................................................................ 29

    3.2.1. Include and remove project components ..........................................................................................30 3.3. OS design properties .......................................................................................................... 31

    3.3.1. Environment variables.......................................................................................................................32 3.4. Registry entries ................................................................................................................... 33 3.5. Adjusting the memory layout............................................................................................... 34 3.6. File system .......................................................................................................................... 35

    3.6.1. Include files and folders ....................................................................................................................35 3.7. Launch an application after start-up.................................................................................... 37

    3.7.1. Create a shortcut to the application...................................................................................................37 3.7.2. Add the shortcut to the OS design ....................................................................................................37 3.7.3. Create the Startup entry....................................................................................................................38

    4. Build the kernel ...........................................................................39 4.1. Build the kernel (Release version) ...................................................................................... 39 4.2. Build the kernel (Debug version)......................................................................................... 40

    5. Debug the kernel .........................................................................41 5.1. About debugging over Ethernet .......................................................................................... 41 5.2. Establish the connection to the target................................................................................. 41

    5.2.1. Target connectivity options ...............................................................................................................41 5.2.2. Send BOOTME messages from target..............................................................................................43

  • 4

    5.2.3. Attach the device...............................................................................................................................44 5.3. Debug the code ................................................................................................................... 44 5.4. Remote Tools ...................................................................................................................... 45

    6. Connect to a Release kernel ..................................................... 46 6.1. Use Remote Tools in a Release configuration.................................................................... 46

    6.1.1. Add the Remote Tools component ....................................................................................................46 6.1.2. Connect with Manual server..............................................................................................................47

    7. Transfer the system to the target ............................................. 51 7.1. TFTP server .......................................................................................

Recommended

View more >