CE 6.0 Web Server SSL
Hi All
I am trying to re-configure our already fully working CE 6.0 website to use
SSL/HTTPS
I have retrieved an advanced certificate from our local Win2003 server
certificate authority and installed it on our CE device using the control
panel as suggested in "How to Set Up a Server Certificate for a Windows
Embedded CE Web Server" on msdn2. I also imported the keyfile (entered the
password) with no apparent problems. I changed the registry settings in
HKLM\COMM\HTTPD\SSL using remote registry and restarted the web server with
the "services" app but the https URL does not work ("Internet Explorer cannot
display the webpage") but the original http URL still works OK.
Is there anything else I need to do to configure this?
I assume that the "CertificateSubject" key is a string whose value should be
the friendly name of the server certificate I installed?
How do I install the server certificate and keyfile as part of the CE image,
rather than using Control Panel on the device (our device will run in kiosk
mode) ?
Setting the registry keys in the reg file is no problem but the other stuff
has me baffled.
Best Regards
Phil Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111534
SDIO Wifi Problem
When I insert a SDIO wifi card into my CE6 system, the config dialog does not
come out, and the err msg shows "WzcSetContext: WZCSAPI.DLL not present in
system". But as I check, that dll is in the system. What wrong config might
potentially cause this problem? Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111522
Is Vs2008/WinCe6.0 integration possible?
Does somebody know, if is it possible to integrate the WinCe60 Add-In or an
update of it with VS2008?.
Actually the Vs2008 help (MSDN for VS2008) knows only about Windows Ce 5.0
and Windows Mobile 5.0. It does not know anything about Windows CE 6.0. Only
the Knowledge Base articles have some articles about it.
Edgar Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111520
Can not delete file when NAND Flash is full on CE 5.
Dear all:
i came across a nand flash problem on windows ce 5.
And i have installed "Windows CE 5.0 Product Update Rollup, December 31,
2006".
The CPU i used is RMI Au1200 MIPS CPU.
The problem is,
i can not delete file on the flash disk after the flash is full.
The duplicate procedure is,
1. Write many files to flash disk
2. when it is almost full, it show below message
0x8f9279e8: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical
sector address for logical sector 0x00077a55
0x8f9279e8: FLASHDRV.DLL:CP_StartCompactor() - There aren't any DIRTY
sectors left; the compactor can't be started
0x8f9279e8: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to start compactor
in critical situation!!!
0x8f9279e8: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to reclaim any free
sectors in a critical compaction stage. Media must be full.
0x8f9279e8: FLASHDRV.DLL:WriteToMedia() - Unable to get next free physical
sector address for writing! The media is full...
0x8f9279e8: FLASHDRV.DLL:WriteToMedia() failed.
0x8f9279e8: Read/Write Sector failed (112) on Sector 490067
0x8f9279e8: FLASHDRV.DLL:CP_StartCompactor() - There aren't any DIRTY
sectors left; the compactor can't be started
0x8f9279e8: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to start compactor
in critical situation!!!
0x8f9279e8: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to reclaim any free
sectors in a critical compaction stage. Media must be full.
0x8f9279e8: FLASHDRV.DLL:WriteToMedia() - Unable to get next free physical
sector address for writing! The media is full...
0x8f9279e8: FLASHDRV.DLL:WriteToMedia() failed.
0x8f9279e8: Read/Write Sector failed (112) on Sector 490067
0x8f9279e8: FATFS!CommitStream returned 112 for '00000B1FTMP'
3. After this i can not delete any files.
0x8f9279e8: FLASHDRV.DLL:CP_StartCompactor() - There aren't any DIRTY
sectors left; the compactor can't be started
0x8f9279e8: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to start compactor
in critical situation!!!
0x8f9279e8: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to reclaim any free
sectors in a critical compaction stage. Media must be full.
0x8f9279e8: FLASHDRV.DLL:WriteToMedia() - Unable to get next free physical
sector address for writing! The media is full...
0x8f9279e8: FLASHDRV.DLL:WriteToMedia() failed.
0x8f9279e8: Read/Write Sector failed (112) on Sector 490067
0x8f9279e8: FLASHDRV.DLL:CP_StartCompactor() - There aren't any DIRTY
sectors left; the compactor can't be started
0x8f9279e8: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to start compactor
in critical situation!!!
0x8f9279e8: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to reclaim any free
sectors in a critical compaction stage. Media must be full.
0x8f9279e8: FLASHDRV.DLL:WriteToMedia() - Unable to get next free physical
sector address for writing! The media is full...
0x8f9279e8: FLASHDRV.DLL:WriteToMedia() failed.
0x8f9279e8: Read/Write Sector failed (112) on Sector 59902
0x8f9279e8: FATFS!CommitStream returned 112 for 'ELEVEN '
0x8f9279e8: FATFS!FAT_DeleteFileW(\eleven\00000000.tmp) returned 0x0 (112)
Any ideas?
Sincerely Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111519
MJPEG Support in Win CE 5.0
Hi,
Is Win CE 5.0 supports MJPEG files. If it support what all the codec and
dependency that i have add in catalog to play MJPEG file in Windows Media
Player.
Thanks, Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111518
Dynamic display resolution change in CE 6.0
I am working to develop a display driver that can take advantage of the
Windows CE 6.0 support for changing the screen resolution dynamically. It
seems there is very little documentation on this feature, other than the fact
that it exists.
What is the process for communicating a dynamic resolution change to the
graphics system? Is there some API call needed? I noticed in the sample
RageXL driver a reference to using the DrvDisablePDEV function to delete the
primary surface in order to create a new primary surface with the new display
resolution. But does the display driver initiate this process directly by
calling DrvDisablePDEV? Or is there some other way that this is done?
I assume it is unsafe to delete the primary surface while the graphics
system may be using references to it, so I want to understand the correct
procedure for accomplishing this resolution change.
Thanks for any help,
Danny Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111509
ControlPanel Applet
How do you remove controll panel applet, not all of them but some of
them, example Certificate, Dialing etc.
Thanks Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111498
SD Memory Card on SPI port
Hi,
For a project I'm currently working on I need to connect an SD Memory Card
to an SPI interface on an ARM9 running WinCE600. How can I direct the SD Bus
driver to use this specific SPI port as low level interface? Anyone done this
before? What code do I need to change / add?
--
kris @ signum Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111495
Configuring a Web Server on WinCE 5.0
Hi all,
I'm trying to configuring a Web server.
Following the instrction of the help (How to configure a web server) when I
try to connect to
http://localhost/webadmin
I get an error HTTP 404.
Any suggestion?
Thanks in advance,
Paolo Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111490
Initial audio volume issue
I'm working on a board with WinCE 5.0 that use pxa270 and ucb1400, the audio
working fine and through the control panel I can set the audio volume
correctly.
I have a problem after a reset, the volmue registry settings are ignored and
the audio volume start always as maximum level.
The registry keys are saved correctly on flash disk, so the control panel
settings are kept after the reset, but seems are not applied at startup.
Can anyone help me, please?
Thanks in advance
Stefano Bianconi Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111484
Hive based registry over block driver boot problem [CE 5.0]
Hello,
I have a problem with hive based registry in my platform.... i made a
block driver ( over spi for SD/MMC card's) and it is work's fine i can
see files on disk... copy paste and so on... now i try to add support
to hive based registry and have a problem with it... before it i make
hive based support with using FMD driver for internal flash but now my
board do not have flash ( i have only little spi flash for boot loader
and make wince image loader to boot it directrly from MMC/SD card and
it is work's too )
1) Block driver is working without hive based support....
2) With hive support board do not boot but it is create all needed
file's for hive on my sd card ( i can see and read it with card reader
on my PC ):
\Documents and Settings\default\user.hv
\system.hv
3) Setting's for hive ( not so clean now... becourse i do some
experements :) ) :
[SETTINGS]
; HIVE BOOT SECTION
;;;*******************************************************************
;;;
;;; HIVE REGISTRY BOOT SECTION
;;;
;;;*******************************************************************
[HKEY_LOCAL_MACHINE\init\BootVars]
"Start DevMgr"=dword:1
"Flags"=dword:3
"SystemHive"="system.hv"
"DefaultUser"="zeo"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MmcBlockDriver]
"Flags"=dword:1000
"BootPhase"=dword:1
"Dll"="mmcblockdriver.dll"
"Prefix"="DSK"
"DeviceId"=dword:0
"Ioctl"=dword:4
"Profile"="MMCSPI"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
"{A32942B7-920C-486b-B0E6-92A702A99B35}"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMCSPI]
"Name"="MMCSD SPI"
"Folder"="SDCard"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"MountFlags"=dword:46 ; Permanent | Root | Bootable
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MMCSPI]
"DriverPath"="Drivers\\BuiltIn\\MmcBlockDriver"
; LoadFlags 0x01 == load synchronously
"LoadFlags"=dword:1
"Order"=dword:0
"BootPhase"=dword:1
; END HIVE BOOT SECTION
[END]
4) Boot log:
[STARTBOOT]
x83fc70cc: FileSystem Starting - starting with clean file system
0x83fc70cc: FS: initializing ROM/RAM file system
0x83fc70cc: SC_CreateAPIHandle: pvData == NULL
0x83fc70cc: FS: Registering file system ROM, index 2, flags 0x00000031
0x83fc70cc: FS: Mount complete (ROM, index 2, flags 0x00000031)
0x83fc70cc: FSVOL: Opening existing volume
0x83fc70cc: FSVOL: Volume heap already initialized
0x83fc70cc: FSREG: Mounted ROM portion of boot registry
0x83fc70cc: FSVOL: Creating clean virtual volume
0x83fc70cc: FSVOL: Initializing volume heap
0x83fc70cc: FSREG: Mounted RAM portion of boot registry
0x83fc70cc: FS: Creating signal event SYSTEM/DevMgrApiSetReady
0x83fc70cc: FS: Creating signal event SYSTEM/PowerManagerReady
0x83fc70cc: FS: Creating signal event SYSTEM/GweApiSetReady
0x83fc70cc: FILESYS: Starting storage manager.
0x83fc70cc: FS: Registering file system StoreMgr, index 3, flags
0x00000001
0x83fc70cc: InitSharedHeap: 44200000 10000 c
0x83fc70cc: InitSharedHeap: return 44200060
0x83fc70cc: FILESYS: Restarting storage manager.
0x83fc70cc: INFO: MMC BLOCK DllMain
0x83fc70cc: INFO: MMC BLOCK DSK_Init
0x83fc70cc: INFO: SPI_CR0 000000C7
0x83fc70cc: INFO: vinf->byte_size 510132224, vinf->read_bl_len 9,
vinf->c_mult
6, vinf->c_size 3891
0x83fc70cc: INFO: MMC BLOCK DSK_Open
0x83fc70cc: INFO: IOCTL_DISK_DEVICE_INFO
0x83fc70cc: Loading partition driver mspart.dll hModule=83F9531C
0x83fc70cc: Driver mspart.dll loaded
0x83fc70cc: Opened the store hStore=000C2E20
0x83fc70cc: NumSec=996352 BytesPerSec=512 FreeSec=0 BiggestCreatable=0
0x83fc70cc: Partition Part00 NumSectors=996117
0x83fc70cc: MSPART!PD_OpenPartition: dwStoreId=000C2E20,
PartName=Part00
0x83fc70
cc: FSD_MountDisk: mounting volumes for hDsk=000C42E0
0x83fc70cc: INFO: IOCTL_DISK_DEVICE_INFO
0x83fc70cc: FATFS!MountDisk: BPB_HiddenSectors(235) != 0
0x83fc70cc: FATFS!OpenVolume: access time updates disabled
0x83fc70cc: FATFS!OpenVolume: event logging enabled
0x83fc70cc: FATFS!OpenVolume: automatic scanning disabled
0x83fc70cc: FATFS!OpenVolume: write verify disabled
0x83fc70cc: FATFS!OpenVolume: extra FAT on format disabled
0x83fc70cc: FATFS!OpenVolume: force write through enabled
0x83fc70cc: FATFS!OpenVolume: Codepage = 1
0x83fc70cc: FATFS!OpenVolume: Number of path cache entries = 50
0x83fc70cc: CreateCache: Successful. Cache Size: 122 KB, Start: 8,
End: 495.
0x83fc70cc: CreateCache: Successful. Cache Size: 244 KB, Start: 496,
End: 99611
6.
0x83fc70cc: FATFS!InitVolume: FAT version: 16
0x83fc70cc: FATFS!InitVolume: Cluster Size (Sectors): 16
0x83fc70cc: FATFS!InitVolume: TFAT enabled: FALSE
0x83fc70cc: FS: Registering file system SDCard, index 4, flags
0x00000042
0x83fc70cc: FS: Mount complete (SDCard, index 4, flags 0x00000042)
0x83fc70cc: FILESYS: Starting device and waiting for boot file system.
0x83f80a38: InitSharedHeap: 44200000 0 c
0x83f80a38: InitSharedHeap: return 44200060
0x83f80a38: *** DLL_PROCESS_ATTACH - Current Process: 0x42, ID:
0xe3f80c9e ***
0x83f80a38: +InitDeviceFileSystems
0x83f80a38: FS: Registering file system $device, index 5, flags
0x00000001
0x83f80a38: FS: Registering file system $bus, index 6, flags
0x00000001
0x83f80a38: -InitDeviceFileSystems: status is 1
0x83f80a38: Ceddk!CalibrateStallCounter: Enter
0x83f80a38: Ceddk!CalibrateStallCounter: Could not find stall counter
0x83fc70cc: FS: Waiting for device to signal BootPhase1 completion
0x83f80a38: Ceddk!BeginCalibration: min(984) max(1093)
0x83f80a38: Ceddk!BeginCalibration: Elapsed is 1024
0x83f80a38: Ceddk!BeginCalibration: Delay is 8
0x83f80a38: DEVICE!DevloadInit
0x83f80a38: DEVICE!InitDevices: Root Key is Drivers\BuiltIn.
0x83f80a38: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers
\BuiltIn\Prefi
x) returned 2
0x83f80a38: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers
\BuiltIn\BusPr
efix) returned 2
0x83f80a38: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers
\BuiltIn\MmcBl
ockDriver\BusPrefix) returned 2
0x83fc70cc: FILESYS: Device started. Boot file system ready.
0x83fc70cc: FSREG: Unable to read value "SystemHiveInitialSize" under
HKEY_LOCAL
_MACHINE\init\BootVars
0x83fc70cc: FSVOL: Opening existing volume
0x83fc70cc: FSVOL: Volume heap already initialized
0x83fc70cc: FSREG: Mounted ROM portion of system hive
0x83fc70cc: FILESYS: Loading system hive from SDCard\system.hv.
0x83fc70cc: FATFS!FAT_CreateFileW(\system.hv) returned 0x0 (2)
0x83fc70cc: FSREG: Mounting clean system hive
0x83fc70cc: BuildPath: SDCard
0x83fc70cc: FATFS!FAT_CreateDirectoryW(1 chars: \) returned FALSE
(183)
0x83fc70cc: FATFS!FAT_CreateFileW(\system.hv) returned 0x0 (2)
0x83fc70cc: FSVOL: Creating new volume (size=49152 bytes)
0x83fc70cc: FATFS!FAT_ReadFileWithSeek: driver declines to demand-page
'SYSTEM
HV '
0x83fc70cc: Failing CreateMap on non-pageable file system
0x83fc70cc: ERROR: c:\macallan\private\winceos\coreos\filesys\heap
\heap.c line 4
54: 0x83fc70cc: CreateFileMapping failed: 50
0x83fc70cc: FSVOL: Failure in FSMapMemory
0x83fc70cc: ERROR: d:\macallan\private\winceos\coreos\filesys\reg
\reghive\regist
ry.c line 1014: 0x83fc70cc: FSREG: Unable to mount clean system hive
0x83fc70cc: FSREG: Unable to load system registry! Registry will be
unavailable
.
0x83fc70cc: FileSys: DEBUGCHK failed in file d:\macallan\private
\winceos\coreos\
filesys\reg\reghive\registry.c at line 1074
0x83fc70cc: DEBUG_BREAK @00046710 MD=1f Ignored.
0x83fc70cc: FSREG: Unable to read value "RegistryFlags" under
HKEY_LOCAL_MACHINE
\init\BootVars
0x83fc70cc: FSREG: Unable to read value "NoDefaultUser" under
HKEY_LOCAL_MACHINE
\init\BootVars
0x83fc70cc: FSREG: Logging in default user.
0x83fc70cc: FSREG: Unable to read value "DefaultUser" under
HKEY_LOCAL_MACHINE\i
nit\BootVars
0x83fc70cc: SetCurrentUser: Logging out (nobody), logging in default
0x83fc70cc: BuildPath: SDCard
0x83fc70cc: FATFS!FAT_CreateDirectoryW(1 chars: \) returned FALSE
(183)
0x83fc70cc: BuildPath: SDCard\Documents and Settings
0x83fc70cc: BuildPath: SDCard\Documents and Settings\default
0x83fc70cc: FSREG: Mounting ROM portion of user hive
0x83fc70cc: FSVOL: Opening existing volume
0x83fc70cc: FSVOL: Volume heap already initialized
0x83fc70cc: Mounting user hive from SDCard\Documents and Settings
\default\user.h
v
0x83fc70cc: FATFS!FAT_CreateFileW(\Documents and Settings\default
\user.hv) retur
ned 0x0 (2)
0x83fc70cc: FSREG: Mounting clean user hive
0x83fc70cc: FATFS!FAT_CreateFileW(\Documents and Settings\default
\user.hv) retur
ned 0x0 (2)
0x83fc70cc: FSVOL: Creating new volume (size=49152 bytes)
0x83fc70cc: FATFS!FAT_ReadFileWithSeek: driver declines to demand-page
'USER
HV '
0x83fc70cc: Failing CreateMap on non-pageable file system
0x83fc70cc: ERROR: c:\macallan\private\winceos\coreos\filesys\heap
\heap.c line 4
54: 0x83fc70cc: CreateFileMapping failed: 50
0x83fc70cc: FSVOL: Failure in FSMapMemory
0x83fc70cc: SetCurrentUser failed!
0x83fc70cc: FSREG: Unable to read value "RegistryFlags" under
HKEY_LOCAL_MACHINE
\init\BootVars
0x83fc70cc: FSREG: Unable to read value "DBFlags" under
HKEY_LOCAL_MACHINE\init\
BootVars
0x83fc70cc:
Initializing Database
0x83fc70cc: DB:Validation: Name already exists DB_notify_events
0x83fc70cc: DB:CeCreateDatabase failed
0x83fc70cc: Filesystem initialized!
0x83fc70cc: FILESYS: Waiting for kernel to be ready to launch apps
0x83fcaa40: InitMUI: DISABLED (-1039860968)
0x83fc70cc: FS: HKLM\System\Events not available, no signal events
created.
0x83fc70cc: FILESYS: Launching apps
0x83fc70cc: ERROR: d:\macallan\private\winceos\coreos\filesys\main
\fsmain.c line
4103: 0x83fc70cc: Unable to locate init key for starting apps!
0x83fc70cc: FILESYS: Done launching apps
0x83fc70cc: -DEVICE!DevloadPostInit
0x83fc70cc: This device has booted 0 times !!!
[END]
I can undestand why it does not working.... i see already in group
something problem like mine.. but i see also with no success with
it.... maybe problem with this: "Failing CreateMap on non-pageable
file system" ... and i need to make this possobilites in my driver...
maybe anyone already know about this problem?
Tnx Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111483
Question about building WM device
Dear All,
I have installed WM500 and use the build platform wizard to make my first
cleam image without any changes. After the wizard and creating the
environment variables, I double click the "BuildAll.dat". However, there are
error message in the log file and no image was created. Here is the message
given:
input error: extension".js" no corresponding Script engineã??
NMAKE : fatal error U1077: 'cscript' : return code '0x1'
What is the problem?? Is anything missing?
Thanks
Jay Chan Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111475
MDD and PDD concepts in WinCE
Can any one explain about the MDD and PDD concepts in WinCE?
My questions are...
1) Which one interacts with the hardware MDD or PDD?
2) Which one interacts with the GWES/SHELL/NK.exe, MDD or PDD?
3) Y I am confused with these concpepts is because in USBHID keyboard
driver the PDD retrieves the scan codes (interact with H/W) from keyboard
hardware and MDD sends those to GWES module.
But whereas in Graphics i.e. in display driver the PDD interacts with GWES
(like receives rectangle bounds for an ellipse) and gives them to MDD (i.e
Graphics Primitve Engine GPE). MDD i.e. GPE draws the ellipse on the display
device (i.e GPE is interacting with H/W). Here in MSDN GPE is considered as
MDD and DDI is considered as PDD.
4) According to my understanding PDD is a driver that interacts with H/W. Is
this correct? If not please correct me.
Many Thanks in advance,
Ram.P Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111473
Native WIFI removed in CE 6.0?
Am I correct in understanding native WiFi has been removed from CE 6.0?
I.E. you can no longer implement an AP or gateway?
CE WiFi device has been relegated to being just a client?
Reason for this? Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111469
SDIO Stack
Hi all,
I am working with the SDIO stack included with PB-5.0 and I just found that
BSquare sells an SDIO Stack, so I was wondering if anyone knows why I
should use the Square stack over the PB stack ? what are the differences ?
Are there known issue with the PB stack ? Which one are people on this
newsgroup using ?
Thanks,
Joe W. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111461
(WINCE - x86) SATA for WINCE 5.0 and 6.0 ?
Dear Sir,
I have some question for SATA on WINCE platform.
1. Does standard CEPC BSP of WINCE 5.0 and WINCE 6.0 CE support SATA
HDD ?
2. if NOT support , How could I do to enable SATA HDD in WINCE 5.0 and
WINCE 6.0 ?
3. In the WINCE 6.0 catalog , the storage have SATA item.
Where is the standard SATA driver ? Could I compile SATA driver on
WICE 5.0 , if WINCE 5.0 does NOT support SATA HDD ?
Thanks for your great help.
BR,
dirw Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111459
AJAX with WIndows CE 5.0
Hello,
is it possible to run AJAX applications on a WIndows CE 5.0 device?
What component should i add to the IE ?
Any links are welcome.
Best regards
--
Javier Grijalba
www.contendosystems.com
Embedded Systems
J.Grijalba at Contendosystems dot com Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111456
Question about cloning in WinCE 6.0
Hi all,
I wonder how you clone code from public driver to your own platform code?
Ive tried using tips from other threads without success.
Lets say i want to modify
"WINCE600\public\common\oak\drivers\display\emulrotate". How do I do this?
I guess this lib is linked into some module using makefile.def? If I clone
it and build it in my platform the .lib file will end up in my platform\lib
directory. How do I get the build system to use this .lib instead of the
public one?
I would be glad if someone could explain how the makefile.def works and how
the cloning is done.
Best regards! Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111453
Setting the DEVICEID structure
Hi all,
I am developing a multimedia platform on WinCE 5 using Platform Buider 5 and
EVC++ SP4, this platform is based on the x86 CEPC platform which ships with
Platform Builder.
I want to have the ability to play DRM protected content in the multimedia
environment. At this moment this isn't possible without KITL enabled. With
KITL enabled it does work This is because the DEVICEID structure isn't
correctly set without KITL enabled. So I have a few questions regarding this
subject.
Q1) Is it possible to set the DEVICEID structure as developper?
Q2) If so, what code needs to be changed, and what steps have to be taken to
implement the code in the build?
Q3) Can I use the MAC address of the ethernet card as unique identifier for
the DEVICEID structure?
Q4) Can you provide me with an sampe to do so?
Kind regards,
Michel van Geffen
Student at the Avans University of Professional Education Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111439
shortcut trouble
Hi,
I made 2 desktop shortcuts under CE6.0
One refers to a file on disk : \diskname\foldername\someprog.exe , it works
fine.
The other refers to \Windows\someprog.exe , when I press it it gives me an
error msgbox saying there was an "error opening the shortcut or locating
target filename"
Unfortunately it does not say what the problem exactly is....
I tried to fix it without much luck sofar.
The length parameter in the shortcut is a suspect, I tried several things :
- specifying exact length
- specifying greater length and put some spaces after the filename.
- using short filename only.
No f-ect....
The file IS present, and the shortcut is correct as far as I can tell.
Can anyone give me some tips on this ?
Greetings,
Rob. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111435
WinCE 6.0 kernel often hangs
I am porting wince 6.0 to my board(S3C2410,64M SDRM,64M NAND Flash).I
cloned DEVICEEMULATOR BSP shipped with PB6.0 and modified to adapt my
hardware. Now,eboot can work correctly,but the OS often hangs after
"Launch(dwPhysLaunchAddr);".
And the dubug information is as follows:
Download file information:
-------------------------------------------------------------------------------
[0]: Address=0x80070000 Length=0x971AD0 Name=
****** OEMVerifyMemory Checking Range [ 0x80070000 ==> 0x809E1ACF ]
****** RAM address ******
TFTP: Desktop losing ACK, block number = 4147, Ack again
rom_offset=0x0.
ImageStart = 0x80070000, ImageLength = 0x971AD0, LaunchAddr =
0x80075620
Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80070000 Length=0x971AD0 Name="" Target=RAM
ROMHDR at Address 80070044h
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
INFO: OEMLaunch: Jumping to PA 0x30075620h (VA 0x80075620h)...
-------------------------------------------------------------------------------
The OS hangs here.If I reset the hardware and dowload NK.bin again,the
os can launch correctly.This is debug information:
Download file information:
-------------------------------------------------------------------------------
[0]: Address=0x80070000 Length=0x971AD0 Name=
****** OEMVerifyMemory Checking Range [ 0x80070000 ==> 0x809E1ACF ]
****** RAM address ******
TFTP: Desktop losing ACK, block number = 4147, Ack again
rom_offset=0x0.
ImageStart = 0x80070000, ImageLength = 0x971AD0, LaunchAddr =
0x80075620
Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80070000 Length=0x971AD0 Name="" Target=RAM
ROMHDR at Address 80070044h
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
INFO: OEMLaunch: Jumping to PA 0x30075620h (VA 0x80075620h)...
Windows CE Kernel for ARM (Thumb Enabled) Built on Feb 5 2008 at
10:48:36
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
+OEMInit
OALLIB:init.c: Signature=53475241, IP=7900a8c0, Device Logical
Location=a000300
DCache: 8 sets, 64 ways, 32 line size, 16384 size
ICache: 8 sets, 64 ways, 32 line size, 16384 size
-OEMInit
INFO: WAVEDEV.DLL: SetI2SClockRate: Using processor frequency
reported by the O
AL (50750000).
Prescaler:2
INFO: CReg2410Uart::CReg2410Uart using processor frequency
reported b
y the OAL (50750000).
DM9000 Driver Use EINT0
Exception 'Data Abort' (4): Thread-Id=00d70002(pth=83e53444), Proc-
Id=00400002(p
prc=809f8308) 'NK.EXE', VM-active=017a0002(pprc=83e25da8)
'udevice.exe'
PC=c089592c(sc2410usbfn.dll+0x0000592c) RA=c0896978(sc2410usbfn.dll
+0x00006978)
SP=d034e2d8, BVA=00000000
--------------------------------------------------------------------------------------
Now WinCE 6.0 is running,although the usb function has data
abort.Audio Device, LCD and USB mouse work with no problem.So why it
oftern hangs at "Launch(dwPhysLaunchAddr);".I am so puzzled.Please
give me some advice.Thanks. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111428
Animating windows native controls
Hi,
A client have asked us to investigate the animation feasibility in windows
ce 5.0 or above. The question is,
Can we animate the windows native operations like minimizing/maximizing
windows, switching between windows, windows skins, location, and position of
menu items?
Like what we see in windows media player, by choosing a different skin, not
only the appearance of the player changes but also the menus, buttons and
their layout position changes too.
I am not sure if something like this can be done to the windows ce native
components like taskbar or explorer menus.
Please suggest if it is possible by modifying source code in the public
folder.
--
Gagan Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111426
Some questions about WinCE 5 memory configuration
Dear all,
Recently I am diving into the details of the WinCE 5 memory layout. I
am a little confused about following questions:
1. How the DLLs and executables are put in a slot?
On page 11 of book 'Building Powerful Platforms with Window CE', it
states that 'DLLs are loaded at the lowest address in the slot,
followed by the the stack, then the default process heap, and finally
the executable'
While on Sue Loh' blog ( http://blogs.msdn.com/sloh/archive/2005/02/25/380475.aspx
), I found this:
'One other detail that's handy to know, is that EXE code loads at the
very bottom of the slot (closest to 0x00000000), while DLL code & data
load from the top of the slot down (closest to 0x1FFFFFFF). In
between are heap allocations, thread stacks, small VirtualAllocs, and
other "goodies" that don't have symbols.'
I prefer Sue is right since the book is kind of out of date.
2. XIP in ROM or in slot 1?
In project.bib, DLLs not specifid as compressed in Modules section
will execute in place, normally from the ROM.
But in Sue's blog, she also mentioned that the slot 1 is special for
XIP DLL code. I dont know when and how the loading of these XIP DLLs
from ROM to slot 1 happens, any hints?
Thanks in advance!
Hao Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111408
Fonts in WinCE 6.0 R2
Hi to all
I use windows CE embedded 6.0 R2 and i develop in VB.NET 2005. My
device is
an x86. In my application i need to use my true type font called
"elsyst.ttf".
In Win CE 6.0 was sufficient include the font in the project.bib.
Now i use WinCE 6.0 R2 and my application dont recognize my font
(elsyst.ttf
exist in \Windows folder) and display the text using another font
(and size).
I build my font with High-Logic Font Creator.
Any information would be most appreciated.
Thank you and excuse me for my bad english.
Ale Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111407
PXA270, CE 5.0, DMA performance issue
I have been digging into an issue lately (see my other recent threads)
related to a problem I am encountering with the DMA controller. I am moving
approx 7.5 MB of data from an external peripheral (FPGA) using fly-by DMA in
440ms, RAM is running at 104 MHz. The DMA controller is setup in channel 0,
using two descriptors that hand a portion of the data to one buffer, and the
other portion to another buffer which are allocated in config.bib. This is
all done within a custom dll loaded by the application using LoadDriver().
All allocated buffers and controller registers are mapped using
MmMapIoSpace().
The issue I am having is if I attempt to move data to/from the PCMCIA ATA
card while the DMA is in process, I drop DMA data, not all, but some. Once
the transfer to/from PCMCIA is complete, the DMA picks back up. FWIW, the
PCMCIA IRQ is on a GPIO line and I have verified/fixed issues with the PCMCIA
driver and ATA driver so that they are correctly IRQ driven.
There is a very small ISR for the DMA channel that adjusts the target buffer
addresses for each sequence of data that is passed. Basically when the
channel stops, the target addresses are bumped in the descriptors, and the
channel is then restarted. I have this logic in macros that I have setup in
the FIQ and also in a real-time priority (96) IST, but neither solves the
problem. As I understand, the FIQ on the 270 is NOT "higher priority"
(according to the Intel spec) as it once was with the 255 processor, however
the new IRQ priority scheme was instituted on the 270 to be more flexible.
The interrupt priorities (ipr) is setup such that the DMA controller is
higher priority than the GPIO controller, and the ISR is using the 270's ichp
register to determine the highest priority IRQ to service.
Am I asking too much of the CPU, is there a known issue with the ichp
register on the 270, etc.? I am a bit stumped.
Thanks. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111406
USB RNDIS KITL in WINCE600: Suspend/Resume Issue
Hello guys:
I am developing the USB RNDIS KITL for our Windows CE 6.0 BSP. All is
OK except for the Suspend/Resume issue: when the system resumes from
OEMPowerOff(), the software will hang up. But when I take the ethernet KITL,
the system can syspend&resume properly. So can anyone give me a tip for the
issue?
I doubt that this is caused by the electrical difference between USB
and ethernet. When system resumes, the ethernet can be restored to a work
state, but the USB can not be restored, for example, the "Attach" event is
not occurred and the PB can not re-establish the connection with KITL.
Thank you!
B.R
Tengyeyan Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111396
RAMIMAGE should not start from address 0?
I'm working on a device where the contents of a boot rom is
automatically copied to an SRAM of which the physical address is zero
when powered on. BIB file for the bootloader is as follows:
MEMORY
; Name Start Size Type
; ------- -------- -------- ----
STEPLDR 00000000 00002000 RAMIMAGE
STACK 30002000 00002000 RESERVED
RAM 300A7000 00012000 RAM
CONFIG
COMPRESSION=ON
PROFILE=OFF
KERNELFIXUPS=ON
ROMSTART=00000000
ROMWIDTH=32
ROMSIZE=00010000
MODULES
; Name
Path
Memory Type
; ----------
--------------------------------------------------------------
-----------
nk.exe $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)
\stepldr.exe STEPLDR
The problem is that, when we build stepldr.nb0, the address which is
supposed to indicate the address of a global variable is written as
zero. For example, when we have following C code:
bLARGEBLOCK = FALSE;
When we dissasemble stepldr.exe, we see this and it's ok:
00011778: E59F50A8 ldr r5, [pc, #0xA8]
....
00011828: 00012000 andeq r2, r1, r0
However, in stepldr.nb0, I see address 0x1828 is filled with zeros not
0x12000:
0001820: 3040bde8 1eff2fe1 00000000 30402de9 0@..../.....0@-.
As far as I have observed, this problem happens only when the start
address of RAMIMAGE is zero. Is this a bug or am I doing something
wrong? Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111393
_ISVINCPATH _OEMINCPATH ?
There are many references for _ISVINCPATH, _OEMINCPATH and INCLUDES from
sources file.
what is the differences between them? Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111389
Building Powerful Platforms with Window CE by James y.wilson
Recently to help myself, i bought this book to help me bring up PXA255
abandon board. But most of the reference cannot be found, directory is no
more present in the winCe5.0. Just my luck but i still have to get the job
done. Pls help me
Could anyone help on the question below
1) i am not able to find the Sample OAL(Odo platform) provided in CEPB. The
book mention that is is available from www.hitachi-first.com not present
anymore
Can anyone direct me to a sample OAL for PXA255?
2) where is the sample PXA255 processor configuration code provided in CEPB
3) Where is the sampel source code for bootloader. i can't find it in
.\PLATFORM\<PlatformNAME>\BOOTLOAD in CE5.0?
is c:\window CD5.0\Wince500\Platform\CEPC\src\Bootloader\eboot\main.c the
sample bl for PXA255? Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111382
Thread Priority Question
I have a driver that I compile using PB 5.0. This driver is not loaded by
the device.exe but rather is dynamically loaded by our application on a
demand basis. The driver spins up a few ISR threads set to real time
priority levels. These threads are still going to be serviced as if the
driver was loaded via device.exe, correct? Is there any benefit to
device.exe loading the driver versus the application from a performance
standpoint? I think not, but thought I would throw the question out there
regardless as I am still fighting some performance issues.
Thanks. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111377
SDIO Host Controller Driver issue
Hello,
I'm Running wince 5.0 , building a debug image for SDHC Version 2.0 (
IMGSDBUS2 =1 )
when I first plugged in a SD memory card it did not work, so I started to
enable more debug zones and all of a sudden the card started working. I
narrowed it down to one debug bit in one zone
( sdbus HC Driver Load SDCARD_ZONE_0 ) I found this zone was only used in
4 places so replace one of them with a Sleep(1) and this worked. I
then built a release version and verified I need this delay for the
release version also. The function code snippet is below. Has anyone seen
this before ? any Ideas ? Not sure how this 1 ms is going to affect me
down the road...
CSDBusRequest * CSDSlot::SDHCGetAndLockCurrentRequest_I()
{
CSDBusRequest * pReturn = NULL;
m_SdHost.SDHCAccessLock();
Sleep(1);
// added
DEBUGMSG(SDCARD_ZONE_0,(TEXT("SDHCGetAndLockCurrentRequest_I,m_curHCOwned=%x\n"),m_curHCOwned));
if (m_curHCOwned) {
m_lcurHCLockCount++;
pReturn = m_curHCOwned;
}
m_SdHost.SDHCAccessUnlock();
return pReturn;
}
Thanks,
Joe W. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111374
Fresh install or ghost migration of boot drive
I have a P4 running Win XP sp2 with all updates. It is stable, but three
years old. I am building a new, high end computer to replace this one and
plan to use WinXP on it too. I want to know if I should do a fresh install
of Windows and all apps (big pain), or is it fine to migrate the OS and apps
using a program like Norton Ghost or Save & Restore? Why?
Thanks Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111368
Windows CE 5.0 and Windows Server 2008
Hi,
I have a windows CE 5.0 device based and two servers, one with Windows
Server 2003 and one with Windows Server 2008 and Terminal Services
configured in both. When I connect to Windows Server 2003 and redirect the
local resources everything works well, but, with windows server 2008 when I
try to access a redirected folder I'm getting this error:
"\\tsclient\files\hard disk is not accessible you might not have permission
use this network resource . Contact the administrator of this server find
out f you have access permissions.
File exists." I hope you can help me with this, thanks. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111358
How to suspend power of GPE driver from another driver and do not
Hi all,
I have got two drivers : mydriver.dll and ddi_mydriver.dll
I am trying to suspend power of my GPE driver (ddi_mydriver.dll) from
mydriver.dll but it does not seem to have the expected effects ...
What I have done :
1) In mydriver, I request a power state change :
SetDevicePower(_T("{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}\\\\Windows\
\ddi_mydriver.dll"), POWER_NAME, D4);
-> This operation succeeds
2) ddi_mydriver.dll receives the power state (D4) but continues to
receive blit requests.
What should I do to notify to not receive anymore blits in D4 power
state ?
Thanks,
Olivier Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111356
CE 5.0 PCMCIA ISR issue
I have been working on a performance issue with our CE 5.0 platform. There
is a problem I am having with the PCMCIA driver and the ISR (client/data IRQ
not status IRQ or CD IRQ). What is happening is no matter what "NoISR" is
set to under "HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_MAINSTONEII0" the
installable ISR is being loaded. What this does is causes the actual
hardware IRQ from the PCMCIA card to be ignored thus clobbering anything else
that might be occuring throughout the system when an I/O transfer occurs
to/from the PCMCIA card. The goal is to priortize the IRQs via the 270
interrupt controller but I cannot due to the current issue.
The problem appears to be in the CPcmcia::PcmciaCardRequestIRQ() routine
located at \PUBLIC\COMMON\OAK\DRIVERS\PCCARD\PCMCIA\pcmcia.cpp. The CPcmcia
class inherits from CRegistryEdit helper class to deal with registry access.
When CPcmcia is initialized it passes the current active key path loaded in
the registry. The "NoISR" flag in the registry that controls is being looked
at based on the active registry path, which is not correct. This causes in
all cases for the installable ISR to be loaded and run no matter how "NoISR"
is set.
I can force the "NoISR" flag through the debugger, and when doing so the
code behaves as I expect it to. The ATADisk ISR is called when a hardware
IRQ is recieved from the PCMCIA card, does some I/O, waits for another IRQ,
etc. as it should.
Am I placing the "NoISR" in the wrong location, and if so, where does the
flag need to be placed for it to appear in the active registry key when the
driver is loaded? Since the "Active" key is dynamic based on what drivers
are loaded/unloaded I didn't think there was a way to pass it a static value
such as "NoISR".
Any insight is appreciated.
Thanks. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111347
WLAN connection
Hi,
I am working on WLAN driver,
Here i can able to scan the available networks from my device and able
to connect to networks.
But there is a problem with Linksys WLAN routers, i can able to scan
this networks, but cannot able to connect to the network.
Can you please let me know what is wrong with this Linksys routers.
Or there is anything specific i have to check in my code.
Thanks,
Seshu Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111337
Bootloader
I might sound like a retard in askin this, but here goes.
I'm folowin the steps on how to make a bootloader, on the pltform builder
help document.
1. At one point, it says to "include the directory in the hardware platform
dirs file to build it as part of Platform Builder". How do i that?
2. I try to build the files using the build -c option on command prompt, but
it says build is not a recognized command. Is there any other way to build? Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111336
how to start application at startup of booting time
For start application at booting time,
as you say to make changes as follows on registry:-
[HKEY_LOCAL_MACHINE\Init]
> Launchxx = "MyShell.EXE"
> Dependsxx = hex:14, 00, 1e, 00
but problem is i given below.
i have hard disk with primary partition 32mb. I have 3 files
boot.ini, splash.bmx and eboot.bix. and also nk.bin on active
partition. when i start the device, image is loaded from hard disk
to ram. then how to edit the registry, because it is loaded on ram. I
place the application exe on \windows\startup folder, but these
folder
are created on ram, when i restart the target device, this file are
removed. Then how to start application at startup of booting time. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111333
Snchronization between OAL and driver
I'm working on a device where RTC, audio codec and camera share I2C
bus.
The problem is that RTC is accessed by OAL functions like
OEMSetRealTime while audio codec and camera is accessed by user-mode
device drivers.
Therefore OEMSetRealTime function call may intefere I2C bus which is
already being used by audio or camera device driver!
My questions are
1. Is it possible to synchronize OAL function call and device driver
calls?
2. If answe of 1 is negative, how about making an RTC device driver
and letting OEMSetRealTime notify the device driver to write current
time information? Then what kind of notification method would be
possible?
Thanks in advance. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111332
BattSuspendTimeout registry
Hi,
I try to set the BattSuspendTimeout registry key to 0 in platform.reg and
build the image and download to the platform that running window mobile 5.
However, i don't know why when i view this registry key in platform builder
registry editor, it still remain 120 ...
Due to this reason, when i put the battery driver, after 2 minutes, the
platform go into suspend....
Any idea?
Best regards,
JamesCool
--
Message posted via http://www.pocketpcjunkies.com Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111330
NDIS Intermediate blocks OID_PNP_SET_POWER, How does Miniport..?
Given the recommendation on this MSDN page:
http://msdn2.microsoft.com/en-us/library/ms902868.aspx states the
following:
"An intermediate driver must always return NDIS_STATUS_SUCCESS to a
query of OID_PNP_SET_POWER. An intermediate driver should never
propagate an OID_PNP_SET_POWER request to an underlying miniport."
Question #1: Does anyone know the reasoning behind this rule?
Question #2: How does one communicate "power transitions" (D0 and D3)
to a physical miniport driver?
Appreciate knowledgable feedback! Thanks Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111329
modules window
hi?
From debug --> windows --> modules, there is relocated data address range.
what is it? how can it be used for debugging? Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111321
Adding Projects to PlatformBuilder/SDK
I have a VS2005 solution which builds and executes fine. I need to add this
solution to my OS Design and Compile it against my SDK
libraries/headers/files.
How can I do this? I looked into adding it to the Subprojects item in the
SolutionsExplorer - but I dont see a good/easy way.
I see following ways of doing it -->
1. Either I need to create a new empty subprojects (and copy my source files
into that newly created empty project in real a dumb way) or
2. I would need to generate something like a .XML project file and import it
into OSDesign. Question is how do I do this, if this is this correct way?
3. Or is there another way?
Just as FYI, my VS2005 solution is extremely complex in terms of no. of
projects it holds (may be around few hundreds), containing DLLs, LIBs & only
one EXE.
Thanks for your advice. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111320
(x86 - shared IRQ) How to share 1 IRQ for 2 com port
Dear Sir,
I use x86 architecture for my project.
In my project, the system have 3 com port, but we only have 2 IRQ.
So I plan to share 1 IRQ for 2 device.
The following are original setting , the "IOBase-0x2F8" and
"IOBase-0x3E8" works well , but "IOBase-0x3F8" cannot work.
//===========================
// BIOS , support shared IRQ
//===========================
COM1 - 0x3F8 - IRQ4
COM2 - 0x2F8 - IRQ3
COM3 - 0x3E8 - IRQ4
COM4 - 0x2E8 - IRQ3
//===========================
// IRQ to SYSINTR Table
//===========================
// COM1 - 0x3F8-0x3FF, IRQ4
// COM2 - 0x2F8-0x3FF, IRQ3
// COM3 - 0x3E8-0x3EF, IRQ4
// COM4 - 0x2E8-0x2EF, IRQ3
//
// IRQ3 - COM2 or COM4
OALIntrStaticTranslate(SYSINTR_FIRMWARE + 3, 3);
// IRQ4 - COM1 or COM3
OALIntrStaticTranslate(SYSINTR_FIRMWARE + 4, 4);
//===========================
// Platform.reg
//===========================
IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
"SysIntr"=dword:13
"IoBase"=dword:02F8
"IoLen"=dword:8
"DeviceArrayIndex"=dword:0
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="Com16550.Dll"
"Order"=dword:0
"Priority"=dword:0
; Turn on follows for Installable ISR (isr16550 supporting SOFTWARE
FIFO
; "Irq"=dword:3
; "IsrDll"="isr16550.dll"
; "IsrHandler"="ISRHandler"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,
00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_NOSERIAL !
IF BSP_SERIAL2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"SysIntr"=dword:14
"IoBase"=dword:03E8
"IoLen"=dword:8
"DeviceArrayIndex"=dword:1
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="Com16550.Dll"
"Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL2
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,
00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_SERIAL2
IF BSP_SERIAL3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3]
"SysIntr"=dword:15
"IoBase"=dword:03F8
"IoLen"=dword:8
"DeviceArrayIndex"=dword:2
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="Com16550.Dll"
"Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL3
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,
00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_SERIAL3
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++
After I study some article from news goroup, I follow the MSDN to do
some modify.
The MSDN article link is http://msdn2.microsoft.com/en-us/library/aa927957.aspx
MSDN describes "Hard-code the Sysintr values into your OAL. Multiple
Sysintr values can correspond to one IRQ. IRQ values and Sysintr
values can have a one-to-one relationship, which defines the default
Sysintr value for the IRQ. For examples, see SETUP_INTERRUPT_MAP and
OEMRequestSysIntr. You can add the hard-coded Sysintr values,
beginning at SYSINTR_FIRMWARE + 16, to OEMInit, immediately after the
last SETUP_INTERRUPT_MAP. You cannot use SETUP_INTERRUPT_MAP directly
because it includes instances of DEBUGCHK, which ensure that the same
IRQ is not mapped twice. Although this method is not as flexible as
the one above, after you have configured the OAL, you can update the
registry to inform the serial drivers about which Sysintr to use."
The following are updated information , but the result is the same.
The "IOBase-0x2F8" and "IOBase-0x3E8" works well , but "IOBase-0x3F8"
cannot work.
//===========================
// IRQ to SYSINTR Table
//===========================
// COM1 - 0x3F8-0x3FF, IRQ4
// COM2 - 0x2F8-0x3FF, IRQ3
// COM3 - 0x3E8-0x3EF, IRQ4
// COM4 - 0x2E8-0x2EF, IRQ3
//
// IRQ3 - COM2 or COM4
OALIntrStaticTranslate(SYSINTR_FIRMWARE + 3, 3);
// IRQ4 - COM1 or COM3
OALIntrStaticTranslate(SYSINTR_FIRMWARE + 4, 4);
OALIntrStaticTranslate(SYSINTR_FIRMWARE + 16, 4);
//===========================
// Platform.reg
//===========================
; @CESYSGEN IF CE_MODULES_SERIAL
IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
"SysIntr"=dword:13
"IoBase"=dword:02F8
"IoLen"=dword:8
"DeviceArrayIndex"=dword:0
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="Com16550.Dll"
"Order"=dword:0
"Priority"=dword:0
; Turn on follows for Installable ISR (isr16550 supporting SOFTWARE
FIFO
; "Irq"=dword:3
; "IsrDll"="isr16550.dll"
; "IsrHandler"="ISRHandler"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,
00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_NOSERIAL !
IF BSP_SERIAL2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"SysIntr"=dword:14
"IoBase"=dword:03E8
"IoLen"=dword:8
"DeviceArrayIndex"=dword:1
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="Com16550.Dll"
"Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL2
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,
00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_SERIAL2
IF BSP_SERIAL3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3]
"SysIntr"=dword:20
"IoBase"=dword:03F8
"IoLen"=dword:8
"DeviceArrayIndex"=dword:2
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="Com16550.Dll"
"Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL3
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,
00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_SERIAL3
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++
Does any people have suggestion ?
Beside , if I want to use another idea to implement , how should I
do ?
"Use IOCTL_HAL_REQUEST_SYSINTR and pass the OAL your IRQ and the OAL
returns a Sysintr value that you can use. If your driver unloads, use
IOCTL_HAL_RELEASE_SYSINTR."
Thanks for your great help.
BR,
dirw Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111316
WaitForAPIReady CE 6.0
Hi All
Does anyone know if there is a value (or constant) of the dwAPISlotIndex
parameter that I can use with the WaitForAPIReady function in CE 6.0 that
will tell me specifically when the Compact Framework 2.0 is ready?
Thanks
--
Phil
Remove the nospam section from my e-mail address. Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111315
dll location from ce6.
I built a emulator based ce 6 os image and then run the 'remote process
viewer'.
At the module window for any process, all of the 'Full Path' columns have
coredll.dll. At ce5, this column is same as module column. why it is changed
like this?
And for NK.exe process, there are many .dlls and I can see most of them are
located at kernel XIP dll area ( 0xc0000_0000 ~) but some dll (rsaenh.dll) is
located at Kernel VM area ( 0xd0730000). how is the loading address is
decided and by what? Tag: Does Windows Ce 6.0 supports TCP/IP offloading? Tag: 111306
I know Windows CE 5.0 doesn't support offloading ( Correct me if I am wrong!)
but what about Windows Ce 6.0 ?