Greek Language Localisation
Hi All,
I want to localise my application in Greek.I built the platform with
support for Greek Locale but in my device im not able to see Greek fonts.can
anyone help me?
Thanks,
Rajesh Tag: how to synchronization time through ActiveSync ? Tag: 91687
Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
Hi,
I'm currently working in 6.0 Beta.
I want to allocate a physically contiguous memory chunk for my
application. Earlier in 5.0, I could easily do it through
AllocPhysMem()/MmMapIoSpace() calls. But now in 6.0, these calls don't
work in User mode.
One approach I tried was by developing a Kernel mode memory allocator
driver which allocates the contiguous chunk. But the virtual address I
get through that is valid in Kernel space only and I'm unable to use it
in the application space. I have tried
SetProcPermissions()/ReadProcessMemory() type of calls but to no avail
!
If anyone has faced this issue before and know the solution, would be
great if he can share that.
thanks and regards,
Somraj Mani Tag: how to synchronization time through ActiveSync ? Tag: 91685
Downloading nk.bin to Target device without PB?
Hello,
I would like to download the nk.bin file to the target device without the
use of Platform Builder. I am working on PXA 27X and BSP is Mainstone II
.Does anyone know just exactly how that could be
accomplished?
Any help would be greatly appreciated.
Thanks,
gouri Tag: how to synchronization time through ActiveSync ? Tag: 91681
Building an image for CE 5.0 using CE 4.2
Can I build an image for Windows CE 5.0 using PB 4.2
Greg White Tag: how to synchronization time through ActiveSync ? Tag: 91677
Software based input panel driver
Does anyone have this problem, I can create an input
panel and do a .show from within an application
and the SIP works fine but at the OS level ie clicking
on a text box in control panel to specify an ip
address or something does not pop up the sip
automatically, I can manually pop it up but
my application does not have the tool bar
showing. I have the AYGShell included in the image
and it worked fine in CE4.2 but has not worked in CE5.0
ever. My PB catalog Software-based Input Panel driver
has a red exclamation point next to it as well as the
IMM input Method Manager in the International folder.
Anyone have a fix?
TIA
Ken Tag: how to synchronization time through ActiveSync ? Tag: 91671
Intel PSM 3.7 - Corrupted file system
Hello,
we are having strange problems with the file system on the PSM (3.7). It
becomes corrupted; files disappear, same file name repeated several times in
the same directory, empty directories that can not be removed, files can't be
opened, and so on...
The power is on all the time, so the corruption is not caused by power
failure. When powering off the system after a failure, and then on again, the
PSM usually does not mount.
We do not access the flashes at all, except via the PSM file system (the CE
image is copied to RAM, and runs from RAM all the time).
Our app creates about 180 files, then occasionally another 180, followed by
deleting the first 180. Each file is one round-robin - written from start to
end, then updated from beginning again. Not very complicated.
Another thing; the app (exe) is loaded from the PSM file system too...
Are there any known issues with the PSM that may explain / solve these
problems?
(We have tried to use the 3.8 version of the libs, still using WCE420, but
had the same results... We are using a PXA270 based system.)
Thanks in advance,
Johan
--
Johan Ekstrom Tag: how to synchronization time through ActiveSync ? Tag: 91667
bootme problem
I build a bootloader, it can send bootme well and the PB5.0 can
reply to it too. But here is a stange problem, bootloader can accept
destination 59.77.17.255 UDP packet but can't accept destination
59.77.17.100
UDP packet, which is its IP. Anytime the program comes to
EbootTFtpReceiver,
the packet must be 59.77.17.255 destination, so can't go on. It seems
to me that, if
IP is 59.77.17.255 every thing works as normal, but if it's
59.77.17.100,
bootloader works as if there is no frame arrived. Anyone can help me? I
have
debugged it for ond day.
The code below is cut from my sourcecode. I add a lot
of EdbgOutputDebugString which is used for debug, don't care about it.
UINT16
LAN91CGetFrame(UINT8 *pBuffer, UINT16 *pLength){ UINT8 *pos =3D
pBuffer;
UINT16 code, pointer; UINT32 length, count; EdbgOutputDebugString
("+
LAN91CGetFrame"); // Make sure that bank 2 is actual OUTPORT16(&
g_pLAN91C->BANKSEL, 2); length =3D 0; while
((INPORT16(&g_pLAN91C->INTR)
& INTR_RX) !=3D 0) { EdbgOutputDebugString ("+LAN91CGetFrame while\r\n")
; // Setup pointer address register pointer =3D PTR_RCV |
PTR_READ
; // Read status OUTPORT16(&g_pLAN91C->PTR, pointer);
code =3D INPORT16(&g_pLAN91C->DATA); pointer +=3D sizeof(UINT16);
if ((code & (STAT_ALGNERR|STAT_BADCRC|STAT_LONG|STAT_SHORT)) =3D=3D 0)
{ // Get packet size OUTPORT16(&g_pLAN91C->PTR,
pointer)
; length =3D (INPORT16(&g_pLAN91C->DATA) & 0x07FF) - 6;
pointer +=3D sizeof(UINT16); // Copy packet count =3D
length
; while (count > 1) {
OUTPORT16(&g_pLAN91C->PTR,
pointer); *(UINT16*)pos =3D INPORT16(&g_pLAN91C->DATA)
; pointer +=3D sizeof(UINT16); pos +=3D
sizeof(
UINT16); count -=3D sizeof(UINT16); }
//
Get control word (which can contain last byte)
OUTPORT16(&g_pLAN91C
->PTR, pointer); code =3D INPORT16(&g_pLAN91C->DATA);
pointer +=3D sizeof(UINT16); if ((code & CTRL_ODD) !=3D 0)
{ length++; *pos =3D (UINT8)code;
} } // Release the memory for the received frame
switch (
GET_CHIP_ID(g_chipRevision)) { case CHIP_ID_LAN91C111:
OUTPORT16(&g_pLAN91C->MMUCR, MMUCR_111_REM_REL_RX); break;
default: OUTPORT16(&g_pLAN91C->MMUCR,
MMUCR_REM_REL_TOP
); } while ((INPORT16(&g_pLAN91C->MMUCR) & MMUCR_BUSY) !=3D
0)
; // If length is non zero we get a packet if (length >
0) break
; } EdbgOutputDebugString ("hahahaha\r\n"); *pLength =3D
(UINT16)
length; return (*pLength);}pfnEDbgGetFrame =3D
(PFN_EDBG_GET_FRAME)
LAN91CGetFrame; BOOL OEMEthGetFrame(BYTE *pData, // OUT -
Receives
frame data UINT16 *pwLength) // IN - Length of Rx
buffer
{ EdbgOutputDebugString ("+OEMEthGetFrame\r\n"); return
(pfnEDbgGetFrame(
pData, pwLength));}BOOL EbootSendBootmeAndWaitForTftp (EDBG_ADDR
*pEdbgAddr,
UCHAR VersionMajor, UCHAR VersionMinor,
char *
szPlatformString, char *szDeviceName,
UCHAR CPUId
, DWORD dwBootFlags){ DWORD dwCurSec =3D OEMEthGetSecs () -
BOOTME_INTERVAL
; USHORT wLen, wDestPort, wSrcPort, wUDPDataLen, *pwUDPData; int
nRetries =3D 0; EdbgOutputDebugString
("+EbootSendBootmeAndWaitForTftp\r\n")
; while (!fTftpLinked) { EdbgOutputDebugString ("+while (!
fTftpLinked)\r\n"); if ((nRetries < MAX_BOOTME_CNT) && (OEMEthGetSecs
() -
dwCurSec >=3D BOOTME_INTERVAL)) { nRetries ++;
dwCurSec
+=3D BOOTME_INTERVAL; // send a bootme message
EbootSendBootme (pEdbgAddr, VersionMajor, VersionMinor,
szPlatformString,
szDeviceName, CPUId, dwBootFlags); } // get another frame
and
pass it to TFTP handler wLen =3D sizeof (gFrameBuffer); if
(
OEMEthGetFrame (gFrameBuffer, &wLen)) { // frame available?
switch (FRAMETYPE (gFrameBuffer)) { case 0x0800: // IP
packet EdbgOutputDebugString ("+FRAMETYPE IP\r\n"); if
(!
EbootCheckUDP(pEdbgAddr, gFrameBuffer, &wDestPort, &wSrcPort,
&pwUDPData, &
wUDPDataLen)) { // UDP? // EDBG command? (should
only
occur if eshell asked us to jump to existing image)
if (!
EbootProcessEDBG (pEdbgAddr, &gHostAddr, gFrameBuffer, pwUDPData,
wUDPDataLen
, &fTftpLinked, &gpCfgData)) { // no, pass it to
TFTP EbootTFtpReceiver (pEdbgAddr, gFrameBuffer,
wDestPort, wSrcPort, pwUDPData, wUDPDataLen);
} } break; case 0x0806: //
ARP
packet EdbgOutputDebugString ("+FRAMETYPE
ARP\r\n"); if (
EbootProcessARP (pEdbgAddr, gFrameBuffer) =3D=3D PROCESS_ARP_RESPONSE)
{ EdbgOutputDebugString( "Some other station has IP
Address
: %s !!! Aborting.\r\n", inet_ntoa(pEdbgAddr->dwIP));
return FALSE; } break; default
: break; } } }
EdbgOutputDebugString (
"-EbootSendBootmeAndWaitForTftp\r\n"); return TRUE;}// This routine
handles the multiplexing of all active TFTP links. It returns 0 if
there was
no valid link formed,// or 1 of there was.WORD EbootTFtpReceiver(
EDBG_ADDR *
pMyAddr, BYTE *pFrameBuffer, UINT16 wDestPort, UINT16 wSrcPort, UINT16
*
pwUDPData, UINT16 cwUDPDataLength ) { int i; UINT16 iLinkSlot =3D
MAX_TFTP_LINKS;EdbgOutputDebugString ("+EbootTFtpReceiver\r\n"); //
Check to
see if this is for a link that is currently in use for( i =3D 0; i <
MAX_TFTP_LINKS; i++ ) { // Here I don't compare the destination (Odo)
port,
only the source (host) because // this could be a repeat open packet,
which
we don't want to cause a second link. // This could happen if a second
open
packet comes because we will have changed the // destination port with
the
acknowledge. if (TFtpLinks[i].State !=3D TFTP_STATE_IDLE && wSrcPort =3D=
=3D
TFtpLinks[i].DestAddr.wPort && wDestPort =3D=3D
TFtpLinks[i].SrcAddr.wPort) {
iLinkSlot =3D i; break; } else if (TFtpLinks[i].State =3D=3D
TFTP_STATE_IDLE)
iLinkSlot =3D i; } // If we broke out of the loop early, then the packet
is for
a link that is already open if (i < MAX_TFTP_LINKS) { // iLinkSlot is
the
index of the link this packet belongs too TFtpStateMachine( wSrcPort,
iLinkSlot, pwUDPData, cwUDPDataLength ); } // Check to see if someone
is
trying to start a new connection, // If so, guarantee that there are
always
TFTP_TX_LINKS link(s) available to transmit information else if
(wDestPort =3D=3D
wOdoWellKnownServerPort && MAX_TFTP_LINKS - nNumTFtpLinksInUse >
TFTP_TX_LINKS
) { // iLinkSlot is the index of a link that is in the IDLE state,
giving
the number of a free link // slot that can be used, the wDestTID and
the
TFTP Message TFtpdFormNewLink( pMyAddr, pFrameBuffer, iLinkSlot,
pwUDPData )
; return 1; } else { for( i =3D 0; i < MAX_TFTP_LINKS; i++ )
{ EdbgOutputDebugString("TFTP link[%u]: State:%u,
DestAddr.wPort: %
u, SrcAddr.wPort: %u\n",
i,TFtpLinks[i].State,
ntohs(TFtpLinks[i].DestAddr.wPort),
ntohs(
TFtpLinks[i].SrcAddr.wPort)); } EdbgOutputDebugString("
TftpReceiver, port: 0x%X, wkp:
0x%X\n\r",wDestPort,wOdoWellKnownServerPort)
; } return 0;} //
TFtpReceiver()//---------------------------------------
---------------------------------------//// Function Name:
EbootCheckUD(...)
// Description..: This routine will check a UDP frame that has been
received
. // It will make sure that it was for our IP address
and
that // the checksums are right and that it's a UDP
packet.
If // something is wrong, the packet will be discarded
and
the // routine will return non-zero. If everything is
right
, // then all the port and IP information will be
filled out
and // the routine will return 0. Note that if we are
doing
the // DHCP process, the DHCP server will send the
OFFER
packet to // the IP address that it would like to give
us.
We have to // be able to accept a packet for any IP
address
in that // case. This condition is signaled to the
routine
by // fPromiscuousIP =3D=3D 1, which is set using
SetPromiscuousIP()//// Inputs.......: EDBG_ADDR * pntr to
address
// BYTE * pntr to frame//
UINT16 * pntr to dst addr// UINT16 *
pntr to src addr// UINT16 ** pntr to pntr to
data
// UINT16 * pntr to data length// Outputs
.=2E....: 0 on success, non zero on
failure////-------------------------------
-----------------------------------------------UINT16 EbootCheckUDP(
EDBG_ADDR *pMyAddr, BYTE *pFrameBuffer
, UINT16 *wDestPort,
UINT16
*wSrcPort, UINT16 **pwData,
UINT16 *cwLength ) { IPHeaderFormat *pIPHeader;
UDPPseudoHeaderFormat UDPPseudoHeader; UDPHeaderFormat *
pUDPHeader; // Note that I don't do any checking that depends on a
length
field // in the packet until after the CRC is verified for that
data
. // This prevents the code from running past the end of buffers,
etc
. // when a bad packet is received.EdbgOutputDebugString
("+EbootCheckUDP\
r\n"); pIPHeader =3D (IPHeaderFormat *)(pFrameBuffer + sizeof(
EthernetFrameHeader)); // Make sure that it was for our IP address,
unless
we're // doing DHCP (indicated by fPromiscuousIP =3D=3D 1) if( !
fPromiscuousIP && pIPHeader->dwDestIP !=3D pMyAddr->dwIP ) {//
EdbgOutputDebugString( // "!CheckUDP: Not our IP
(0x%X)\n",pIPHeader->
dwDestIP);EdbgOutputDebugString ("zjwzjwzjw return 1\r\n");
EdbgOutputDebugString("%s\r\n", inet_ntoa(pIPHeader->dwDestIP));
EdbgOutputDebugString("%s\r\n",
inet_ntoa(pMyAddr->dwIP));if(fPromiscuousIP)
{ EdbgOutputDebugString ("DHCP is ON ! WRONG!!!\r\n");} return(
1 )
; } // Make sure that it is a UDP packet if(
pIPHeader->bProtocol !=3D
17 ) { EdbgOutputDebugString( "!CheckUDP: Not UDP (proto =3D
0x%X)\n"
, pIPHeader->bProtocol ); return( 2 ); } //
Check the
IP header checksum if( CRC( (UINT16 *)pIPHeader,
sizeof(IPHeaderFormat),
NULL, 0 ) !=3D 0 ) { EdbgOutputDebugString( "!CheckUDP: IP
header
checksum failure\n" ); return( 3 ); } // Build the UDP
Pseudo
Header UDPPseudoHeader.dwSrcIP =3D pIPHeader->dwSrcIP;
UDPPseudoHeader.
dwDestIP =3D pIPHeader->dwDestIP; UDPPseudoHeader.bZero =3D 0;
UDPPseudoHeader.bProtocol =3D 17; // UDP Proto is 17
UDPPseudoHeader.
cwTotalUDPLength =3D htons( htons(pIPHeader->cwTotalLength) -
sizeof(
IPHeaderFormat )); // Check the UDP checksum, I'm using the
cwTotalUDPLength // calculated from the IP header info because we
know
that // it's not corrupted and won't give an outrageous length for
the
packet pUDPHeader =3D (UDPHeaderFormat *)((BYTE *)pIPHeader+sizeof(
IPHeaderFormat)); if( pUDPHeader->wCRC !=3D 0 && CRC( (UINT16
*)&
UDPPseudoHeader, sizeof(UDPPseudoHeader), (UINT16
*)pUDPHeader
, ntohs(UDPPseudoHeader.cwTotalUDPLength) ) !=3D 0 ) {
EdbgOutputDebugString( "!CheckUDP: UDP header checksum failure\n" );
return( 4 ); } // Now we know we have a good packet, fill out the
fields *wDestPort =3D pUDPHeader->wDestPort; *wSrcPort =3D
pUDPHeader->
wSrcPort; *pwData =3D (UINT16 *)((BYTE *)pUDPHeader +
sizeof(UDPHeaderFormat)
); *cwLength =3D htons(pUDPHeader->cwTotalUDPLength) -
sizeof(UDPHeaderFormat
); // Indicate success return( 0 );} Tag: how to synchronization time through ActiveSync ? Tag: 91664
Problem Running ARMV4I-based emulator from platform builerder after
Hi,
After I installed wince 6.0 on a PC with wince 5.0, I can't run any
emulators from Platform builder any more. According to wince 6.0
documentation, wince 6.0 breaks the x86 windows ce 5.0 emulator, and
recommends ARMV4I-based device emulator. I've downloaded and installed
ARMV4I-based device emulator. However, when I try to launch any
emulator here is what I get:
(CoreCon) 09:24:56 10/26/2006 Central Standard Time: Failed to connect
debug message service! Please check the transport settings.
(CoreCon) 09:24:56 10/26/2006 Central Standard Time: Transport service
failed to connect
(CoreCon) 09:24:56 10/26/2006 Central Standard Time: Warning: One or
more services failed to connect. Make sure that the service is properly
configured.
My Target->Connectivity Settings are as follows:
Target Device: CE Device <---- I've tried others - same result
Download: Emulator
Emulator: Transport
Debugger: KdStub
Any help will be appreciated.
Thank you in advance.
Vadim. Tag: how to synchronization time through ActiveSync ? Tag: 91655
Wince500 Cloning warnings
I cloned ceshell and now get these rather irritating warnings, is their
anyway of remeding this, is there anyway of supressing 4099 warnings, I can
supress other warnings but not 4099.
BUILD: [01:0000001466:PROGC ] Linking
E:\WINCE500\platform\XSc1bd\target\ARMV4I\retail\ceshell.dll
BUILD: [01:0000001486:WARNN ] uuid.lib(docobj_i_guid6.obj) : warning
LNK4099: PDB 'dummy.pdb' was not found with
'E:\WINCE500\PBWorkspaces\My_Project\WINCE500\XSc1bd_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\uuid.lib'
or at 'E:\WINCE500\platform\XSc1b
d\target\ARMV4I\retail\dummy.pdb'; linking object as if no debug info
BUILD: [01:0000001487:WARNN ] uuid.lib(servprov_i_guid0.obj) : warning
LNK4099: PDB 'dummy.pdb' was not found with
'E:\WINCE500\PBWorkspaces\My_Project\WINCE500\XSc1bd_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\uuid.lib'
or at 'E:\WINCE500\platform\XSc
1bd\target\ARMV4I\retail\dummy.pdb'; linking object as if no debug info
BUILD: [01:0000001488:WARNN ] uuid.lib(shobjidl_i_guid0.obj) : warning
LNK4099: PDB 'dummy.pdb' was not found with
'E:\WINCE500\PBWorkspaces\My_Project\WINCE500\XSc1bd_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\uuid.lib'
or at 'E:\WINCE500\platform\XSc
1bd\target\ARMV4I\retail\dummy.pdb'; linking object as if no debug info
BUILD: [01:0000001489:WARNN ] uuid.lib(shobjidl_i_guid7.obj) : warning
LNK4099: PDB 'dummy.pdb' was not found with
'E:\WINCE500\PBWorkspaces\My_Project\WINCE500\XSc1bd_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\uuid.lib'
or at 'E:\WINCE500\platform\XSc
1bd\target\ARMV4I\retail\dummy.pdb'; linking object as if no debug info
BUILD: [01:0000001490:WARNN ] uuid.lib(shobjidl_i_guid9.obj) : warning
LNK4099: PDB 'dummy.pdb' was not found with
'E:\WINCE500\PBWorkspaces\My_Project\WINCE500\XSc1bd_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\uuid.lib'
or at 'E:\WINCE500\platform\XSc
1bd\target\ARMV4I\retail\dummy.pdb'; linking object as if no debug info
BUILD: [01:0000001491:WARNN ] uuid.lib(shguids_guid100.obj) : warning
LNK4099: PDB 'dummy.pdb' was not found with
'E:\WINCE500\PBWorkspaces\My_Project\WINCE500\XSc1bd_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\uuid.lib'
or at 'E:\WINCE500\platform\XSc1
bd\target\ARMV4I\retail\dummy.pdb'; linking object as if no debug info
BUILD: [01:0000001492:WARNN ] uuid.lib(shguids_guid133.obj) : warning
LNK4099: PDB 'dummy.pdb' was not found with
'E:\WINCE500\PBWorkspaces\My_Project\WINCE500\XSc1bd_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\uuid.lib'
or at 'E:\WINCE500\platform\XSc1
bd\target\ARMV4I\retail\dummy.pdb'; linking object as if no debug info
BUILD: [01:0000001493:WARNN ] uuid.lib(shguids_guid25.obj) : warning
LNK4099: PDB 'dummy.pdb' was not found with
'E:\WINCE500\PBWorkspaces\My_Project\WINCE500\XSc1bd_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\uuid.lib'
or at 'E:\WINCE500\platform\XSc1b
d\target\ARMV4I\retail\dummy.pdb'; linking object as if no debug info
Regards Tag: how to synchronization time through ActiveSync ? Tag: 91653
Help~~I have trouble adding Audio driver to the kernel.
Hi~, I am using Windows CE 5.0 and Sharp SDKLH7A404. Is there any
relationship between the Audio driver and the Storage manager? Because if I
don't add the storage manager to the kernel, the Audio driver will not be
added to the kernel even if I add the Audio item to the project.
Below is the section in my
platform.bib(WINCE500\PLATFORM\SDKLH7A404\FILES)of Audio driver:
; @CESYSGEN IF CE_MODULES_WAVEAPI
IF BSP_NOAUDIO !
IF IMG_NOAUDIO !
wavedev.dll $(_FLATRELEASEDIR)\audio.dll NK SH
ENDIF
ENDIF
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
If I don't add storage manager to the kernel, this section in
platform.bib(WINCE500\PBWorkspaces\MyPrj\RelDir\SDKLH7A404_ARMV4I_Release)
becomes:
; @CESYSGEN IF CE_MODULES_WAVEAPI
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
Will the compiler check CE_MODULES_WAVEAPI is defined? Thanks in advanced. Tag: how to synchronization time through ActiveSync ? Tag: 91651
Remote tools connection problems
Hi
I'm new to WinCE, and I cannot get the remote tools to work....
I'm creating a CEPC, tiny kernel platform, choose debug version, connect to
my board, and download the image to the board. I can set breakpoints,
"break", "step" and "go" in the debugger, but I cannot get connection to the
remote tools.
In the Platform Settings, build options, I've enabled:
"Enable CE Target Control Support"
"Enable EBoot Space in Memory"
"Enable Full Kernel Mode"
"Enable kernel Debugger"
"Enable KITL"
I'm using "KITL Transport for windows CE", and "CESH Server for Windows CE",
in the Device Properties, in the "Windows CE Platform Manager Configuration",
but I can not get a connection to the target. Also after trying to get a
connection, the debugger does not work any more, until I reset the target.
Any ideas to what I'm missing?, or what I can check?, any suggestions are
most welcome!
best regards
Torben Tag: how to synchronization time through ActiveSync ? Tag: 91646
Wince 6.0 Does not run for ARM Device Emulator
Hi,
I am working with WinCE 6.0 RTM. I am trying to build Tiny kernel Image
for ARM Device Emulator with Target Control Shell. When i execute the
image, i get
Data Abort Exception in FileSys.dll
Please help.
Regards,
Rishabh Tag: how to synchronization time through ActiveSync ? Tag: 91643
Memory slider
Windows CE 5 -> Control Panel -> System -> [Memory tab]: here you can move
slider increasing "Storage Memory" vs "Program Memory".
My problem is: when I launch my (very) big cab from SD card (that copies
many Mb into RAM) sometimes occurs an error because there isn't free memory
but this isn't true because from Panel Control I can verify there is enough
memory. The problem is slider should move itself to increase free "Storage
Memory" (decreasing free "Program Memory").
What's the behaviour of memory slider? Have I to move it by my program code?
:-O
Mhaxx Tag: how to synchronization time through ActiveSync ? Tag: 91642
Wince 6.0 Does not run for ARM Device Emulator
Hi,
I am working with WinCE 6.0 RTM. I am trying to build Tiny kernel Image
for ARM Device Emulator with Target Control Shell. When i execute the
image, i get
Data Abort Exception in FileSys.dll
Please help.
Regards,
Rishabh Tag: how to synchronization time through ActiveSync ? Tag: 91640
I2C and receiving data from slave devices
Hi,
We are developing a I2C bus driver on an xscale board running CE 5.0.
Master mode was easy to handle. The question is about Slave mode.
Suppose there are 2 devices on the bus which can initiate slave
transaction. How does the driver know which slave device caused the
interrupt? Is there anyway to know the slave address of the
interrupting device.
Or is it that the xscale has to poll the slave devices (master receive)
asking them if they have anything to send?
Which one is the better way? or if there is third one.
Thanks,
Gromit Tag: how to synchronization time through ActiveSync ? Tag: 91632
about Wince IME
Hi,
Could you tell me how SIP and IME works together in WinCE?
Thanks a lot!!
Best Regards
Merry Tag: how to synchronization time through ActiveSync ? Tag: 91628
How to auto mount a PART_DOS32 patition in WinCE4.2 with 2k byte/page nandflash?
Hello all:
My device is about S3C2440, it has a large page(2k byte/page)
nandflash(SAMSUNG K9F4G08,
512M), My OS is WinCE4.2 and the BSP is SMDK2440, so My bootlaoders are
nboot and eboot.
Using the BootPart library in eboot, the nandflash in my device has
two partions:BINFS
and FAT32. After the OS is running, I go to the storage manager in
control pannels and can
see two parts(part00, part01) in the list box, the Properties of each
Partition are OK, as
follows:
part00 size 18432 sectors
type 0x21
file system binfs.dll
flag 0x00000000
part01 size 242496 sectors
type 0x0B
file system fatfsd.dll
flag 0x00000000
However, the PART_DOS32 partition(part01) is not mounted by
WinCE4.2, and can not see
the folder "ResidentFlash". If select the Property of part01, the
Partition Properties
dialog correctly displays fatfsd.dll as the file system, but clicking
the mount button just
opens a message box that sais "Unable to mount partition". Even firstly
click the format
button, it shows ok, secondly click the mount button again, it also
shows "Unable
to mount partition".
The registry in the platform.reg used are as follows:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Support BINFS Section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Add BinFS to partition table
[HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
"21"="BINFS"
[HKEY_LOCAL_MACHINE\System\StorageManager\BINFS]
"Folder"="BINFS"
"FriendlyName"="Bin FileSystem"
"Dll"="binfs.dll"
; MountFlags:
; 0x10 specifies that this file system is to be mounted as an external
; ROM filesystem shadowing the \windows directory
; 0x1 specifies that the mountpoint \BINFS is to be hidden
;
"MountFlags"=dword:11
"BootPhase"=dword:0
;
; Entries to load the block driver that BINFS uses
; This is dependent on what device is used
;
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FlashDrv]
"DriverPath"="Drivers\\BlockDevice\\FlashDrv"
"LoadFlags"=dword:1
"MountFlags"=dword:11
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\FlashDrv]
"Prefix"="DSK"
"Dll"="FLASHDRV.dll"
"Order"=dword:0
"Ioctl"=dword:4
"Profile"="FlashDrv"
"FriendlyName"="MS Flash Driver"
"MountFlags"=dword:11
"BootPhase"=dword:0
; Bind BINFS to the block driver
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv]
"DefaultFileSystem"="BINFS"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"MountFlags"=dword:11
"Folder"="ResidentFlash"
"Name"="Microsoft Flash Disk"
"BootPhase"=dword:0
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv\FATFS]
"MountFlags"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"MountFlags"=dword:0
How to auto mount the PART_DOS32 partition in WinCE4.2 with large
page nandflash? Pls
give me some advices.
Thanks a lot for your answers. Tag: how to synchronization time through ActiveSync ? Tag: 91627
Bad (slow) performance on SOAP/TCPIP call
Hi,
I have implemented a COM (EXE) server on Windows CE5.0 side.
I have created the WSDL and WSML files so that I can access it through SOAP.
CE = web serverice side
I have created a C# client on the desktop (XP SP2) side. XP = client side
So far everything works fine. No problems.
However each SOAP call that I do takes between 300..500msec for a very
simple call.
I basically call a function that passes a long as parameter and returns a
long.
Debugging with Ethereal learned me that a lot of time is wasted on the ACK
of a TCP message.
Each TCP message needs to be ACK'd at some time. By default Windows CE AND
Windows XP don't ACK immediately,
instead they wait a while (± 100msec). This is what is called TCP Delayed
Acknowledge.
It is used to reduce TCP traffic (for slower machines) when a lot of TCP
communication takes place.
It gives little performance degradation when your TCP messages are long,
but it degrades performance dramatically if you have a lot of short TCP
messages
Therefore you can disable this mechanism on the XP side by setting the
following registry key
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{Adapter}\TcpAckFrequency] = 1
Now Windows XP shall always ACK an incoming TCP message immediately (I know
what I a am doing, despite the warnings in MSDN)
This eliminates long delays from the XP side. This way I can reduce the SOAP
call to 100..300msec.
The CE side has a similar registry key, but it can not be set lower than
2(00)msec.
HKEY_LOCAL_MACHINE\Comm\PCI\<Adapter Name>\Parms\Tcpip\TcpDelAckTicks = 2
[2..6]
Does anybody know how this can be disabled or at least improved on the CE
side?
What about TcpInitialRTT, TcpWindowSize, ... registry settings?
Note: I think there is a mistake in the documentation. The path should be
HKEY_LOCAL_MACHINE\Comm\PCI\...
instead of HKEY_LOCAL_MACHINE\Comm\...
If I could disable Delayed ACK on CE, the SOAP call should only take a few
(10)msecs.
I have a point to point ethernet connection between my CE device and XP
station. I will use SOAP to make a lot of short calls (>10 per second). In
fact trying to replace DCOM. The same call through DCOM only takes <1msec.
This Ethereal log shows the problem (XP side already patched)
1 0.000000 192.168.2.40 -> 192.168.2.48 : SOAP call start
POST /GateWS.wsdl HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 2.0.50727.42)
VsDebuggerCausalityData:
uIDPo4U3sU1zR4NBkL1wmIt6a6sAAAAAacrC7fa2F0eOgFppIbo6yAnlJKGeJlZIoKd361WHvZMACAAA
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/action/GateWS.DialGate"
Host: 192.168.2.48
Content-Length: 561
Expect: 100-continue
Connection: Keep-Alive
2 0.110646 192.168.2.48 -> 192.168.2.40 : http> 1267 ACK Seq=0 Ack=414
Win=5426 Len=0
3 0.110701 192.168.2.40 -> 192.168.2.48 : Continue
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/wsdl/"
xmlns:types="http://tempuri.org/wsdl/encodedTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:DialGate xmlns:q1="http://tempuri.org/message/">
<Chevron xsi:type="xsd:int">16</Chevron>
</q1:DialGate>
</soap:Body>
</soap:Envelope>
4 0.113160 192.168.2.48 -> 192.168.2.40 : Immediate reply from host
HTTP/1.0 200 OK
Date: Thu, 26 Oct 2006 03:47:06 GMT
Connection: keep-alive
Server: Microsoft-WinCE/5.0
Content-Type: text/xml; charset="UTF-8"
Content-Length: 323
Expires: -1;
5 0.113183 192.168.2.40 -> 192.168.2.48 : 1267 > http ACK Seq=975 Ack=185
Win=64842 Len=0
6 0.113301 192.168.2.48 -> 192.168.2.40 : Reply from host to client
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAPSDK1:DialGateResponse xmlns:SOAPSDK1="http://tempuri.org/message/"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
7 0.113316 192.168.2.40 -> 192.168.2.48 : 1267 > http ACK Seq=975 Ack=508
Win=64519 Len=0
Note the delay of 110msecs between 1 and 2. The rest of the flow is quite
fast. The SOAP call took 113msecs where it could be don in ±3msecs.
The problem is that each time a new SOAP call is made the reply port changes
(1267 -> 1268 -> ...)
and the whole story starts again, with each time the initial delay.
Please advice...
Werner Tag: how to synchronization time through ActiveSync ? Tag: 91626
Incremental platform builds
In PB5.0 IDE we perform incremental builds of our workspace by
1. rightclicking the %_targetplatroot% folder (FileView-tab)
2. selecting the 'Build and Sysgen' option.
This works fine and fast almost everytime. However, when I switch from
one workspace to another and perform the same operation, PB starts
performing a clean build in the %_targetplatroot% folder! Can someone
explain me the logic of this and maybe tell me how to bypass this?
Thanks,
Wesley
Following is the PB output:
Sysgening platform C:\WINCE500\platform\MYPLATFORM
C:\WINCE500\PBWorkspaces\MPA1_5.0>if not "" == "" goto done
C:\WINCE500\PBWorkspaces\MPA1_5.0>set
___OAKROOT=C:\WINCE500\platform\MYPLATFORM\oak
C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
C:\WINCE500\platform\MYPLATFORM\oak\oakver.bat goto endif_20
C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
C:\WINCE500\platform\MYPLATFORM\dirs goto done
C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "public" C:
C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "private" C:
C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "platform" C:
C:\WINCE500\PBWorkspaces\MPA1_5.0>cd C:\WINCE500\platform\MYPLATFORM
C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=
C:\WINCE500\PLATFORM\MYPLATFORM>if not "platform" == "platform" goto
endif_11
C:\WINCE500\PLATFORM\MYPLATFORM>if exist
C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif goto endif_13
C:\WINCE500\PLATFORM\MYPLATFORM>del
C:\WINCE500\platform\MYPLATFORM\*.bif
C:\WINCE500\PLATFORM\MYPLATFORM>echo current
1>C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif
C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building platform clean
due to change of project
CEBUILD: Building platform clean due to change of project
C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=-c
C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building -c
(C:\WINCE500\platform\MYPLATFORM)
CEBUILD: Building -c (C:\WINCE500\platform\MYPLATFORM)
C:\WINCE500\PLATFORM\MYPLATFORM>build -c
.... Tag: how to synchronization time through ActiveSync ? Tag: 91621
I am trying to replace "ndisuio.dll" retail version with the debug version.
These are the steps I am doing:
1=2E Starting command window with Debug BaseOSEnv.bat.
2=2E In that window running sysgen -p common ndisuio.
3=2E Copy ndisuio.dll to flatreleasedir. The size of ndisuiio.dll is
68KB.
4=2E Running makeimg.
5=2E Looking at the image with ImgExp.exe shown that:
=B7 ndisuio.dll size is 20KB and not 60KB.
=B7 The data of the dll is older then debug dll.
Do you have a suggestion for me what to try next? Tag: how to synchronization time through ActiveSync ? Tag: 91618
I am trying to replace "ndisuio.dll" retail version with the debug version.
These are the steps I am doing:
1=2E Starting command window with Debug BaseOSEnv.bat.
2=2E In that window running sysgen -p common ndisuio.
3=2E Copy ndisuio.dll to flatreleasedir. The size of ndisuiio.dll is
68KB.
4=2E Running makeimg.
5=2E Looking at the image with ImgExp.exe shown that:
=B7 ndisuio.dll size is 20KB and not 60KB.
=B7 The data of the dll is older then debug dll.
Do you have a suggestion for me what to try next? Tag: how to synchronization time through ActiveSync ? Tag: 91617
boot.bib
In the boot.bib file why nk.exe is used as module name
MODULES
; Name Path Memory Type
; ----------- --------------------------------------------- -----------
nk.exe
$(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\EBOOT.exe EBOOT Tag: how to synchronization time through ActiveSync ? Tag: 91609
update OS on custom device
Hi All,
Are there any ideas as how I can run OS updates to a custom device after it
is released? For example, at what sequence would the updates have to be
written? I am thinking that it would have to be done straight after the
bootloader startup and before the kernel address is loaded/jumped to. Is
this correct? What would need to be done? I am unclear how updates are
performed across a custom device. Any ideas?
Thanks,
RH Tag: how to synchronization time through ActiveSync ? Tag: 91607
about DHCP
Hello,
1. Enviroment: CEPC or Cirrus Logic EDB9315A with DHCP enable, LAN with a
DHCP server on it.
2. During eboot seesion, DHCP requesting is always OK!
3. During kernel starting, DHCP is ALWAYS fail!!!
4. When downloading debug-version(KITL enable) nk.bin into EDB9315A board,
kernel debugger can connect to the target although DHCP was fail. With
ipconfig on command line of the target, ip is 169.254.46.157, and my host ip
is 192.168.201.131. I am confused with it. Thanks for anybody for any
comments!
Thanks in advance
Chengshi
x10@emtronix.com.cn Tag: how to synchronization time through ActiveSync ? Tag: 91604
Splash Screen bootloader
Hi all,
I am trying to build a custom splash screen.
-with the help of some previous posts here
http://groups.google.com/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/91eff976a595cb42/0625c5cf80b91d89?lnk=st&q=splash+screen+wince&rnum=6#0625c5cf80b91d89
I was able to achieve some progress.
-Is it possible to as well integrate dynamic content(gif,audio and
video) rather than static(.bmp) only?
-I tried to test this on x86 emulator(platform-mobile handheld
template) w/o any success.
Any kind of help would be appreciated.
regards
anand Tag: how to synchronization time through ActiveSync ? Tag: 91596
about IE6.0 vs MFC
Hi, All
In my design(CE5.0), the applications are written in eVC based MFC, and
IE6.0 is not required. But if removing of IE6.0, the SDK derived from the
OSDesign doesn't provide supporting MFC based program written in eVC. The
problem is if IE6.0 item is added, the size of the debug version exceeds the
limit of 32MB for kernel, my design has total 64MB, 32MB for OS, 32MB for
RAM, which is seperated each other in physical address. Please let me know
how to do with the problem.
Thanks for all help!
Cheng Shi
x10@emtronix.com.cn Tag: how to synchronization time through ActiveSync ? Tag: 91592
bootloader source files
Hi All,
Could somebody please tell me, at what location can I find ALL the source
files related to the bootloader. I have been trying to work through the
Microsoft Windows CE 5.0 Board Support Package, Boot Loader, and Kernel
Startup Sequence article
(http://msdn2.microsoft.com/en-us/library/aa446905.aspx) but I cannot seem to
find the functions EbootMain() and BootloaderMain() that are supposed to be
in main.c and Blcommon.c respectively and I am wondering whether I actually
have the correct files.
Thanks Tag: how to synchronization time through ActiveSync ? Tag: 91590
PXA270 USB Host Controller WINCE 4.1
Hi All,
I am hoping someone out there who has some experience with USB host drivers
can give me some hints. We have a hardware design based on the MAINSTONE II
reference design. However our BSP is firmly entrenched in WINCE 4.1 (came
from a PXA255 design). For the most part, I have been able to take code from
the WINCE 5 BSP, and drop those changes into the appropriate files of our
WINCE 4.1 BSP. However in the case of the USB host controller, the PXA 255
didn't have this so our BSP doesn't already have a skeleton for me to flesh
out.
What I'd like to get some idea of is exactly what are the steps I need to do
add the USB host controller. I have brought all of the bul_ohci.cpp code
over to the 4.1 BSP, and it compiles, but its a .LIB, that links to a .LIB
(ohcdmdd2.lib) that it reportedly doesn't know how to make. Some place I'm
sure it gets made into a DLL no?
Furthermore, I'm not even sure from the PB GUI, what components I need to
add if it were to work. Right now under "USB Host" I've included ohcdmdd and
from the "Core OS Services" I added USB Host Support for the HID class. My
thought was I'd start by getting a USB mouse or keyboard to play nice. Some
place in the registry I am sure I need to tell device.exe exactly what to
load, unless perhaps this is done when the component (whatever component that
is), is selected in the GUI.
Any words of wisdom any of you out there care to impart I'd greatly
appreciate.
Regards, Tag: how to synchronization time through ActiveSync ? Tag: 91586
With irDA support WinCE 5.0 boots slower...
Hi
Is it me or does WinCE 5.0 boot segnificant slower with IrDA support ??
I guess it normal behavior or am I missing something (maybee a component
that is needes ??)
/Thomas Tag: how to synchronization time through ActiveSync ? Tag: 91582
ANN: Windows CE Live Chat Tomorrow!
Just a note that we'll be hosting an online chat tomorrow morning concerning
Windows CE 5.0 and CE 6 beta! Members of the development team will be on
hand ready to answer your questions, so bring 'em on!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Title: Windows CE Live Chat!
October 25, 2006
9:00 - 10:00 A.M. Pacific time
Additional Time Zones:
http://www.timeanddate.com/worldclock/fixedtime.html?month=10&day=25&year=2006&hour=9&min=0&sec=0&p1=234
Description: Do you have tough technical questions regarding Windows CE 5.0
for which you're seeking answers? Do you want to learn more about the
Windows CE 6 beta? Do you want to tap into the deep knowledge of the
talented Microsoft Embedded Devices Group members? If so, please join us for
a live Windows CE chat and bring on the questions! Windows CE is the
operating system that is powering the next generation of 32-bit,
small-footprint and mobile devices. This chat will cover the tools and
technologies used to develop devices using the Windows CE 5.0 and CE 6 beta
operating systems.
To join this chat, please log on via the main MSDN chat page at:
http://msdn.microsoft.com/chats/
Chat Transcripts: Missed a recent chat? We welcome you to visit the
Transcript Archive. Transcripts are usually posted within two weeks of the
live event.
http://msdn.microsoft.com/chats/transcripts/mobileembedded/default.aspx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sue
sloh@microsoft.com (remove "online" from reply-to address)
http://blogs.msdn.com/ce_base/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________ Tag: how to synchronization time through ActiveSync ? Tag: 91580
Bad RX packet during BIN download
I am having difficulty downloading images from platform builder to a target.
The image is only 10 MB but it fails roughly 75% of the time. The serial
output from the target during download is:
Download BIN file information:E1016000 (Memory)5.255.255
-----------------------------------------------------CP()
Sent
==
ProcessDHCP()::DHCP_INIT==
[0]: Base Address=0x220000 Length=0x167EF78
Got Response from
****** OEMVerifyMemory Checking Range [ 0x220000 ==> 0x189EF77 ]
FindAllPCINetCard: Searching for PC
****** RAM Address ******
Bad RX packet [Header: 0xED
****** RAM Address ******ll to 0x0
Base Class, Subclass = 2, 0 => NETWORK_CTLR
Bad RX packet [Header:
Interrupt = 10..00:01:C0:01:DF:F8
BaseAddress[0] = 0xF800 (I/O)
Once it does complete I am able to transfer files from the network with no
signs of error. I have tried all differnet network cabling, and a different
carrier board for my processor board.
I am using a Compulab CM-iGLX board based on AMD's Geode LXD800 CPU.
1) Has anyone else experienced this sort of problem?
2) Can anyone explain why this occurs during load but not during traditional
networking operations?
3) Is there anything I can try at this point? Tag: how to synchronization time through ActiveSync ? Tag: 91579
Bluetooth cips
Hello All!
I chose BT chip for my board. This is not external chip (like USB
dongles for example), but integrayted in board.
So, I would like to know what BT chips approach for WinCE 5.0. Any that
supports HCI specification? Or not?.. Only chips that support stack 1.2
or 2.0 are comparible too and work fine? What I should make at software
develpment time - I need to write some drivers or drivers that includes
in WinCE 5.0 work fine?
In a word, I shall appreciate any information and/or list of supported
chips in WinCE.
Regards,
Sergey. Tag: how to synchronization time through ActiveSync ? Tag: 91577
*.dat files in build process
hi
i try to include some conditions in my project.dat file in the
following manner:
#if $(MY_CONDITION)==1
Directory("\Windows\....
Directory("\Windows\....
#endif
i set the the MY_CONDITION variable using the Platformbuilder 5.0
Menue->Platform->Settings Enviroment tab and set the environment
variable there.
--> but it has no effects at all when i have a look at the merged
initobj.dat file.
how can i achieve this? Tag: how to synchronization time through ActiveSync ? Tag: 91573
NDIS, interrupts, and headaches...
Hi.
I am trying to port an SMSC9118 ethernet driver to a Freescale board,
and am having some difficulty understanding how interrupts are handled.
I have an interrupt handler called OEMInterruptHandler that catches the
system timer interrupts and, apparently also captures the interrupts
coming from the ethernet controller.
The trouble is that I can't get the interrupt to get passed to the NDIS
layer so that it sends it back to the driver's interrupt handler.
So, how does NDIS manage interrupts? From what I read, it installs an
IST that calls the driver's interrupt handler, but I don't understand
if this IST is supposed to be called from an ISR installed by NDIS, or
if I'm supposed to call t from my OEMInterruptHandler.
So does anyone have any links that explain how NDIS works?
In advance, thanks. Tag: how to synchronization time through ActiveSync ? Tag: 91568
SendMessageTimeout not included in coredll.dll
Hello all.
My no UI CE Device is ready to develop with eMbedded VC, but I'm trying to
develop with Visual Studio 2005. From now I can connect with device,
deploy and run my program but not debug it.
If I launch "Start Debugging" I get the error via Platform Builder:
174104 PID:41f18a9e TID:41d88cce ERROR: function @ Ordinal 1495 missing
in Module 'coredll.dll'
174105 PID:41f18a9e TID:41d88cce !!! Please Check your SYSGEN variable !!!
As is documented in some MSDN blog, I find that ordinal, and it
corresponds to SendMessageTimeout, that is part of Message Queue.
Compiling option is GWES_MSGQUE.
In my catalog more near option is GWES_MSGQUEUE. I've included it, but my
coredll.dll continues not having 1495 ordinal as I can see doing a dumpbin
/exports.
--
Visita mi blog: http://rfog.blogsome.com
Libros, ciencia ficción y programación
========================================
Pilas Duraser para un "conejo" inagotable };-). Tag: how to synchronization time through ActiveSync ? Tag: 91567
How to build tktest.exe
Hello
I want to build a minumum CE kernel ,with tktest as the only one process.
But when I Build the tktest project (from the platform builder), it output
tktest.lib, not tktest.exe.
How to build the tktest.exe ? Is it the same as a general CE application ?
Thanks
Charles in ryltk Tag: how to synchronization time through ActiveSync ? Tag: 91565
STANDARD UART on PXA27X
Hi,
I'm developing a bsp for a PXA27X Mainstone II board and i would like to use
STANDARD UART for the debug function.
I have added in the debugserial.c file the configuration of STUART and my
loader che send out the debug string to my terminal windows. When i try to
send the character from my PC to se STUART, the board doesn't receive
anything.
I have then configured in the same way my FFUART and it works fine.
Someone knows if STUART need somenthing more to be set in order to work?
I have downloaded a linux boot loader (uboot) and my STUART can transmit and
receive data.
Thanks
Rudy Barbieri
...desperate developer.... Tag: how to synchronization time through ActiveSync ? Tag: 91563
BinFS and RAM resources
Hi,
I am using a device that has 64MB of RAM and 128MB of NAND Flash.
At the moment the system is booting from RAM after the NK.bin is copied
there from the NAND flash. The NK.bin size is 32MB. After the system
comes up I have about 20MB of free RAM left. I am currently using all
RAM for program memory.
I was wondering how much will the move to BinFS improve my free RAM
level?
Am I going to free the all 32MB (NK.bin size) or only part of it?
In the non BinFS mode, how many copies of the source code of a running
dll are there? Is dll running from the NK.bin copy on the RAM or is it
coppied again to the heap(2 copies overall)?
Thank you
Ohad Yaniv Tag: how to synchronization time through ActiveSync ? Tag: 91560
UCB1400 driver
Hi,
Iam using Colibri module PXA270 as my target system with UCB1400 chip
integrated. Can anyone tell me, how could I enable and use the UCB1400
driver on the linux platform.
In the defconfig file, I have enabled CONFIG_INPUT, CONFIG_SND,
CONFIG_SOUND,CONFIG_SND_PXA2xx_AC97, CONFIG_SND_PXA2xx_PCM to =y. The
kernel builds well, but on boot it doesn't show me the UCB1400 driver
gets loaded into the kernel and there are no more interrupts enabled in
/proc/interrupts with following boot message,
.....
.....
ts: UCB1x00 touchscreen protocol output
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 ( The MAr 24
10:34:34 2005 UTC)
ALSA device list:
No soundcards found.
....
....
Any help will be appreciated to fix this issues.
Thanks
Sara Tag: how to synchronization time through ActiveSync ? Tag: 91559
GPS module
I have GPS USB module (Garmin GPS18 USB). Does anyone know if USB driver is
available for Windows CE 5.0? Tag: how to synchronization time through ActiveSync ? Tag: 91557
about ddraw sample application
Hi, everyone?
I have been testing any video function with via cn700 board.
Among ddraw sample applications, only mosquito.exe program can't be run
correctly.
The image of mosquito was not shown. Instead, any rectangle is moving around
the screen.
Anyone can help me? Tag: how to synchronization time through ActiveSync ? Tag: 91555
ROMOFFSET in Eboot.bib
Hello All,
I am developing EBOOT loader for my SDK Board. Currently i am able to
download and Eboot.sre using the onboard Boot loader. My Eboot is
prepared to execute from RAM.
Now i am trying to burn EBoot loader from FLASH. What all nexeccsary
changes i need to do. For Testing i am thinking of downloading EBOOT to
some higher order RAM Address and then relocate it to the place where i
want to execute it.
When i see the EBOOT.sre i find out that the start Address in the S7
Record is :
ROMOFFSET*2+ Image Start Address
for example:
If the Start Address of Image is 80021000 and ROMOFFSET = 0x00700000
then According to me start address of Srec Image should be 80721000
but in the S7 Srecord i find it 80E21000
I am now trying to figure out what could possibly be the reason for the
same.
Contents of my EBOOT are as:
MEMORY
; Name Start Size Type
; ------- -------- -------- ----
STACK 80000000 00010000 RESERVED
RAM 80010000 00010000 RAM
EBOOT 80020000 00040000 RAMIMAGE
RSVD 80060000 0009F000 RESERVED
ARGS 800FF000 00001000 RESERVED
CONFIG
AUTOSIZE=OFF
COMPRESSION=OFF
PROFILE=OFF
KERNELFIXUPS=ON
ROMSTART=80020000
ROMWIDTH=32
ROMSIZE=00400000
; The bootloader is fixed up to run from RAM, but is stored in
flash. ROMOFFSET
; adjusts the .bin file record headers to that they lie in flash
(this tells the
; bootloader already on the device to store the image in flash).
ROMOFFSET=00700000;3C9E0000
SRE=ON
Regards,
Rishabh Kumar Goel Tag: how to synchronization time through ActiveSync ? Tag: 91549
usb mass storage not works if our own sd driver used
Hi,
We developed a sd card driver, it works in normal condition. Now we
want to use it as an usb mass storage disk, but it fails. If we replace
the driver with the SDMemory driver, the SDMemory driver works. Is
there some funtions needed be implemented to support the usb mass
storage?
Thanks
Robert Tag: how to synchronization time through ActiveSync ? Tag: 91545
What data and how to set it in the ARGS session that described in eboot.bib
I'm debug my bootloader and the debug message is "ERROR: Invalid
Ethernet address read from Ethernet controller.". I cut some related
code here. 0xA00FF000's physical address is 0x000FF000, a flash
address. My question is how these datas are initialized. I can't find
anythere to check the value stored in 0x000FF000
code******************************************************************
typedef struct {
OAL_ARGS_HEADER header;
UINT8 deviceId[16]; // Device identification
OAL_KITL_ARGS kitl;
UINT32 dbgSerPhysAddr; // Debug serial physical
address
} BSP_ARGS, *PBSP_ARGS;
BSP_ARGS *g_pBSPArgs = (BSP_ARGS *) IMAGE_SHARE_ARGS_UA_START;
#define IMAGE_SHARE_ARGS_UA_START 0xA00FF000
if (!g_pBSPArgs->kitl.mac[0] && !g_pBSPArgs->kitl.mac[1] &&
!g_pBSPArgs->kitl.mac[2])
{
EdbgOutputDebugString("ERROR: Invalid Ethernet address read from
Ethernet controller.\n");
return(FALSE);
}
config.bib******************************************************************
IF IMGFLASH
RSVD 80000000 000FF000 RESERVED
ARGS 800FF000 00001000 RESERVED
NK 9CA00000 03000000 RAMIMAGE
RAM 80100000 03F00000 RAM
ENDIF
eboot.bib*******************************************************************
eboot.bib
STACK 80000000 00010000 RESERVED
RAM 80010000 00010000 RAM
EBOOT 80020000 00040000 RAMIMAGE
RSVD 80060000 0009F000 RESERVED
ARGS 800FF000 00001000 RESERVED(it used to be "ARGS
80FF0000 00001000 RESERVED", I changed it by myself)
***************************************************************************** Tag: how to synchronization time through ActiveSync ? Tag: 91544
USB Mass Storage function driver supporting multiple disks (DSK1: & DSK3:)
Currently I have the USB Mass Storage function driver exposing my first
SD card (DSK1:). Below you can see the registry entries for it.
What I would like to do is expose both of my SD disks (DSK1: & DSK3).
Is there a way to do this easily or does the "usbmsfn.dll" only support
one disk?
Current Registry Settings:
; @CESYSGEN IF CE_MODULES_USBMSFN
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"ClientDriver"="\\Drivers\\USB\\FunctionDrivers\\Mass_Storage_Class"
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
"Dll"="usbmsfn.dll"
"Vendor"=dword:17CC
"Product"=dword:2280
"InterfaceSubClass"=dword:06
"InterfaceProtocol"=dword:50
"DeviceName"="DSK1:"
"Removable"=dword:0
; @CESYSGEN ENDIF CE_MODULES_USBMSFN Tag: how to synchronization time through ActiveSync ? Tag: 91537
Mouse problem.
I am using a Windows Mobile 5 system where a Bluetooth nouse is embeddd in a
device to provide interaction between the two. Because the mouse doesn't
move, there is no X,Y aspect to the mouse. I only want the wheel and button
functions. The problem is that it appears that the mouse starts above the
WM5 Start menu. When you click it, it activates the statrt menu.
I can assign the button clicks to apps to resolve some aspects but the wheel
doesn't show.
What to get The Y value.
Can write a C++ app to track raw aspects of the mouse but I am programming
the app using Compact Framework2 (C#, VB andC++)
Any ideas on how to get at the mouse in a raw manner.
Happy with PInvoke.
ie a Native DLL etc
Options may be
-Rewrite the driver.. not pratical
-Get some hooks into the underlying windows system
- Tap into the driver's Stream. Looking at registry, it seems that the
device uses a a stream class.
One question, is it possible to programmatically change the position of the
a/the mose?
PS: Posting to CF ng as well.
Thx for any help
--
David Jones
Senior Lecturer
School of Electrical & Computer Engineering
RMIT University
+61 3 99255318 Tag: how to synchronization time through ActiveSync ? Tag: 91536
external USB audio card for WinCE 5.0
Hi,
-do you know any external USB audio card that has drivers for Windows Ce ?
Like the M-Audio Sonica USB, USB 2.0 Audio Blaster, Audigy 2NX , etc
-Does anybody know if there is a sample USB audio driver somewhere ?
Regards
Javier
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ Tag: how to synchronization time through ActiveSync ? Tag: 91528
Hello everybody :
I want to know if a program in Wince can get the Computer's time
through ActiveSync connection ?how to do ? thanks!
RE: how to synchronization time through ActiveSync ? by calvin
calvin
Sat Oct 28 21:53:01 CDT 2006
Can anybody help me ? thanks!
Calvin.Liu
"pc.xiaoxin@gmail.com" wrote:
> Hello everybody :
>
> I want to know if a program in Wince can get the Computer's time
> through ActiveSync connection ?how to do ? thanks!
>
>
> Calvin.Liu
> 27/10/2006
>
>
RE: how to synchronization time through ActiveSync ? by calvin
calvin
Fri Nov 03 09:07:01 CST 2006
Can anybody help me ?
"calvin" wrote:
> Can anybody help me ? thanks!
>
> Calvin.Liu
>
> "pc.xiaoxin@gmail.com" wrote:
>
> > Hello everybody :
> >
> > I want to know if a program in Wince can get the Computer's time
> > through ActiveSync connection ?how to do ? thanks!
> >
> >
> > Calvin.Liu
> > 27/10/2006
> >
> >