今天把那个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