How to Configure Hard Disk Drives on a CEPC (Windows CE 5.0)
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.
|
Choosing Miscellaneous CEPC Hardware | |
2. Add a driver for the hard disk drive.
|
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.
|
Adding an Item from the Catalog | |
5. Add the Storage Manager Control Panel Applet.
|
Adding an Item from the Catalog | |
6. For verification purposes, add an application that can create a text file.
|
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