3943|2

69

帖子

0

TA的资源

一粒金砂(中级)

楼主
 

如何在WINCE6。0上加载nandflash 驱动 [复制链接]

我的注册表.环境S3C2410+NAND 64+RAM 64。
; @CESYSGEN IF CE_MODULES_SDNPCID
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MSFlash]
        "Profile"="MSFlash"
        "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
        "Order"=dword:0
        "FriendlyName"="MSFLASH Driver"
        "Dll"="smflash.dll"
        "Prefix"="DSK"

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
    "DriverPath"="Drivers\\BuiltIn\\MSFlash"
    ; LoadFlags 0x01 == load synchronously
    "LoadFlags"=dword:1
    "Order"=dword:0
    "BootPhase"=dword:0

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
    "Name"="NAND FLASH"
    "Folder"="NAND Flash"
    "AutoPart"=dword:1
    "AutoFormat"=dword:1
    "PartitionDriver"="mspart.dll"

; @CESYSGEN ENDIF CE_MODULES_SDNPCID

出错打印信息:
4294767650 PID:400002 TID:680002 FSDMGR!STOREMGR_Initialize
4294767653 PID:400002 TID:680002 FSDMGR!InitializeStoreAPI
PB Debugger Loaded symbols for 'F:\WINCE600\OSDESIGNS\TEST1\TEST1\RELDIR\TEST1_ARMV4I_DEBUG\ROMFSD.DLL'
4294767654 PID:400002 TID:680002 FSDMGR!MountTable_t::RegisterVolumeName: Registered "StoreMgr" at index 2
4294767655 PID:400002 TID:680002 FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 2 (Name="StoreMgr", MountFlags=0x1)
4294767655 PID:400002 TID:680002 FSDMGR!InitializeROMFileSystem: File System=ROM
4294767663 PID:400002 TID:680002 OSAXST1: >>> Loading Module 'romfsd.dll' (0x8DF7F9F0) at address 0xC0250000-0xC0257000 in Process 'NK.EXE' (0x8C249AA0)
4294767666 PID:400002 TID:680002 FSDMGR!MountTable_t::RegisterVolumeName: Registered "ROM" at index 3
4294767667 PID:400002 TID:680002 FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 3 (Name="ROM", MountFlags=0x71)
4294767887 PID:400002 TID:680002 Succeeded on CheckFile
4294767887 PID:400002 TID:680002 RestoreFile(0x008f0003) called fDelete = TRUE
4294768680 PID:400002 TID:680002 FSDMGR!STOREMGR_StartBootPhase BootPhase=0 (PrevBootPhase=-1)
4294768680 PID:400002 TID:680002 FSDMGR: File security disabled.
4294768682 PID:400002 TID:680002 FSDMGR!AutoLoadFileSystems: CurrentBootPhase=0, LoadFlags=1
PB Debugger Loaded symbols for 'F:\WINCE600\OSDESIGNS\TEST1\TEST1\RELDIR\TEST1_ARMV4I_DEBUG\RELFSD.DLL'
4294768685 PID:400002 TID:680002 FSDMGR!AutoLoadFileSystem: CurrentBootPhase=0, RootKey=System\StorageManager\AutoLoad, FileSystem_t=ObjectStore
4294768691 PID:400002 TID:680002 FILESYS: RAM File System FSD_MountDisk registering folder "Object Store"
4294768692 PID:400002 TID:680002 FSDMGR!MountTable_t::RegisterVolumeName: Registered "Object Store" at index 4
4294768692 PID:400002 TID:680002 FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 4 (Name="", MountFlags=0x46)
4294768696 PID:400002 TID:680002 FSDMGR!AutoLoadFileSystem: CurrentBootPhase=0, RootKey=System\StorageManager\AutoLoad, FileSystem_t=MSFlash
4294768696 PID:400002 TID:680002 FSDMGR!AutoLoadBlockDevice: Auto-loading block driver from "Drivers\BuiltIn\MSFlash"
4294768697 PID:400002 TID:680002 FSDMGR!MountStore: Attaching new storage device "MSFlash"
4294768702 PID:400002 TID:680002 !!!ERROR! Trying to load DLL 'smflash.dll' fixed-up to user address into Kernel.
4294768702 PID:400002 TID:680002 !!!ERROR! MUST SPECIFY 'K' FLAG BIB FILE.
4294768703 PID:400002 TID:680002 FSDMGR!MountStore: Failed mounting store "MSFlash"; error=193
4294768703 PID:400002 TID:680002 FSDMGR!StoreDisk_t::~StoreDisk_t: deleting store (D0042630)
4294768704 PID:400002 TID:680002 FSDMGR!AutoLoadFileSystems: Unable to auto-load HKLM\System\StorageManager\AutoLoad\MSFlash; error=193

最新回复

真的很抱歉,呵呵,这么菜的问题都问得出来  详情 回复 发表于 2009-9-11 15:23
点赞 关注

回复
举报

81

帖子

0

TA的资源

一粒金砂(初级)

沙发
 
bib里面设置 NK,你一定没有设置K。printf里面说的很清楚了
 
 

回复

82

帖子

0

TA的资源

一粒金砂(初级)

板凳
 
真的很抱歉,呵呵,这么菜的问题都问得出来
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/7 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表