We got a lot of requests regarding serial interface on PicoCOM4. Hence we want to account for this in here.
PicoCOM2, PicoCOM3 and PicoCOM4 generally feature 3 serial interfaces. Two of these serial interfaces can be used without retstriction. On PicoCOM2 the 3rd interface was compound with LCD signals, therefore this interface only was usable when disabling LCD interface.
On PicoCOM3 and PicoCOM4 we have dissolved this restriction. The 3rd serial interface is involved with control signals of COM2. This means you can modify configuration to have either 2 "full" serial ports with RTS and CTS (COM1, COM2) or 1 "full" serial port and 2 “simple†serial ports with tx and rx signals only.
Here is an overview of serial interfaces on PicoCOM3 and PicoCOM4:
By default COM3 is disabled in registry. To enable usage of COM3 you simply need to enable it via Flags value in regisry:
To verify that COM3 and COM2 is enabled please watch for following debug output:
QuoteDisplay More
PicoCOM4 V1.02 - Firmware Init
Copyright (c) 2010 F&S Elektronik Systeme GmbH
Build: Oct 4 2011/16:57:26
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
HW-WATCHDOG: ENABLED
FMD: NAND ID:0xec76 --> Samsung: 512MBit (64MB)
FMD: IsBlockBad - Page #: 0x0
FMD: IsBlockBad - Page #: 0x20
FMD: Block 0 to 20 are locked for boot loader
-OEMInit
OALIoCtlHalInitRTC: Year: 2006, Month: 1, Day: 1, Hour: 12, Minute: 0, second: 0
Time returned from OEMGetRealTime: Year: 2006, Month: 1, Day: 1, Hour: 12, Minute: 0, second: 39
Drivers\Builtin\Serial1 - OFF
RestartReason: Software
OAL: Boot display enabled. Settings imported successfully.
FMD: NAND ID:0xec76 --> Samsung: 512MBit (64MB)
FMD: IsBlockBad - Page #: 0x0
FMD: IsBlockBad - Page #: 0x20
FMD: Block 0 to 20 are locked for boot loader
FMD: FMD_OEMIoControl: unrecognized IOCTL (0x71c24).
FSPART: FS partition driver loaded
OEM: Not cleaning system hive
OEM: Not cleaning user profiles
OEM: Not cleaning system hive
DIO-Layout: >=V1.20
PM-NETDCU: STARTED
+OALIoCtlHalGetHWEntropy
OHCI: Version 1.2, ActiveKey = Drivers\BuiltIn\OHCI
I2C: Version 2.5, ActiveKey = Drivers\Active\10
PSS: Version 1.0, ActiveKey = Drivers\Active\11
VDE: Version 1.0, ActiveKey = Drivers\Active\12
NDIS:Version 1.0
WAV: Version 1.0, ActiveKey = Drivers\Active\16
CID: Version 2.6, ActiveKey = Drivers\Active\17
HSMMC: Version 1.0, ActiveKey = Drivers\Active\18
UART: Version 1.2, Key = Drivers\Active\34
DEBUG: UART2 SYSINTR : 64
UART: Version 1.2, Key = Drivers\Active\35
DEBUG: UART0 SYSINTR : 63
BCS: Version 1.1, ActiveKey = Drivers\Active\36
NI2C: Version 3.0, ActiveKey = Drivers\Active\38
DIO: Version 2.2, ActiveKey = Drivers\Active\39
USBFN: Version 1.0, ActiveKey = Drivers\Active\41
USBFN: USB Serial Function Class Enabled : Serial_Class
USBFN: HW_USBClocks::D0
LCD: Version 1.0, ActiveKey =
LCD: Read registry settings from Drivers\Display\LCD
Display-Mode: 20, Name Ampire AM640480G2TNQ
Width: 640 Height: 480 Bpp: 16
USBFN: HIGH Speed
USBFN: HIGH Speed
TCHPDD: Version 1.3, Key = HARDWARE\DEVICEMAP\TOUCH
TCHKEY: Version 1.0, Key = HARDWARE\DEVICEMAP\TOUCH\VirtualKeys
NDCUCFG V: 045 started. Platform: PicoCOM4
CheckAutoStart: Version 1.5, LaunchNum = 100
NDCUCFG Open COM1: at 38400 Baud
CreateFile() failed -> ERROR COM1:
Please note that COM1 will not be available in Windows CE when debug output is enabled.