How to Boot a Run-Time Image on a CEPC from a Hard Disk Drive (Windows Embedded CE 6.0)
1/5/2010
To boot a run-time image directly from a hard disk on a CEPC, you must transfer the run-time image to the hard disk. Platform Builder provides boot disk images that you can use to configure the hard disk drive to boot run-time images. Other methods of booting from a hard disk drive typically require access to a Microsoft® Windows® 98 boot disk; the BIOS boot loader method does not.
Hardware and Software Assumptions
- You have set up a CEPC. For more information, see How to Set Up a CEPC.
- You will select a release configuration for your CEPC. For more information about configuring and building a run-time image, see How to Configure and Build a Run-Time Image for a CEPC.
- You are familiar with how to download a run-time image to your CEPC. For more information, see How to Configure and Download a Run-Time Image to a CEPC.
- You are familiar with low-level hard disk drive tools such as Fdisk and Format.
- You have one 3.5-inch floppy disk.
Steps
Step | Topic |
---|---|
1. Add your Integrated Device Electronics (IDE) hard disk drive to the CEPC by connecting a power supply and a ribbon cable to the hard disk drive, and configure the jumper settings.
|
|
2. After your CEPC starts, view the BIOS routines.
|
Not applicable |
3. On your development workstation, create a boot disk. Use the Setupdisk.144 image. |
|
4. In Platform Builder, open the solution that contains the OS design. Then, include a driver and file system for your hard disk drive. |
Building and Transferring a Run-Time Image to a Hard Disk Drive |
4. Choose a Debug or Release configuration to target when Platform Builder builds the OS design into a run-time image. To use the kernel debugger, make sure that support for the kernel debugger is enabled. |
|
5. If you expect the size of either the debug or the release run-time image to exceed 32 MB, enable support for a large run-time image in the settings for the OS design.
Note:
Debug run-time images are typically larger than release run-time images. If you choose a debug configuration and the OS design contains many features, it is likely that the size of the run-time image will exceed 32 MB.
|
|
6. Build the OS design into a run-time image. |
|
7. In the Output window, on the Output tab, verify that the build contains no errors. |
|
8. Choose a download service appropriate for the connection hardware. The download service will download a run-time image to the CEPC. |
|
9. Set up and configure the connection hardware required for the download service. That hardware connects the CEPC to the development workstation, on which Platform Builder is installed. Examples of connection hardware include cables, a hub, or Ethernet network adapters. |
|
10. If you selected Serial Download Service in step 8, configure the HyperTerminal terminal emulation application to display the serial debug output from the serial port on the CEPC. This requires a null-modem cable connected to the serial port, such as COM1. |
|
11. Turn on the CEPC so that it becomes active on the Ethernet network or over the serial connection, and Platform Builder can discover it. |
Not applicable |
12. Configure the connection to the CEPC. Choose the appropriate topic based on whether the development workstation and the CEPC are connected by an Ethernet network or a serial port connection. |
|
13. Download the run-time image to the CEPC through the configured connection. |
|
14. On your development workstation, from the Platform Builder Target menu, choose Detach Device. |
Not applicable |
15. Remove the boot floppy disk from your CEPC, and restart the CEPC. |
Not applicable |
16. Verify that the run-time image boots on your CEPC. The run-time image now boots directly from the CEPC hard disk. |
Not applicable |
See Also
Concepts
CEPC-based SDBs
Specialized Boot Loaders