Partager via


How to Configure Hard Disk Drives on a CEPC (Windows CE 5.0)

Send Feedback

When you design your Windows CE–based platform, determine whether you need to add a hard disk drive to your CEPC. Hard disk drives, which contain hard disks, are a form of removable persistent storage media. With persistent storage media, you can access data after restarting your CEPC.

Hardware and Software Assumptions

  • You are familiar with how to add a hard disk drive to a desktop computer.
  • You have selected one supported Integrated Drive Electronics (IDE) hard disk drive, with power supply and ribbon cable.
  • You are configuring your single hard disk drive as the primary master device on the CEPC.
  • You have a built a run-time image and have downloaded it to your CEPC.

To track your progress in the following table, select the check box next to each step.

  Step Topic
1. Add your IDE hard disk drive to the CEPC.
  • Connect 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.
  • To verify your hard disk drive configuration, view the BIOS when your CEPC boots. 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 to be sure your power supply and ribbon cable connections are secure, and verify the jumper settings of the hard disk drive with the manufacturer's Web site or documentation.
Choosing Miscellaneous CEPC Hardware
2. Add a driver for the hard disk drive.
  • Expand the Catalog node, navigate to Device Drivers\Storage Devices, and then choose ATAPI PCI/IDE Storage Block Driver. Right-click on ATAPI PCI/IDE Storage Block Driver and choose Add to Platform.

    - or -

    Set SYSGEN_ATAPI.

Adding an Item from the Catalog
3. If you want to add support for multiple hard disk drives, remove the comment tags from the registry key and subkeys that enable slave devices. ATAPI Slave Devices
4. Add a file system for the hard disk drive.
  • Expand the Catalog node, navigate to Core OS\Windows CE Devices\File Systems and Data Store\Storage Manager, and then choose FAT File System. Right-click on FAT File System and choose Add to Platform.

    - or -

    Set SYSGEN_FATFS.

Adding an Item from the Catalog
5. Add the Storage Manager Control Panel Applet.
  • Expand the Catalog node, navigate to Core OS\Windows CE Devices\File Systems and Data Store\Storage Manager, and then choose Storage Manager Control Panel Applet. Right-click on Storage Manager Control Panel Applet and choose Add to Platform.

    - or -

    Set SYSGEN_STOREMGR_CPL.

Adding an Item from the Catalog
6. For verification purposes, add an application that can create a text file.
  • Expand the Catalog node, navigate to Core OS\Windows CE Devices\Applications – End User, and then choose WordPad. Right-click on WordPad and choose Add to Platform.

    - or -

    Set SYSGEN_PWORD.

Adding an Item from the Catalog
7. Verify that the driver, file system, and application are part of your OS design.

If you try to add a Catalog item to your OS design, but your OS design already contains that item, Platform Builder does not notify you that the item is already in your OS design.

Not applicable
8. Rebuild the run-time image.

You must rebuild the run-time image because you have added a driver, file system, and application.

Building a Run-Time Image
9. Download the run-time image. Downloading a Run-Time Image
10. On the CEPC, dismount the hard disk, format the hard disk, and set up a partition. Setting Up a Partition on a CEPC
11. Set up a test file and save it to the hard disk. Setting Up a File to Test Data Persistence on a CEPC
12. Reboot the CEPC, download your run-time image again, and then verify that the test file exists on the hard disk.

After downloading the run-time image, on the CEPC, navigate to the Hard Disk directory, and verify that your test file is in the directory.

Downloading a Run-Time Image

See Also

How-to Topics | Block Driver Development Concepts | ATAPI Slave Devices | Partition Driver | Partition Manager | Storage Manager

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.