About Wince serial number

xiaoxiao2021-03-06  38

About Wince String Question, I have 4 physical serials on my SBC84500: Serial port 1: Interrupt No. 4, IO address: 3F8H serial port 2: Interrupt number 3, IO address: 2F8H serial port 3: Interrupt number 10, IO address: 3E8H serial port 4: Interrupt number 11, IO address: 2e8h

I only add three serial ports when using the PB custom operating system, run the serial test program on the custom Wince discovery, I open COM1: After the physical serial port 2, the transmission and reception data is normal. Open COM2: Operation is a physical serial port 3, and the program is not responded after sends a data. You can open COM3 :, but cannot send and receive data. I went to the online related website to search, I learned that the physical serial port 1 is used to debug, and under normal circumstances, our application is not accessible. I set the three serial ports under Wince I found in the registry: [HKEY_LOCAL_MACHINE / Drivers / Builtin / Serial] sysintr = DWORD: 13 // 10h 3 IOBASE = DWORD: 02F8H Iolen = DWORD: 8 prefix = "COM "Dll =" Com16550.dll "DeviceArrayIndex = dword: 0 Order = dword: 0 Priority = dword: 0 [HKEY_LOCAL_MACHINE / DRIVERS / BuiltIn / Serial2] SysIntr = dword: 14 // 10H 4 ioBase = dword: 03E8 IoLen = dword : 8 prefix = "COM" DLL = "com16550.dll" DeviceArrayIndex = dword: 0 Order = dword: 0 [HKEY_LOCAL_MACHINE] - [Drivers] - [Builtin] - [Serial3] sysintr = DWORD: 15 // 10h 5 Iobase = DWORD: 02E8 IOLEN = DWORD: 8 prefix = "COM" DLL = "com16550.dll" DeviceRayindex = dword: 0 ORDER = DWORD: 0 I change the Sysintr and IOBase of the three serial ports in the registry to physical serial ports, respectively 2, 3, 4 corresponds.

转载请注明原文地址:https://www.9cbs.com/read-60875.html

New Post(0)