2011-04-05 31 views
0

我已經改變的註冊表設置爲每MSDN 但是當我連接到PC然後它示出了USB不株型識別如何在wince 6.0中定製驅動程序?

設置我用下面

給定/; ======= ================================================== ======================== [HKEY_LOCAL_MACHINE \ Drivers \ USB \ FunctionDrivers \ CompositeFN] 「Attributes」= multi_sz:「0x80」 「bcdDevice」= dword:0 「DefaultPrefix」=「CompositeFn_」 「ManufacturerString」=「Composite USB」 「MaxPacketSize」= dword:40 「功率消耗」= MULTI_SZ: 「0×00」 「ProductString」= 「CompositDriver」 「SerialString」= 「爲0x22」 「產品ID」= DWORD:233A 「廠商ID」= DWORD:0001 「DefaultString」=「E-精讀複合 驅動程序 「

[HKEY_LOCAL_MACHINE \驅動\ USB \ FunctionDrivers \ Serial_Class]

」CompositeFn_DefaultString「=」 ActiveSync的」 「CompositeFn_FunctionClass」= DWORD:0A 「CompositeFn_FunctionDescription」= 「USB ActiveSync的」 「Composit eFn_FunctionProtocol 「= DWORD:FF 」CompositeFn_FunctionSubclass「= DWORD:00 ;」 CompositeFN_DisableIAD 「= DWORD:1

[HKEY_LOCAL_MACHINE \驅動\ USB \ FunctionDrivers \ Mass_Storage_Class]

」CompositeFn_DefaultString「=」 ASI DATAMYTE海量存儲」 「CompositeFn_FunctionClass」= DWORD:08 「CompositeFn_FunctionDescription」= 「USB大容量存儲 」 「CompositeFn_FunctionProtocol」= DWORD:FF 「CompositeFn_FunctionSubclass」= DWORD:00

[HKEY_LOCAL_MACHINE \驅動\ USB \ FunctionDrivers \ CompositeFN] 「ClientDriverList」= MULTI_SZ: 「Mass_Storage_Class」, 「Serial_Class」 [HKEY_LOCAL_MACHINE \驅動\ USB \ FunctionDrivers] 「DefaultClientDriver」= 「CompositeFN」

回答

0

OS映像中的實際驅動程序是什麼?插入設備時調試端口出來了什麼?通過KITL與Platform Builder連接將是下一個好的步驟,因爲您可以遍歷整個驅動程序初始化代碼路徑。

+0

thnaks for reply是的驅動程序是在platform.i不知道如何使用kitl :(請給你的建議 – Suri 2011-04-05 12:36:52

+0

使用KITL超出了答案的範圍。有關於使用Platform Builder的整本書。關於調試端口?你在那看到什麼? – ctacke 2011-04-05 14:23:11