WinCE5.0中添加对硬盘支持

如题!

今天把那个IDE转USB接到S3C2440上正常工作的80GB硬盘(2.5寸笔记本硬盘,分有2个区,FAT32格式),直接接到开发板的IDE44pin接口上,同时按照PB5。0的帮助文件添加了相关IDE组件:(参见PB5.0帮助文件)“How to Configure Hard Disk Drives on a CEPC”
1.省略;
(添加硬盘驱动组件)
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.
3.省略;
(添加文件系统)
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.

(添加存储控制面板组件)
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.

(添加文档组件)
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.

然后编译烧录到开发板,不挂接硬盘是可以正常启动和使用CE系统!

但是挂接硬盘后,上电启动CE系统时,出现如下错误:
ead wince image from flash:
Sector addr on NAND: 0x1f20
TotalSector: 0xc268
LoadAddress: 0x30200000
JumpAddr: 0x30201000
........................
Run wince, JumpAddr = 0x30201000
Clear the memory unused Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at 18:25:00
ProcessorType=0920  Revision=0
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 8c2013bc

Windows CE Firmware Init
INFO: Initializing system interrupts...
INFO: Initializing system clock(s)...
INFO: Initializing driver globals area...
SDMMC config set rGPGCON: fd96abb6
OEMInit Done...
Sp=ffffc7cc
NandFlash FMD_Init
NandFlash FMD_Init Done

Data Abort: Thread=8ffe4000 Proc=8e226070 'filesys.exe'
AKY=00000003 PC=0406f5c0(filesys.exe+0x0005f5c0) RA=0406f2d0(filesys.exe+0x0005f2d0) BVA=04000001 FSR=00000003

然后系统停止启动!

请教各位高人!

 

http://topic.youkuaiyun.com/u/20090614/21/a05dc9ff-47f5-4511-afb5-5136ad99b867.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值