什么模块会占用串口1
刚开始折腾Marvell PXA320,wince 5。有3个串口:FFUART/BTUART/IRUART。默认用FFUART做调试串口。
由于系统要用到全功能串口,我就把调试串口改到了com3/iruart上,打印信息正常。
但是将FFUART以COM1开放出来,系统启动时就会对com1有操作:open,close,open。log信息如下:
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\DCOMSSD). Driver cannot be unloaded.
[FFUART]:Deivce is opened, notify IPM that do not enter D0CS
[IPM] FFUART ready for IPM_PROCESSOR_D0
[IPM] All Notify Driver ready for IPM_PROCESSOR_D0
[IPM] Recieved readiness after decided to go to LPM FFUART
[IPM] Update Kernel Global dwApprovedLpm=1, LowPowerIdlesEnabled = 0
[IPM] HandleSetMinOp +; m_dwMinOpTotal = 0x1, requestedOP=0x1
[FFUART]: device is closed, notify IPM that no restricts from FFUART side.
[SDH1:] Sending IPM Registration Request
[IPM] FFUART ready for IPM_PROCESSOR_D0
[IPM] All Notify Driver ready for IPM_PROCESSOR_D0
[IPM] FFUART ready for Ring OSC
………………
[IPM] Recieved readiness after decided to go to LPM \Windows\pxa27x_lcd.dll
GetSystemPowerStstusEx2 failed with error 0x1f.
Lyg.p: Layout Manager successfully initialized to 2
Maximum Allowed Error 5:
Maximum error 104 exceeds calibration threshold 5
MSIM: IM_ReadRegistry read KB 5
GCUIntrThread: End of Buffer.
GCUIntrThread: Execution End of Buffer.
GCUIntrThread: Stop Interrupt.
[FFUART]:Deivce is opened, notify IPM that do not enter D0CS
[IPM] FFUART ready for IPM_PROCESSOR_D0
[IPM] All Notify Driver ready for IPM_PROCESSOR_D0
[IPM] Recieved readiness after decided to go to LPM FFUART
第一次在黑屏时很快地打开关闭,第二次是显示CE桌面后打开。COM1被占用。
在注册表里有"COM1"的引用项只见到ExtModems、Printers,都注释掉,仍然如此。
[-HKEY_LOCAL_MACHINE\ExtModems\HayesCompat]
[-HKEY_LOCAL_MACHINE\Printers\Ports]
如果把FFUART的端口号改成COM2,就不会有FFUART的动作,此时可以正常操作COM2。
因为目前基于原始的BSP,包含的组件很多,我就想问一下,都有哪些组件会使用COM1?