Hello
I have PicoCOM4 Hardware revision 1.2 and want to use CAN Bus from PicoCOM4.
Usually I initalize like this
m_hCAN = CreateFile(pszName, GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL );
When doing so GetLastError() returns 55
Looks, thed driver is not available, can you help here?
The serial debug output looks like this:
QuoteDisplay More
Copyright (c) 2010 F&S Elektronik Systeme GmbH
Build: Jun 28 2012/09:53:29
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: 18
Drivers\Builtin\Serial1 - OFF
RestartReason: Reset
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
Attach moutouchHID
NDIS:Version 1.0
NSPI: Version 3.2, ActiveKey = Drivers\Active\19
WAV: Version 1.0, ActiveKey = Drivers\Active\20
HSMMC: Initializing the HSMMC Host ControllerHSMMC: Version 1.0, ActiveKey = Drivers\Active\21
UART: Version 1.2, Key = Drivers\Active\34
DEBUG: UART0 SYSINTR : 65
BCS: Version 1.2, ActiveKey = Drivers\Active\35
NI2C: Version 3.0, ActiveKey = Drivers\Active\36
DIO: Version 2.3, ActiveKey = Drivers\Active\37
USBFN: Version 1.0, ActiveKey = Drivers\Active\39
USBFN: USB Serial Function Class Enabled : Serial_Class
USBFN: HW_USBClocks::D0
LCD: Version 1.6, ActiveKey =
LCD: Read registry settings from Drivers\Display\LCD
Display-Mode: 100, Name Hitachi TX14D17
Width: 640 Height: 480 Bpp: 16
TCHPDD: Version 1.3, Key = HARDWARE\DEVICEMAP\TOUCH
TCHKEY: Version 1.0, Key = HARDWARE\DEVICEMAP\TOUCH\VirtualKeys
CheckAutoStart: Version 1.5, LaunchNum = 100
NDCUCFG V 50 started. Platform: PicoCOM4
NDCUCFG Open COM1: at 38400 Baud
CreateFile() failed -> ERROR COM1: