winCE5.0 image downloading problem
After doing the following process i am facing some problem plz help me,
1->First i make an winCE5.0 image of USB transport support.
2->Image create successfully with 0 error
3->Now i want to download the image to a NAND Flash.
Making communication as "ethernet" and transport as "USB" i am able to
download my image to board.
But the problem is on the board it is displaying only the white screen
nothing else are displaying on the board.Plz if anybody know about this
problem ,kndly help me.
Regards
Manoranjan Tag: Hi, Tag: 78979
Web based administration
Hi!
I do not have much experience with the web based administration and I would
like to set the Web server on my platform with WinCE4.2. I have read the
documentation and I think I have all of the components in my image.
After I start the [IP address]/networkadmin in my browser I type the
password and I create a new user and password (I am using NTLM). I can do
everything on that web page. But when I restart my platform I get prompted
for the username and password again and it doesn't recognize my username and
password anymore. This works with the Basic Auth, but with NTLM doesn't. What
do I have to set in the registry? Does the problem lies in my Web browser
settings maybe?
Thanks, Jernej Tag: Hi, Tag: 78972
hungerian notation
hi all,
I am facing one problem, While going through the WinCE code I
didn't understand many data types for example HANDLE,LP,DWORD etc
there are so many in fact...
Basically I have done some programming in linux environment so this
field(WinCE ) is very new to me . please help me out.
Thanks and regards,
prasi Tag: Hi, Tag: 78971
Wavedev Audio :::::: URGENT
Hi,
Migrated a 4.2 wavedev and wavclick driver to 5.0. Actually, have made
no changes... code compiled in PB 5.0 without any trouble. The registry
settings remain the same, and have made sure that the librarires....
wavedev.dll and wavclick.dll are loading into the nk.bin.
I see the messages that I have put into the wavedev.dll appear on the
debug port, which leads me to believe that the wavedev.dll is being
loaded and initialized. However, neither does startup sound appear nor
are clicks audible! Are there any changes required in code/ registry
settings for the wavedev audio/ Wavclick to work on 5.0.
I have spent a lot of time, but seem to be going nowhere with this.
Early help would be greatly appreciated from all the guru's.
Thanx in advance.
-T@N Tag: Hi, Tag: 78970
Multiple USB Device (IsochTransfer) Problem
The following two device driver works fine seperately.
1) USB WWWCam (STMicro MJPEG)
-> CAM_Open() / CAM_Close()
-> Packet Size: 895, 8 Frames
2) USB Video Encoder (usbvision NT1004)
-> VID_Open() / VID_Close()
-> Packet Size: 1023, 8 Frames
When I try to capture image stream from both drivers simultaneously,
the second device is closed automatically, that is VID_Close()
function is called.
Does anybody experience same difficulty?
/Gillian Kim
jacoke@gmail.com Tag: Hi, Tag: 78966
How WinCE bootloader is Jumping to SDRAM after copying itself to i
Hi,
I have a thearotical questions. As such, my bootloader is working fine.
Here my query is:
The Eboot (Lubbock BSP for PXA250), copies itself from Flash to SDRAM. Then,
it calculates the relative PC address of a lable it has to jump. Then, loads
this address to the PC.
Now, How the compiler knows that this part of the code goes to SDRAM while i
am building a eboot for Flash Address ? Becoz, the compiler is generating the
code for the Flash and the eboot.map file is as follows.
Address Publics by Value Rva+Base Lib:Object
0001:00000000 StartUp a0001000 fwp2.obj
0001:00000020 Undefined_Handler a0001020 fwp2.obj
0001:00000024 SWI_Handler a0001024 fwp2.obj
Please help me to understand.
Thanks & Regards,
Arockiarajesh Peter Tag: Hi, Tag: 78963
How to unload a driver ?
Hi,
Is there a way to unload a loaded driver without reboot?
I used ActivateDeviceEx and DeactivateDevice to disable
the dirver, however the driver still can be found using
FindFirstFileEx and FindNextFile and be opended
correctly. Tag: Hi, Tag: 78960
Why not see CF card under wince
Hi
I already added: "FAT FILE SYSTEM"" ATAPI PCI/IDE STORAGE BLOCK
DRIVER"" COMPACT FLASH/PC CARD STORAGE[ATADISK]"" SECURE DIGITAL/MULTIMEDIA
CARD[SC/MMC]"
How in does Wince or do not have Hard the disk table of contents?
Please helps me
thanks
wujun Tag: Hi, Tag: 78959
WinCE 5.0 Media File Sharing
Hi,
Has anybody tried accessing a media file from a WinCE server to a WinCE
client?
I have 2 CEPCs setup with Windows CE 5.0, BSP: CEPC x86.
I have a media file (chicken.wmv) located in a WinCE server
(fileserver).
Media Player pops up the error message:
Cannot open '\\fileserver\media\chicken.wmv'. (0x8007000e)
Here are some scenarios that work fine:
- WinXP client accesses remote media file (chicken.wmv).
- WinCE client accesses remote documents like Word or PDF files.
- WinCE client plays the media file (chicken.wmv) stored in local
directory (\temp).
- WinCE client accesses the remote media file via HTTP
(http://fileserver/files/chicken.wmv).
The error only happens when I access a media file from a remote
directory in a WinCE file server to a WinCE client.
I am aware that Media Player uses DirectShow.
Could this be a DirectShow issue when it tries to render a remote
source file?
Has anyone found a solution or a workaround to this issue?
Macs Tag: Hi, Tag: 78958
Yet another random FAT corruption posts - WinCE 4.1
I'm getting units back from the field with corrupt flash cards, so I've
been doing some reading in the news groups for "wince corrupt" to see
what I can learn.
First, is a DOC (disk on chip) effectively the same thing as a compact
flash card? I know they are different technology, but from WinCE's
view?
Okay, back to the corruption issues. Our units *may* be turned off
periodically with no thought or concern as to what the unit is doing.
Obviously, if I'm in the middle of a write operation, the file content
may be hosed, but is it possible to lose the file system itself or a
portion of some other file? We have seen three types of corruption:
1) File system: CF is no longer bootable, garbage characters in the
filenames, etc.
2) Portions of executable files : Our main application file has lost
two major portions.
I'm still analyzing this for patterns of any sort, but the only
time this file is accessed
is when the system boots.
3) Corrupt nk.bin - system is on it's way back to us.
Ideas or suggestions?
Thanks Tag: Hi, Tag: 78943
Editing display driver
Hi,
I'll be using a PXA270 to support a QVGA display (LQ057Q3DC02 by
Sharp). What do I need to support this in Windows CE? I'm looking at
just editing one of the built-in drivers or even just using them
directly as is if possible.
Thanks! Tag: Hi, Tag: 78926
How to copy the file into the "release" directory in sysgen build?
Hi:
The file was copied to the "release" directory by the "postlink.bat" at
the project, when I build the project with build image option. But when
I build the OS with build image option will not to copy the file into
the release directory!!!. What I need to add into the sources file of
project to copy the file into "release" directory when I want "sysgen"
- clean build the OS?
In the Sources file of project I added the line as:
POSTLINK_PASS_CMD=postlink.bat
and at postlink.bat copy the file into "release" directory.
Thanks
Lu Tag: Hi, Tag: 78925
Graphics Device Interface Test-Polygon failed
when i ran CETK Graphics Device Interface test, i got Polygon failed. Can
anybody help me where i need to look into the code and what might be the
problem. Tag: Hi, Tag: 78916
Adapter name shows "NULL"
Hi,
I am doing a USB wireless driver in WinCE 5.0.My problem is that i am not
getting a proper adapter name when i do a ipconfig.Where as the description
field comes as proper which is same as my instance name.where as the adapter
name shows nothing.
eg.
Adapter Name.................:
Description......................:Athusb1
Because of this am not able to call NdisDeRegisterAdapter with my instance
name which shows error Adapter not found.
My ndisregisteradapter returns success and works properly.
I am able to unload my driver with the call NdisDeregisterAdapter(&Status,
_T(""));
I there any oid for this?
Please help me in this regard..
Ajith Tag: Hi, Tag: 78910
modify project without re-build whole winCE image
Hi,
What I am doing now?
-- steps : 1 .select template for "set top box"
2 . Add new "project" to it
3. add "files " to project
4. build OS image
5. download on CEPC and Run.
Problem : when I want to modify "project" , I have to build whole OS image
again. And taking too much time.
** If I build project separately and down load OS image on CEPC , than it
wont work for me.
Can some one suggest me how to modify project without rebuild OS image??
Thanks & Regrds,
Jadav Bheda Tag: Hi, Tag: 78908
Is it possible to transfer data between the partitions in Flash chip.
Dear Experts,
We are having SAMSUNG flash chip(64MB) and we suppose want to do four
partition in that. We are planning to use the MSFLASH driver.
Our doubt is, Whether MSFLASH driver will support to do four partitions
in SAMSUNG flash chip. After doing the partition whether it is possible
to transfer data from one partition to another.
Anybody having solution for the above issue please reply us.
Thanks In Advance,
Jalvath Tag: Hi, Tag: 78896
Audio driver Setting Query ... ?
Hello All,
I have some queries related to the Audio driver.
I am working on a PXA270 refrence board. We have a Wolfson 9714 chip on
our board. We also have got a driver for the same from Wolfson, which
we have integrated in our OS configuration.
Now the problem is that when the OS image gets loaded, I distinctly
hear the Startup sound from the Headphones.But after the complete OS
image gets loaded and when I try to play some MP3 songs or any other
audio files the sound is very low ... I am not sure which setting is
causing this to happen, since we are sure that the hardware is fine
since I get the loud startup sound ... I most probably think that the
GWES thread is configuring some different audio setting ... If anyone
has encountered this kind of problem before then if he could provide
any pointers as to what could be the source of problem it would be a
great help ...!
Regards,
Swapnil. Tag: Hi, Tag: 78895
Co-Existence with Activesync driver.
Hi,
I have a custom network driver which emulates an ethernet medium. My
driver gets loaded and i am able to view the dll in the process viewer.
Also my driver gets listed in the list of network adapters in the
system.
But when i connect Activesync, my driver does not get any call (All the
calls are routed to the activesync driver only). and my driver
vanishes from the list of network adapters. But the driver is still
loaded (i confirmed it using the process viewer).
What could be the issue? Has anyone else come across this earlier ??
thanks in advance for the help Tag: Hi, Tag: 78893
DMA Interrupts - Part 2
[Also refer to "DMA Interrupts" thread.]
Now my shared DMA IRQ is working.
I ran the test for five or six times and it never
failed or crashed. It always displayed the number
4 (1024 datasize / 256 bufsize) meaning that it
saw four descriptors reaching their ends.
The following comment was buried deep inside my
code for weeks and was never taken into cosideration
anymore.
/*
if (!TransBusAddrToStatic(
Internal, 0, PortAddress,
ulIoLen, &inIoSpace, &PhysAddr))
{
//return FALSE; i'm feeling lucky!
}
*/
Please notice the my NOTE
Lesson learned: "Only Google may be feeling lucky!!"
I actually used BusTransBusAddrToStatic this time
--
In the constructor:
CreateBusAccessHandle
(L"HKEY_LOCAL_MACHINE\\Drivers\\Active")
(still not sure about its purpose as i don't specify
a driver under Active nor it adds one to it)
--
In the destructor:
if (m_hBusAccess != NULL)
CloseBusAccessHandle(m_hBusAccess);
--
In the Hook member:
BOOL bRet = BusTransBusAddrToStatic(
m_hBusAccess,
Internal,
0,
PortAddress,
// {DMA_BASE, 0}
MapSize,
// sizeof (DMA_REG)
&inIoSpace,
// 0
&KernPhysAddr
// + 0xF0 is dma_reg->DINT
// seen by the Kernel
);
feel free to add comments... Tag: Hi, Tag: 78888
Two drivers called one common code cause system halt when sysetem
I want to wrote a SSP driver.Because both the kbd driver
and the battery driver would call it for transfer by SSP.
So I build it in drvlib.lib and link to kbd and batt driver.
Of cause,to prevent access conflict,I use MUTEX in SSP driver.
All works well.
But When I resume system from suspend,the system halting....
I found that when system resume,If system call some register
such as SSP_REGS in SSP driver and the exception occur.The register
(SSP_REGS)is defined and intialized in SSP driver.
When system boot,the SSP intilize and memory alloc function
would be called twice in kbd and batt driver.there is no exception
occur.
(I called the SSP iniilize and memory alloc function in PowerHandle
function in kbd and batt driver.)
It seems that it`s a memory access violation......
So,
How can I do with PowerHandle function in kbd and batt driver?
Thank you. Tag: Hi, Tag: 78859
USB Over current Query ... ?
Hello All,
I have a particular problem at this point of time ...
Problem :-
------------
I have managed to get the USB Host controller working and all the
client drivers are also working,i.e. Keyboard,mouse,mass storage etc
...
Now I have started working on the CF-card ... but I came to a problem
as soon as I inserted the CF-card ... on investigation I found that the
CF-card detect pin(Configured on a GPIO) that we have on our platform
goes low as soon as we insert the CF-card ... now the problem is that
this GPIO takes care of the USB over current indicator pin(Mostly
configured in the USB drivers) ... so as soon as I insert the CF-card
the USB DLL's get un-loaded indicating the over current flag ...
So now I want to remove the over current protection for the USB ... If
anyone could provide any pointers in that regard it wouldbe a great
help ...!
Regards,
Swapnil. Tag: Hi, Tag: 78858
ROM File system : IPSM
Hi,
I have migrated IPSM from 4.2 to 5.0. The build has no problems and on
startup, the InitIPSM seems to run fine. Though, there has been one
thing that has been a show stopper here: the shadowing of the root
directory to \IPSM is not taking place.
I got to understand that this is because I was using a RAM/ROM file
system... hope my understanding is correct?? On switching to ROM file
system, the bootup abruptly stops, probably due to some registry
settings in InitIPSM.exe.
It would be nice if any of the experienced ppl shared how they overcame
this.
Thanks in advance.
-Tarun Tag: Hi, Tag: 78852
NDIS miniport driver and NE2000 Compact Flash Ethernet card
Hi all,
I'm trying to get the "real" miniport driver to work on our platform.
Our XSCALE platform (WinCE 4.2) has only one Ethernet port (PCMCIA-CF card
NE2000). It is based on the Lubbock platform but has as stated only one
Ethernet port.
Downloading and debugging is done over this port and it works fine. Also
VMINI works fine (connects to internet websites, FTP works etc.).
VMINI relies on KITL so it is impossible to use for product Ethernet
networking.
Instead we try to build the device without KITL but with NE200 Compatible
Ethernet Driver.
When we enable the device it detects the NE2000 card, loads the NE2000
driver and can read the MAC adress. But it gets no IP-adress (we use dhcp).
AutomaticIP is enabled in the device so after about 10 seconds we get a
"faked" IP address in the range 169.254.xxx.xxx.
Trying to Ping this IP adress from a PC is of course not successfull. Trying
to ping from our device to a PC on the network is also unsuccessfull. Ping
own IP adress from device seems OK.
As we only have one port it is not possible to do any effective debugging.
But it seems that hardware is OK- VMINI works on it. I have tried to find
some registry setting that solves the problem, but no luck so far.
Any one got a clue, Thanks
Igge Tag: Hi, Tag: 78848
OEMLoadInit/OEMLoadModule & eVC 4.0
I have a device that is running Windows CE 4.2 with the certification module
(OEMLoadInit/OEMLoadModule)enabled. There are different sets of
public/private keys. I have signed the .exe and .dll files used by the
Remote Tools (process viewer, registry editor, etc.) with a "trust" key and
they work, but when I try to debug my application (which is also signed)
then I receive error 80004005 from eVC.
Is it possible to *debug* an application with eVC 4.0 on such device? If not
then I have to find another solution.
Any help greatly appreciated. Tag: Hi, Tag: 78844
Hive files
Hi,
I need to list all entries from a hive file.
Using rgucomp.exe I can do so but chinese carachters are not translated.
rgucomp.exe:
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Is there a newer version that works with unicode or is it posible to get the
arguments for the cereg400.dll exports (to make my own)? Tag: Hi, Tag: 78841
Is it impossible to see the uncached memory with Platform Builder?
I know that 0x80000000 - 0x9FFFFFFF is cached area and 0xA0000000 -
0xBFFFFFFF is uncached area.
When I debug an ARM board with Platform Builder, I can see the cached area
with View->Debug Windows -> Memory 1 (or 2).
But when I try to see the uncached area with it, I've got an data abort
error in debug console and just '??' on the Memory Viewer.
Is It impossible to see the uncached memory with platform Builder's Memory
Debug Window? Tag: Hi, Tag: 78840
The difference of startup.s
I have one question on startup.s
I have ARM cored board. (ARM 922T).
Generally, you can find three startup.s for a ARM based board.
For example, In case of Samsung 2410x board, you can find one startup.s in
'eboot' directory of 2410x BSP.
another is in 'oal' of 2410x BSP.
The other is in \Platform\Common\SRC\ARM\Samsung\S3c2410x\Startup
I know the first 'startup.s' is for bootloader. But, now, I wonder what the
difference between the second and the third is.
And What should I do for XIP (excute in Place)? Tag: Hi, Tag: 78838
CeGetVolumeInfo() prototype incorrect in storemgr.h
I think I have all the latest CE 5.0 updates installed, but I seem to be
having the same issue reported earlier in this thread back in February 2005:
http://groups.google.com/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/2637189935d939c9/705cac02b72948bb?lnk=st&q=cegetvolumeinfo&rnum=1&hl=en#705cac02b72948bb
The header defines a "wide" version of CeGetVolumeInfoW(), but coredll.lib
only has CeGetVolumeInfo(). Also, as mentioned in the thread, the API seems
to require an extern "C" to compile.
Is there a CE 5.0 update with an official "fixed" storemgr.h? Or is there
some other way to work around the issue?
Thanks!
David Holcomb Tag: Hi, Tag: 78836
USB Keyboard Notification
Dear Greats,
We are writting one application that should detect the presence of USB
keyboard and change its GUI accordingly. My application is an MFC
Dialog based application. OS is Windows CE 5.0 with USBHID support.
I tried to capture the WM_DEVICECHANGE notification message from my
application. If I connect / remove this message is not received by my
application. I saw some Notification registration for USB device
attach/detach. Will this work for the keyboard as well.
My other idea is, we can broadcast a attach message in the USB driver
Init and broadcast a detach message in the USB driver DeInit.
Greats, kindly advice me on what approach can I proceed.
avkumar Tag: Hi, Tag: 78834
RTC problem? Time change not regular.
Hi all.
On my device( wince4.2 ) there is RTC.
The OEMGetRealTime(), OEMSetRealTime(),OEMSetAlarmTime() have been
implemented using the RTC hardware.
The problem is, on the control panel's date/time property. I observe the
second time beat is not regular. What 's function this panel's date/time
call? How do it to change the time? It is relate to the CurMSec. Because I
wonder there some problem in the system timer setting.
thanks in advance. Tag: Hi, Tag: 78833
system timer, dwReschedTime problem?
I have some question on the system timer.
1.The global scheduling variables, dwReschedTime in PB4.2.
Is the kenel set the dwReschedTime value and keep it change by the
thread scheduling algorithm ?
For I cannot find in serval impelement OAL sample ?
2. The system timer's interupt period time,
If in the OAL it is not set by one milisecond and other value such as
10 ms, what's the effect? Tag: Hi, Tag: 78829
CE 4.2 build fails after installing QFE updates
I'm having problems building an image after installing the 4.2 QFE
updates. This happens on both the evaluation and the full version which
I recently purchased. If no updates are installed, the image builds
fine.
This is the output in build.txt:
C:\WINCE420\PUBLIC\Samsung\WINCE420\smdk2410\cesysgen\sdk\lib\ARMV4\retail\coredll.lib
C:\WINCE420\public\common\sdk\lib\ARMV4\retail\corelibc.lib
C:\WINCE420\public\common\sdk\lib\ARMV4\retail\corelibc.lib
C:\WINCE420\PUBLIC\Samsung\WINCE420\smdk2410\cesysgen\oak\lib\ARMV4\retail\fsdmgr.exp
fsdmgr_ALL.lib(fsdserv.obj) : error LNK2001: unresolved external symbol
dlVOLList
fsdmgr_ALL.lib(fsdapis.obj) : error LNK2001: unresolved external symbol
dlVOLList
C:\WINCE420\PUBLIC\Samsung\WINCE420\smdk2410\cesysgen\oak\target\ARMV4\retail\fsdmgr.dll
: fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'C:\WINCE420\sdk\bin\i386\nmake.exe' :
return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\WINCE420\sdk\bin\i386\nmake.exe' :
return code '0x2'
The host pc OS is XP Pro with service pack 2. The processor is an Intel
Pentium D. Any ideas what could cause this problem? I'm going to try
installing on my old PC to see if I still have this problem. Any help
would be appreciated.
Thanks,
Tony Tag: Hi, Tag: 78826
Output file name / location?
I'm trying to figure out how PB projects choose where the output files
go and are named. For example if I create my own project named TEST it
outputs as TEST.exe.
Fine... but I'm using the Emulator and it uses ddi.dll as its display
driver. The source code for that (from what I understand) comes from
the vgaflat project located in PLATFORM/EMULATOR/src/drivers/display.
How does the vgaflat project goes from that to outputting ddi.dll?
Where are the bib files for vgaflat?
Also... what are the differences between the projects under PLATFORM
and public/common...? It seems like there is duplicate projects?
Thanks! Tag: Hi, Tag: 78822
Newbie getting networking going
Hi.
I've got an x86 (i.e an old pc) booting into CE 5.0 with an os image
that I boot from the hard-drive.
All seems good. However I can't get any networking going. I've
tried putting in a range of different ne2000 pci network cards but the
card does not show up, in the list of adapters in the control panel.
Im sure its something obvious, but would apreciate if anyone has any
advice on how to get networking up and running.
Thanks
RIchard Tag: Hi, Tag: 78819
Sysgen errors (Fiber API ?)
I did have a perfectly working PB platform to which I added various things
from the Catalog, now when I Sysgen it I get errors (see below a snippet
from build.log). It seems to be requiring the Fibre API which I also added
from the catalog. What am I missing?
0 Please add _COMMONPUBROOT and __PROJROOT to your tree's cesysgen\sources
file.
Directory: C:\WINCE500\PUBLIC\COMMON\CESYSGEN
TARGETNAME: coredll_ALL
makefile.def: Including
C:\WINCE500\public\common\oak\misc\sources.ReleaseType_OAK
'C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\oak\lib\ARMV4I\debug\coredll_ALL.lib'
is up-to-date
cefilter C:\WINCE500\public\common\oak\lib\ARMV4I\debug\coredll.def
C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\oak\lib\ARMV4I\debug
Cefilter for Windows CE (Release) (Built on May 11 2004 16:51:41)
nmake /NOLOGO
C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\oak\target\ARMV4I\debug\coredll.dll
makefile.def: Invoked with predefined settings:
TARGETNAME: coredll
TARGETTYPE: DYNLINK
RELEASETYPE: SDK
TARGETLIBS: C:\WINCE500\public\common\oak\lib\ARMV4I\debug\corestub.lib
C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\oak\target\ARMV4I\debug\0409\coredll.res
C:\WINCE500\public\common\sdk\lib\ARMV4I\debug\corelibc.lib
SOURCELIBS:
C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\oak\lib\ARMV4I\debug\coredll_ALL.lib
DEFFILE:
C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\oak\lib\ARMV4I\debug\coredll.def
DLLENTRY: CoreDllInit
makefile.def: BUILDROOT is C:\WINCE500\public\common\cesysgen
0 Please add _COMMONPUBROOT and __PROJROOT to your tree's cesysgen\sources
file.
Directory: C:\WINCE500\PUBLIC\COMMON\CESYSGEN
TARGETNAME: coredll
makefile.def: Including
C:\WINCE500\public\common\oak\misc\sources.ReleaseType_SDK
BUILD_MARKER:LINK_DLL_START Linking
C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\sdk\lib\ARMV4I\debug\coredll.lib
link -lib -out:C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\sdk\lib\ARMV4I\debug\coredll.lib
-def:C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\oak\lib\ARMV4I\debug\coredll.def -machine:thumb @C:\DOCUME~1\Martin\LOCALS~1\Temp\nm8B9.tmpMicrosoft (R) Library Manager Version 7.10.4017Copyright (C) Microsoft Corporation. All rights reserved.-nodefaultlib-ignore:4001-subsystem:windowsce,5.00C:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\oak\lib\ARMV4I\debug\coredll_ALL.libcoredll.def : error LNK2001: unresolved external symbol ConvertThreadToFibercoredll.def : error LNK2001: unresolved external symbol CreateFibercoredll.def : error LNK2001: unresolved external symbol DeleteFibercoredll.def : error LNK2001: unresolved external symbol GetCurrentFibercoredll.def : error LNK2001: unresolved external symbol GetFiberDatacoredll.def : error LNK2001: unresolved external symbol SwitchToFiberC:\WINCE500\PBWorkspaces\VRM270Thin\WINCE500\VRM270_ARMV4I\cesysgen\sdk\lib\ARMV4I\debug\coredll.lib : fatal error LNK1120: 6 unresolved externalsNMAKE : fatal error U1077: 'link' : return code '0x460'Stop.NMAKE : fatal error U1077: 'C:\WINCE500\sdk\bin\i386\nmake.exe' : returncode '0x2'Stop.NMAKE : fatal error U1077: 'C:\WINCE500\sdk\bin\i386\nmake.exe' : returncode '0x2'Stop. Tag: Hi, Tag: 78818
DMA Interrupts
Has anyone already programmed DMA Interrupts on PXA270?
It's been a while since I started doing that. I could easily transfer data
In or Out, With or Without the use of descriptors, but when i wanted to
enable some interrupt (I am mostly interested in DCSR_ENDINTR)
the system crashed at some point.
The following steps summarize the test procedure i use:
1) Allocate N descriptors and buffers
2) Set up the Descriptors
3) Start the transfer
4) Poll a global variable until the IST flags it or until the loop times
out.
5) Stop the transfer (it hopefully should be over anyway)
6) Deallocate everything
The IST simply counts the times and ENDINTR is fired.
Now if i don't enable the IRQs (and poll the STOPINTR flag instead)
everything
works fine. BUT! most of the time when i enable some IRQ the system crashes.
I tried BTUART and SPI. BTUART really can't help itself but on rare
occasions, SPI succeeded every now and then when it felt like it, instead.
It all seems so aleatory.
Besides, when a DMA IRQ is enabled the OS crashes even when i don't set up
an IST. So i guess it doesn't depend on the IST (unless DMA needs the IST to
reset the IRQ in any case)
Have any clue? Tag: Hi, Tag: 78815
WZC reporting RSSI incorrectly on Windows CE 5?
All of the commercial devices we have sitting around are still Windows
Mobile 2003 (or earlier), so I can't immediately verify this outside of
our own WinCE 5 platform on our own hardware -- is anyone else using CE
5 and any 802.11 radio, and able to look at the RSSI as reported by the
WZC api? With multiple different vendors' radios/drivers, I'm seeing the
RSSI reported for any given access point apparently not getting updated.
Even looking at the output of 'wzctool -q', the RSSI never changes from
the initial value reported, as I move from right on top of the AP to
completely out to the edge of its cell. It's "stuck". :(
Can anyone confirm/refute this? It _looks_ like a bug in the WZC service
or api (I don't believe it's a driver issue, as I'm (almost) positive
this worked right under WinCE4.2 with those same radios/drivers)...
Thanks,
- Brian
--
Brian Bender
Vocollect, Inc.
Pittsburgh, PA, USA
[Apologies for the following "disclaimer" -- it's corporate policy.]
-CONFIDENTIAL, PRIVILEGED COMMUNICATION-
This e-mail transmission is private and intended for the addressee(s)
only. It may contain information that is privileged and/or
confidential. If you have received this transmission in error, you are
not authorized to read, copy, disclose or disseminate it in any manner.
If you have received it in error, please delete it and all copies
(including backup copies) that have been made, and transmit a reply
message informing the sender that it was misdirected. Tag: Hi, Tag: 78812
TFAT issue
Hi ,
I am trying to use TFAT for my Pesistent-Store partition in my NOR
flash.
I have used following registry settings.
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash_NORFMD\FATFS]
"FormatTfat"=dword:1
"CheckForFormat"=dword:1
"Flags"=dword:14 [ FATFS_ENABLE_BACKUP_FAT | FATFS_DISABLE_AUTOSCAN]
but this doesn't seem to work, It looks like "FormatTfat" value is not
having any effect.
So to force TFAT format on my Persistent Store as suggested by
microsoft document I have modified my registry settings as given below
(Just added FATFS_FORCE_TFAT) .
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash_NORFMD\FATFS]
"FormatTfat"=dword:0
"CheckForFormat"=dword:1
"Flags"=dword:400014 [FATFS_FORCE_TFAT | FATFS_ENABLE_BACKUP_FAT
|FATFS_DISABLE_AUTOSCAN]
But these settings are causing the device to hang.
Do you know why these settings are not working ? Can you tell me any
other method to force TFAT for Persistent store ?
Thanks in advance for the help.
Regards,
~Mike Tag: Hi, Tag: 78800
How to call Assembly code from C program
Hi All,
I have created a new project where i have to call some of Assembly functions
(Instructions x86 processor related) please note that the assembly file is a
separate .asm file and i dont want to use inline assembly program in my C
code.
I want to know that how can i link my .asm file with my C program code under
Win CE Platform builder environment.
I also want to know how i can access variables defined in C code in assembly
program and is it possible to call C functions with in .asm file?
Regards
Roshan Tag: Hi, Tag: 78799
ActiveSync + WM5
Hi,
I am trying to convince WIndows Mobile 5 to use USB Serial Function
driver. The best I could get is Guest connection. It does not give me
an option to create a partnership at all. The registry settings I have
for this works fine on Windows CE 4.2, 5.0 & WM2003 but does not want
to properly work under WIndows Mobile 5. Here are my registry settings:
[-HKEY_LOCAL_MACHINE\Drivers\USB]
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\USB]
"Dll"="sa_usb_ser.Dll"
"Irq"=dword:0 ; 11 -
"IoLen"=dword:1000 ; UDC Register space 0x1000 (4K)
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:0
"Prefix"="COM"
"Order"=dword:12
"DeviceType"=dword:0
; "FriendlyName"=LOC_FRIENDLYNAME_USB
"FriendlyName"="USB Cable:"
; Eliminate flow control bit
"DevConfig"=hex:
10,00,00,00,05,00,00,00,00,01,00,00,00,4B,00,00,00,00,08,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\Comm\SAUSB]
; "DisplayName"=LOC_DISPLAYNAME_SAUSB
"DisplayName"="ISP1362 USB Function Driver"
"Group"="Serial"
"ImagePath"="sa_usb_ser.dll"
[HKEY_LOCAL_MACHINE\Comm\SAUSB\Linkage]
"Route"=multi_sz:"SAUSB1"
[HKEY_LOCAL_MACHINE\Comm\SAUSB1]
[HKEY_LOCAL_MACHINE\Comm\SAUSB1\Parms]
[HKEY_LOCAL_MACHINE\Comm\USB]
[HKEY_LOCAL_MACHINE\Comm\USB\Linkage]
"Bind"=multi_sz:"SAUSB1"
[HKEY_LOCAL_MACHINE\Comm\USB Cable:]
[HKEY_LOCAL_MACHINE\Comm\USB Cable:\Parms]
[HKEY_LOCAL_MACHINE\Comm\USB Cable:\Parms\TcpIp]
"DNS"=multi_sz:"127.0.0.1"
"DefaultGateway"=multi_sz:"192.168.55.100"
"Subnetmask"=multi_sz:"255.255.255.0"
"IpAddress"=multi_sz:"192.168.55.101"
"DontAddDefaultGateway"=dword:00000000
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
;Connectoids
[HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
IF BSP_NOUSBSER !
"`USB Default"=multi_sz:"USB Cable:","115200"
ENDIF
"`19200 Default"=multi_sz:"Serial Cable on COM1:","19200"
"`38400 Default"=multi_sz:"Serial Cable on COM1:","38400"
"`Infrared Port"=multi_sz:"Infrared Port","115200"
"`115200 Default"=multi_sz:"Serial Cable on COM1:","115200"
"`57600 Default"=multi_sz:"Serial Cable on COM1:","57600"
;Default Connectoid
[HKEY_CURRENT_USER\ControlPanel\Comm]
IF BSP_NOUSBSER !
"Cnct"="`USB Default"
ELSE
"Cnct"="`Com1 @ 115200`"
ENDIF
"AutoCnct"=dword:1
IF BSP_NOUSBSER !
************************************************************************************************
It seems that WIndows Mobile 5 uses different registry settings and
defaults to RNDIS. But I delete those registry by this:
[-HKEY_LOCAL_MACHINE\Drivers\USB]
and try to use my old driver the way it works in CE4.2, CE5.0 & WM2003.
It does not work.
Any suggestions?
Thank you in advance.
PK Tag: Hi, Tag: 78798
how to install the second audio driver?
I have built the x86 platform of WinCE 4.2 with default Ensoniq 1371 audio
driver.
I can put 2 kind of audio driver when I build x86 platform, but it is not my
requirement.
If I want to install another audio driver on run-time (Ensoniq 1371 has been
exist), how can I do?
Thanks!
Nelson Tag: Hi, Tag: 78797
Network data corruption problem !
Hi all,
I have written a socket application like echo server to test my NDIS
miniport driver.
I have TCP client runs on Windows XP and echo server running on WinCE.
TCP client application continuously sends some known pattern. On echo
server, I compare this pattern with expected pattern. It ran for 30 min
- 1hr, and after that I see some data corruption in received data.
Strangely it is some 4 bytes chunks in 4-5 places in the entire packet
(1460 packet data size).
I have debugged my NDIS miniport driver, but the data in my driver
buffer is correct!!!
I have used "NdisMIndicateReceivePacket" call to indicate the reception
of data to NDIS.
And in my "MiniportReturnPacket" function I reuse the packets as
suggested in documentations.
I wounder if anybody have experienced this problem...
Any body has any clue on what is happening here ?
One more doubt,
I use my local buffer in my echo server application for "recvfrom"
call. Do the TCPIP stack directly use this buffer to copy the data from
my miniport driver buffer or is it uses some temporary buffer to do
this copy operation?
Thanks in advance,
Raghav Tag: Hi, Tag: 78794
JTAG Debugger for Windows CE
Hi all,
We are starting a new platform development. We are planning to use WinCE
5.0, and we will like to know what is the most recommended JTAG probe for
real hardware debugging via the microprocessor JTAG interface. We Know the
ARM Multi-ICE and the EPI Majic probe, and they say they are compatible with
the Platform Builder. Do you know what is the best option for debugging a new
implementation? Do you know any other manufacturer of JTAG probes? Do you
think it is OK to use only the kernel debug option ( intrusive debug via
WInCE kernel options )?
Thanks a lot for your help.
Best regards.
Jose Manuel. Tag: Hi, Tag: 78785