How to Boot a Run-Time Image on a CEPC from a Hard Disk Drive (Windows Embedded CE 6.0)


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.

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.

  • Consult the hard disk drive manufacturer's Web site or documentation for information on configuring jumper settings. If required, enable hard disk drive detection in the BIOS.

Choosing Miscellaneous CEPC Hardware

2. After your CEPC starts, view the BIOS routines.

  • Verify that the hard disk drive appears as the primary master device. If the hard disk drive does not appear as the primary master device, check the power supply and ribbon cable connections, and verify the jumper settings of the hard disk drive with the manufacturer's Web site or documentation.

Not applicable

3. On your development workstation, create a boot disk.

Use the Setupdisk.144 image.

Configuring a Hard Disk Drive with the BIOS Boot Loader

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.

Levels of Debugging Support

Building a Run-Time Image From a Debug Configuration

Building a Run-Time Image From a Release Configuration

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.

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.

Enabling a Run-Time Image Size Larger Than 32 MB

6. Build the OS design into a run-time image.

Building a Run-Time Image

7. In the Output window, on the Output tab, verify that the build contains no errors.

Build Error Debugging Process

8. Choose a download service appropriate for the connection hardware. The download service will download a run-time image to the CEPC.

Download Service Selection

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.

Hardware Configuration

CEPC-based SDB Motherboard and Card Configuration

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.

Configuring HyperTerminal for BSPs

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.

Configuring an Ethernet Remote Connection

Configuring a Serial Remote Connection

13. Download the run-time image to the CEPC through the configured connection.

Downloading a Run-Time Image to a CEPC

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

Community Additions