SMB/CIF sharing the root of Windows CE device?
Hi,
I am looking for a way to share the root directory (\) in the SMB/CIF
server. I am running Windows CE 5.0. All other shares I have created work, I
can access the contents of the other shares but not on \ .
This is the contents of my [HKLM\Services\SMBServer\]:
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares]
"UseAuthentication"=dword:00000001
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\Images]
"Path"="\\FlashFS"
"Type"=dword:00000000
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\root]
"UserList"="3vlig"
"Path"="\\"
"Type"=dword:00000000
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\temp]
"Path"="\\Temp"
"Type"=dword:00000000
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\windows]
"Path"="\\Windows"
"Type"=dword:00000000
"UserList"="3vlig"
This is the output from Debug in Platform Builder:
1043766 PID:a3d337ea TID:239a5002 0x83c3f414: Invalid handle: Set=7 Method=8
1043768 PID:a3d337ea TID:239a5002 0x83c3f414: Invalid handle: Set=7 Method=8
1043778 PID:a3d337ea TID:439a9392 SMBSRV: TRANACT --
ActiveConnection::NextFile failed!
1043792 PID:a3d337ea TID:239a5002 0x83c3f414: SMBSRV: Invalid char in path
\\desktop.ini
1043792 PID:a3d337ea TID:239a5002 SMBSRV-CRACKER: SMB_OpenX -- error
filename has invalid character!
Is there a way to avoid this problem? Apparently SMBServer does not like the
double slashes in the pathname.
Im wondering If it is possible to create a "link" in the filesystem (\Root
that points to \) and then I share \Root instead. Although I have yet to
discover if it is at all possible to do it this way ...
best regards,
/Christer Olofsson Tag: How can I use com2 and com3 on s3c2410 Tag: 68908
how to generate a dll file
Hi:
I make a new folder in the PBWorkspace directory, which located in
WinCE50 directory.
After write my source file and xxx.cpp file , I use build -c in the open
release directory command line.
Then PB generate xxx.lib in the public\common\oak\lib\armv4i\debug\
directory and xxx.obj file in my project directory.
Would you please tell me how to generate a xxx.dll file ?
Thank you very much. Tag: How can I use com2 and com3 on s3c2410 Tag: 68906
Problem including ddraw.lib, getting an unresolved symbol _DirectDrawCreate error, am i doing this in the right way?
I´m trying to modify the taskbar code and want to include directdraw
support.
In embedded visual c I only have to link to ddraw.lib and include ddraw.h in
the source file.
I have tried to include the path to ddraw.h in PB using a right click at the
project taskbar :
project taskbar->Settings-> c/c++->Include Directories:
$(_PUBLICROOT)\SHELL\OAK\HPC\INC;..\inc;$(_PUBLICROOT)\COMMON\sdk\inc;$(_PUBLICROOT)\COMMON\oak\inc
ddraw is in the folder : $(_PUBLICROOT)\COMMON\sdk\inc
so the compiler should not have any problem with that.
Secondly I have included ddraw.lib using another right click:
project taskbar->Settings->Link->Additional Libraries: ddraw.lib
But I get an external error when trying to build and sysgen the project in
built.log :
unresolved external symbol _DirectDrawCreate referenced in function
"public: __thiscall CTaskBar::CTaskBar(void)" (??0CTaskBar@@QAE@XZ)
taskbar.lib(taskbar.obj)
Is there eny other way I should do this or ?
I haven´t found any way to set the *.lib files location either as in
embedded visual c.
Thanks for helping me out, Dani Tag: How can I use com2 and com3 on s3c2410 Tag: 68900
Will OEMinterruptHandler be preempted by a higher priority IRQ?
Dear All,
I am using ARM920t and WinCE4.2.
I am doing one installable ISR for my device driver.
My question is that the OEMInterruptHandler can be preempted by a higher
priority external IRQ,such as ethernet,UART,etc.?
WindowCE said it support nested interrupt, but I think ARM cpu have only one
IRQ, so when OEMInterruptHandler is being excuted, nobody can preempt it. Am
I right?
If yes, the installable ISR will reduce the response time of the whole
system, right?
Thank you.
Lee Tag: How can I use com2 and com3 on s3c2410 Tag: 68895
Load Fonts From USB Storage Device
Hi,
I would like that Windows CE loads its fonts on an external USB storage
device.
To do so I set the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontPath]
"FontPath"="\\Hard Disk\\System\\Fonts"
It does not work. When I start an application it receives an unhandled
exeption and the application stops. I think that it might be because my USB
device is not mounted when Windows CE try to "load" (I don't know exactly how
it works) all available fonts.
Is there any way to delay the "load" of the fonts or to force the USB
devices to be mounted before?
I have to use an external USB storage device because this is the only place
there is enough room to receive the fonts.
Thank you Tag: How can I use com2 and com3 on s3c2410 Tag: 68893
Activity timers
Could someone pls tell me why the following code does never
return from the second WaitForSingleObject call !?
HANDLE Active = OpenEvent(EVENT_ALL_ACCESS, FALSE,
TEXT("PowerManager/SystemActivity_Active"));
HANDLE Inactive = OpenEvent(EVENT_ALL_ACCESS, FALSE,
TEXT("PowerManager/SystemActivity_Inactive"));
if (WaitForSingleObject(Inactive, INFINITE) == WAIT_OBJECT_0)
{
if (WaitForSingleObject(Active, INFINITE) == WAIT_OBJECT_0) // <- Stall
forever
{
// Some code
}
}
I'd like to handle Inactive-to-Active transition state using activity
timers but do not understand windows behaviour ... I'm able to
wait for "Inactive" event, howether it stalls inside the second wait for
"Active" event independent from the actual activity on the system.
Any ideas?
Thanks. Tag: How can I use com2 and com3 on s3c2410 Tag: 68882
PAN Bridging
Does somebody know if is it possible to bridge a Bluetooth PAN interface and
other class of network adapters through MBridge configuration?´under PB 5.0.
I think I read this is not possible. I would like to know, if there is a way
for it.
Edgar Tag: How can I use com2 and com3 on s3c2410 Tag: 68879
SMC9000.LIB -----> EBOOT
I am developing EBOOT using smc9000.lib in common\driver\ethdbg\smc9000 for
lan91c96.
When EBOOT runs, in PB there is target name in device name box. But EBOOT
sends
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
If smc9000.lib is avaible and anybody successfully applies it? Tag: How can I use com2 and com3 on s3c2410 Tag: 68868
Edit Control of Window CE 4.2 problem
Dear all:
Here I meet with a problem about edit control.
My edit control has multiline property. And I set the max characters
through EM_LIMITTEXT with prarmeter -1, wanting to including 0x7FFFFFFE
characters.
But when I set text, I find that answer isn't right.
For example, when I reading 500k text contents and set to edit control,
edit control cannot display all contents. Although the text already set
right into edit control. It seems that edit control only display about
0xFFFF (65,535) characters. But when I call GetWindowText, I can get all
contents I set, seems that only display has problem.
Anyone meet this problem ? Or is it windows ce 4.2 's bug or can avoid it
through other method ?
Thanks a lot!
Jack. Tag: How can I use com2 and com3 on s3c2410 Tag: 68865
downloading image without PB?
I think PB is using TFTP to load the device? anyone tried to load image
using a tftp client? Tag: How can I use com2 and com3 on s3c2410 Tag: 68864
SMSC 91C111 and PXA270
Hi,
I am using the driver provided by SMSC for the LAN91C111 ethernet
controller.
the settings are VLIO, 16 bit bus.
The driver is accessing all registers correctly accept for the interrupt
register, where it fails to acknoledge TX interrupt, and therefor stuck
forever trying to clear the TX bit.
When I am enabling KITL, VMINI is working OK with interrupts enabled.
The ethdrv is able to access the 91C111 when the bus is configured for 32
bit using OUTPORT16 and INPORT16 macros, but the ndis driver fails to
access with the same settings. I have to switch to 16 bit mode in order
for the ndis driver to be able to succeed even in a simple read/write
test.
1. Why is the difference?
2. Is someone had the same problem in reading interrupt status register?
Thx,
Lrz Tag: How can I use com2 and com3 on s3c2410 Tag: 68853
s3c2410x cpu miss Uart1 Interrupt???
In OEMInterruptHandler(), I add some code to see Uart FIFO count.
I set my uart Rx-interrupt trigger level : 4 bytes.
In my expectation, the debug msg is:
Check Uart1 FIFO Count 4
Check Uart1 FIFO Count 4
Check Uart1 FIFO Count 4
....
But sometime, the debug msg is:
Check Uart1 FIFO Count 15
.....
It means the Overrun error, the FIFO is full.
Why?
The CPU miss Uart1 Interrupt?
or
OS call OEMInterruptHandler() too slowly?
Please give me a hand, thx for your suggestion.
[OEMInterruptHandler]
/////////////////////////////////////////////////////
else if(IntPendVal == INTSRC_UART1) // SERIAL
{
RETAILMSG(0, (TEXT("INT:SYSINTR_SERIAL INT\r\n")));
SubIntPendVal = s2410INT->rSUBSRCPND;
if(SubIntPendVal & INTSUB_ERR1)
{
s2410INT->rINTSUBMSK |= INTSUB_ERR1;
}
else if(SubIntPendVal & INTSUB_RXD1)
{
s2410INT->rINTSUBMSK |= INTSUB_RXD1;
//*****************************************************************
RETAILMSG(1, "Check Uart1 FIFO Count %d", (pUart1->rUFSTAT & 0xf) );
}
else if(SubIntPendVal & INTSUB_TXD1)
{
s2410INT->rINTSUBMSK |= INTSUB_TXD1;
}
else
return SYSINTR_NOP;
/////////////////////////////////////////////////////////// Tag: How can I use com2 and com3 on s3c2410 Tag: 68851
SDK Development problems
I'm deveoping a custom BSP and platform. Everything so far is OK, except I
have to export and SDK and Platform builder fails to do so. here is a log:
Rolling sysgen'ed headers and libs
Ka-Ro STK3 Dev Platform: ARMV4I_Release
Error: This build configuration has not been sysgen'ed
Error adding sysgen'ed headers and libs
Error rolling toolkit-specific files
MSI file construction completed. 3 error(s), 0 warning(s).
I sysgened all my configurations (Debug and Release) thousan times and still
cannot build an SDK. Does any body know what is the real problem.
Thanks
Alexander Tag: How can I use com2 and com3 on s3c2410 Tag: 68848
When download nk.bin to target device,it shows checksum error?
Hi,all,
CPU = intel pxa270,os = wince5.0
And I use mainstoneii BSP.
When I download nk.bin to target device,serial port outputs the following
messages:
INFO: SMSC LAN91C111 Ethernet controller initialized.
INFO: MAC address: 0-40-B8-51-A8-9D
System ready!
Preparing for download...
INFO: Using device name: 'MAINSTN43165'
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Locked Down Link 1
Src IP 192.168.190.2 Port 0400 Dest IP 192.168.190.3 Port 0B28
EthDown::TFTPD_OPEN::boot.bin
-EbootSendBootmeAndWaitForTftp
****** OEMVerifyMemory checking physical range [ 0xA0100000 ==>
0xA128B697 ]...
****** RAM address ******
ERROR: Checksum failure (expected=0x6609C computed=0x6607C)
****** Checksum failure on record 8, ABORT!!! ******
And I find that DownloadImage function has the following codes:
if (!VerifyChecksum (dwRecLen, lpDest, dwRecChk))
{
EdbgOutputDebugString ("****** Checksum failure on
record %d, ABORT!!! ******\r\n", nPkgNum);
HALT (BLERR_CHECKSUM);
return (FALSE);
}
And VerifyChecksum is the following:
static BOOL VerifyChecksum (DWORD cbRecord, LPBYTE pbRecord, DWORD dwChksum)
{
// Check the CRC
DWORD dwCRC = 0;
DWORD i;
for (i = 0; i < cbRecord; i++)
dwCRC += *pbRecord ++;
if (dwCRC != dwChksum)
EdbgOutputDebugString ("ERROR: Checksum failure (expected=0x%x
computed=0x%x)\r\n", dwChksum, dwCRC);
return (dwCRC == dwChksum);
}
I don't know where is wrong.
I download nk.bin to other device,it is right.So I think nk.bin is ok. Tag: How can I use com2 and com3 on s3c2410 Tag: 68847
When download nk.bin to target device,it shows checksum error?
Hi,all,
CPU = intel pxa270,os =wince5.0
And I use mainstoneii BSP.
Now When I download nk.bin to target device,serial port outputs the
following message:
INFO: SMSC LAN91C111 Ethernet controller initialized.
INFO: MAC address: 0-40-B8-51-A8-9D
System ready!
Preparing for download...
INFO: Using device name: 'MAINSTN43165'
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Locked Down Link 1
Src IP 192.168.190.2 Port 0400 Dest IP 192.168.190.3 Port 0B28
EthDown::TFTPD_OPEN::boot.bin
-EbootSendBootmeAndWaitForTftp
****** OEMVerifyMemory checking physical range [ 0xA0100000 ==>
0xA128B697 ]...
****** RAM address ******
ERROR: Checksum failure (expected=0x6609C computed=0x6607C)
****** Checksum failure on record 8, ABORT!!! ******
I find that DownloadImage function has the following codes:
if (!VerifyChecksum (dwRecLen, lpDest, dwRecChk))
{
EdbgOutputDebugString ("****** Checksum failure on
record %d, ABORT!!! ******\r\n", nPkgNum);
HALT (BLERR_CHECKSUM);
return (FALSE);
}
and VerifyChecksum is the following:
static BOOL VerifyChecksum (DWORD cbRecord, LPBYTE pbRecord, DWORD dwChksum)
{
// Check the CRC
DWORD dwCRC = 0;
DWORD i;
for (i = 0; i < cbRecord; i++)
dwCRC += *pbRecord ++;
if (dwCRC != dwChksum)
EdbgOutputDebugString ("ERROR: Checksum failure (expected=0x%x
computed=0x%x)\r\n", dwChksum, dwCRC);
return (dwCRC == dwChksum);
}
I don't know why?
I think if ethernet transports wrong messages,it will show ethernet
transport errors.But it does not show these messages.So I think ethernet
transport is right.So where is wrong?
Thanks. Tag: How can I use com2 and com3 on s3c2410 Tag: 68846
Hive Bades and Stratad.dll loading problem
Hi,
I am having a WinCE image with Binary Rom Image File System. Hive Based
Registry. In fact, i am in the process of
implementing Hive Based Registry.
Here the way the i go,
I added hive based registry.
I understood that for Hive based registry the the FileStorage (File System)
OS module to be included. So, i included
stratad.dll in my pdd and made the registry entries as mentioned in WinCE
4.2 help and sample Lubbock BSP.
Now, I am getting a error as follows.
4294770730 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
filesys.exe at address 0x04010000-0x0408C000
Loaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FILESYS.EXE'
4294770822 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FileSystem Starting -
starting with clean file system
4294770871 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
volume
4294770902 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
initialized
4294770934 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing volume
heap
4294771028 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing
volume
4294771058 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
initialized
4294771088 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Mounting clean
system hive
4294771118 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new volume
4294771198 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Initializing volume
heap
4294771271 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Taking down boot
registry. Any open keys will be invalid.
4294771409 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
fsdmgr.dll at address 0x03DC0000-0x03DDC000 (RW data at
0x01FED000-0x01FED754)
Loaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\FSDMGR.DLL'
4294771506 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module
stratad.dll at address 0x03630000-0x03644000 (RW data at
0x01F8A000-0x01F8AAF4)
Loaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
4294771556 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FMD_Init: SUCCESS
4294771584 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: INFO: FMD_Init: Flash
Address=0xb8380000 Length=0x1f80000.
4294771648 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
FLASHDRV.DLL:BuildupMappingInfo() - Enter.
4294772692 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector 0x01a0a002
to physical sector 0x000007e1
4294773589 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector 0xe5850000
to physical sector 0x000007ea
14306 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4:
FLASHDRV.DLL:BuildupMappingInfo() - Unable to map logical sector 0xb54702b8
to
physical sector 0x00002d42
14410 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: Could not find/load partition
driver mspart.dll
15488 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: CStore Destructor(000A2DE0)
16307 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: <<< Unloading module
stratad.dll at address 0x03630000-0x03644000 (RW data at
0x01F8A000-0x01F8AAF4)
Unloaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\STRATAD.DLL'
16413 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: >>> Loading module relfsd.dll
at address 0x03EF0000-0x03EFB000 (RW data at
0x01FF9000-0x01FF9ABC)
Loaded symbols for
'E:\WINCE420\PUBLIC\TEST_APPLICATION\RELDIR\TS90DEBUG\RELFSD.DLL'
16570 PID:a3ca3b46 TID:3c7cf62 0x83c63790: Mounted ReleaseFSD volume
'\Release'
16615 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSREG: Logging in default user.
16643 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: SetCurrentUser: Logging out
(nobody), logging in default
16691 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Opening existing volume
16721 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Volume heap already
initialized
16752 PID:a3ca3b46 TID:a3ca3b22 0x83ca38e4: FSVOL: Creating new volume
Please don't say that this error is already asked in old queries. I couldn't
understand how to solve this Hive based problem.
Struck.
Few questions,
1. Is it the stratad.dll to be made as PDD and added with the platfrom ?
2. File system is needed for Hive Based registry ?
3. I know how to build stratad.dll but, i couldn;t find a place where i can
set Environment variable to load this using
filesys.exe. FYI, I made registry entry "AUtoLoad".
4. Membase address also i verified its correct according to my Boot
configuration.
Please suugest me where i am doing wrong ?
Thanks & Regards,
Peter Tag: How can I use com2 and com3 on s3c2410 Tag: 68844
ActiveSync through ethernet only
It seems that ActiveSync through etherne must use serial/USB/IrDA/Bluetooth
to create partnership firstly.
My question is that if my platform has only ethernet and no any
serial/USB/IrDA/Bluetooth. Is there any way to create partnership manually,
such as through modify registry or write application?
Thanks in advance!
Gordon Tag: How can I use com2 and com3 on s3c2410 Tag: 68843
VIA EPIA motherboards
I'm looking at the VIA's EPIA mini-ITX line of embedded motherboards. Does
anyone have any experience with them? Good, bad, indifference?
Richard Rosenheim Tag: How can I use com2 and com3 on s3c2410 Tag: 68841
WinCE 5.0 Link File
I am running WinCE5.0 and trying to autolaunch an application from
\windows\startup using a LNK file. The file included in the LNK file is
a BAT file in the flash file system. If I telnet to the device and
execute \FFS\startup.bat, it will execute, but it does not run during
powerup.
We have just converted from WinCE4.2 to WinCE5.0 and this used to work.
Nothing has changed in the system other than converting to WinCE5.0 and
now the startup application does not launch. Here are the relavent file
sections:
platform.bib
startup.lnk $(_TARGETPLATROOT)\FILES\startup.lnk NK SH
platform.dat
Directory("\Windows\Startup"):-File("startup.lnk","\Windows\startup.lnk")
startup.lnk
18#"\FFS\startup.bat"
Please advise,
Thanks! Tag: How can I use com2 and com3 on s3c2410 Tag: 68833
ActiveSync /remote
I run repllog.exe /remote and it pops up a window asking to choose a
Connection Type and a PC to connect to, I click "Connect..." and it
establishes the connection fine. The next screen is the Connection Status
which gives you the option to "Sync Now" or "Disconnect", those both work as
well, then there is the "Disconnect when complete" check box which, when
checked, works if you actually click on "Sync Now". From what I can tell is
that a sync happens when this window initially opens, then you can eiter
disconnect or sync again. I need it to disconnect after that initial sync.
Why does it force me to perform another sync before automatically
disconnecting? I can't have any user intervention with this process.
Anyone know why it doesn't disconnect after that first sync? Thanks. Tag: How can I use com2 and com3 on s3c2410 Tag: 68831
Automatic Sleep
Hello anyone.
How to configure wince 5.0 to go sleeping due to user
inactivity? It seems that it is not enough to set timeout
in registry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
"ACSuspend"=dword:1E
and to add "Power Manager (Full)" or "Power Manager (Minimal)".
Of course I have OEMPowerOff implemented and working in my platform.
Thanks. Tag: How can I use com2 and com3 on s3c2410 Tag: 68824
Can note re-install QFE's after re-installing Platform Builder
I had installed the platform builder and installed the 2004 roll-up QFE's.
I removed platform builder and re-installed it.
Now when I try to apply the QFE's I get the error:
"There is a problem with this Windows Installer package. A script required
for this install to complete could not run. Contact your support personnel
or package vendor"
What registry settings did not get cleaned-up in the un-install of platform
builder.
I have tried a second un-install where I removed
\HKCU\Software\Microsoft\Platform Builder\*
\HKLM\Software\Microsoft\Windows CE Tools\*
I re-installed platform builder and still get the message above when I try
to install the QFE.
--
Thanks
Larry Tag: How can I use com2 and com3 on s3c2410 Tag: 68822
Change CPU frequency from WinCE (not bootloader)
Hi all,
In my bootloader CPU frequency is configured to 200MHz and it is no way to
upgrade.
Is it possible to change the frequency to 400MHz later, from the OS?
WinCE 4.2, Platform based on Intel PXA 250
Startup banner:
*******Beginning System Initialization*******
SDCLK[1] = MemClk
MemClk = 99.53 MHz
Run Mode = 2 * MemClk
Turbo Mode = Run Mode
Mode: RUN
--
Thanks,
Andriy Hyba Tag: How can I use com2 and com3 on s3c2410 Tag: 68814
DEBUGMSG and FFUART enabled at the same time
Hallo!
I have two fully operational serial ports (FFUART and STUART) on my
XSCALE-device. I can use both at the same time from my application.
Now I would like to have one of my ports supporting the DEBUGMSG command.
The only way I have managed to do this is by setting BSP_NOSERIAL=1 (no
serial port) and BSP_DBGSER_UART1=1.This unfortunately disables all serial
ports except the DEBUG-port. Debugg messages is displayed on my STUART.
Why am I not able to enable one port for DEBUGMSG and FFUART for my
application at the same time?
Any idrea is welcome since I feel I have tried all possibilities!
/trond Tag: How can I use com2 and com3 on s3c2410 Tag: 68813
setevent problem
we have got 3 instances.
one driver and two applications.
ok
setevent() is in the driver only.
now there r two cases which have to be looked for ......
1. if am passing the address of setevent() and waiting for that event
(waitforsingleobject)
in one single application or the same application. it is working fine . no
problem.....
the trouble comes in the 2nd case......
2. passing the address of event and waiting for that event
(waitforsinglrobject)
in different thread and then seeting this event in driver in ISR. event is
not trigerred .....
in the first point the event setting is happening in normal driver function
not in ISR
what can be the problem. .....??????
hope to get a reply soon...
thnaks in advance Tag: How can I use com2 and com3 on s3c2410 Tag: 68808
not able to generate event from the driver
i have a CAN driver and trying to generate an event from the driver
but my setevent( ) is not setting any event . what can be the problem? Tag: How can I use com2 and com3 on s3c2410 Tag: 68806
where is eboot's ethernet download buffer?
hello,
this is ce 5.0, mainstoneii's eboot.bib
i was placing my big data buffer in 80060000, which is GAP, reserved for
future.
and I found out that someone is using this space during image download. and
it happen in the exact same time(well % of the download it is) if I move my
data futher, then the download can go futher.
seems it is the eboot downloading buffer.
now I move my data to 83F00000 and everything works fine. but it is not a
GOOD way to avoid problem, right? so can anyone tell me how to config the
eboot download buffer?
; 8000.0000 -+
; | Bootloader Stack (64KB)
; 8001.0000 -+
; | Bootloader RAM (64KB)
; 8002.0000 -+
; | Bootloader Code (256KB)
; 8006.0000 -+
; | GAP (reserved for future)
; 800F.F000 -+
; | ARGS (4KB)
; 8010.0000 -+
; |
; | OS (NK) Code (48MB)
; |
; 8310.0000 -+ **auto-size**
; |
; | OS (NK) RAM (15MB)
; |
; 8400.0000 -+
;
;******************************************************************************
MEMORY
; Name Start Size Type
; ------- -------- -------- ----
STACK 80000000 00010000 RESERVED
RAM 80010000 00010000 RAM
EBOOT 80020000 00040000 RAMIMAGE
RSVD 80060000 0009F000 RESERVED
ARGS 80FF0000 00001000 RESERVED
CONFIG
AUTOSIZE=OFF
COMPRESSION=OFF
PROFILE=OFF
KERNELFIXUPS=ON
ROMSTART=80020000
ROMWIDTH=32
ROMSIZE=00040000
; 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=3C9E0000
MODULES
; Name Path Memory
Type
; ------ ---------------------------------------------- -----------
nk.exe $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\eboot.exe
EBOOT Tag: How can I use com2 and com3 on s3c2410 Tag: 68803
interrupt mode in eboot?
did anybody enabled interrupt in eboot? I am using xscale 27x and pb 5.0 Tag: How can I use com2 and com3 on s3c2410 Tag: 68794
Localized versions of Windows Embedded DevWire newsletter
Hello Windows Embedded enthusiasts:
Just a short note to let you know that we've recently instituted localized
versions of our Microsoft Windows Embedded DevWire newsletter. If you're
not familiar with the DevWire, it's our monthly technical communiqué to
professional and non-professional developers and business decision-makers
with an interest in Windows Embedded. Aside from our worldwide English
edition, the DevWire is now available in Korean, Japanese, Traditional
Chinese, Simplified Chinese, and a second English version dedicated to our
Indian audience.
I invite you to subscribe to the DevWire or update your subscription to a
localized version of your choice by visiting our subscription management
page:
http://msdn.microsoft.com/embedded/community/community/devwire/default.aspx
Regards,
--
Nick White
Product Manager & Developer Community Lead
Mobile and Embedded Devices Division
Microsoft Corporation
http://msdn.microsoft.com/mobility/community/
http://msdn.microsoft.com/embedded/community/
Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
This posting is provided "AS IS" with no warranties, and confers no rights. Tag: How can I use com2 and com3 on s3c2410 Tag: 68793
Recommendations for a PAx277 CE5 Board?
not Got a customer who requires SD RAM (SDIO is necessarily required)
We are looking at using an XScale board with CE 5.
We need to interface it to an I(squared) channel for external hw.
We want a small footprint for the board.
Cost is of course a consideration.
Any suggestions?
Thanks
--
David Jones
Senior Lecturer
School of Electrical & Computer Engineering
RMIT University
+61 3 99255318 Tag: How can I use com2 and com3 on s3c2410 Tag: 68791
CE debugging very slow with HyperThread host
I have a host pc that I am using for my PB development. (5.0)
I find that if I enable HT in the BIOS, my debug process is very slow. If I
disable HT in the BIOS, it seems to be normal speed.
Is this expected? I would prefer to leave the HT on as it helps to enhance
my overall development experiece.
Thanks,
Chuck Tag: How can I use com2 and com3 on s3c2410 Tag: 68785
command line build
Can someone tell me how to build the dcom samples in the CCM folder for CE5
I can not find any info on how to build samples from the command line
Thanks
Ken Tag: How can I use com2 and com3 on s3c2410 Tag: 68780
USB & KITL
Hi,
I am successfully downloading images using eboot via ethernet with PB 5.0
connectivity options to download=ethernet transport=ethernet.
However, I want to configure PB to use USB for KITL once the image is
downloaded. So I configured PB 5.0 connectivity options to download=ethernet
transport=USB. But then when "connect to device" is hit, I get errors
"Failed to connect debug message service! Please check the transport
settings.".
I would have thought that PB would still wait for bootme and download the
image and only attempt KITL (via USB) once the image has downloaded? Or am
I missing what is happen here.
Thanks, Stewart Tag: How can I use com2 and com3 on s3c2410 Tag: 68772
Problem with Flash Media Driver
Hai All,
I am working on a ARM based device with WinCE5.0
My board contains 32 MB onboard strata flash and 64MB SDRAM.
My problem is a strange one, I hope so.
I build Strata Flash Drivar sample available in PB.
I am Succefully loaded my FMDriver and able to create a partition and
format,read and write into it.
This all happens, When I write the image into SDRAM.
If I check the "write image to Flash" from PB build options
I could able to load the driver, but Neither I can create partition nor
format the flash.
I can see the Flash media Object in storage manager application tool.
If I try to format it, The device hangs. No further response.
can anybody help in this regard?
thanks in advance
with regards
Vijji Tag: How can I use com2 and com3 on s3c2410 Tag: 68770
MAPI in WINCE 4.2 or later?
Is MAPI in WINCE 4.2 or later? If not what do I use instead to send email
from an app. MsgStore is there with an app interface but I believe that
became obsolete long ago. Tag: How can I use com2 and com3 on s3c2410 Tag: 68767
problem with CEPC
Iam trying to download VOIP image into CEPC via ethernet connection.
When iam trying to dial,iam getting the dial tone but IAam unable to make
the call.
It is giving the following message:
"MEDIA SESSION DOES NOT EXIST"
which is creating this problem??? Tag: How can I use com2 and com3 on s3c2410 Tag: 68766
Can't get to WWW
Hello
I used dial-up to connect the GPRS service.
The GPRS module is a virtual COM port via USB.
It connected to OTG device.
It can get to connected state.But it can't link to WWW or MSN.
If I switch module to the other USB host.(Not via OTG)
It can dial-up and link to WWW.
Did someone know about this problem?
Thanks for help. Tag: How can I use com2 and com3 on s3c2410 Tag: 68764
Migrating WINCE 4.20 to WINCE 5.00 on OMAP1510 platorm
Hi All
I am o trying to migrate BSP for Windows CE 4.20 to Windows CE 5.0 on
Innovator OMAP1510 HW platform. I am also facing the same problem as the the
one Vadivel described in the discussion forum in his post
With WINCE4.2 image is coming perfectly with the BSP,same BSP I used after
incorporating changes as per microsoft help
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcehardware5/html/wce50conbspanddrivermigration.asp
I have followed the steps for migrating BSP from 4.2 to 5.0,but I built the
image using Macallan and try to down load the image into OMAP1510 hardware I.
found after putting couple debug statements ("<Drive
name>:\WINCE500\Private\WINCEOS\COREOS\NK\KERNEL\schedule.c" and Drive
name>:\WINCE500\Private\WINCEOS\COREOS\NK\KERNEL\kwin32.c")
it is not able to execute fitst thread It means not going to
SystemStartupFunc() Pls see the debug list 1
I tested timer ISR which is responsible for system tick by putting debug
statements in OEMInterruptHandler(in Intc of BSP) and
SysTimerInterruptHandler( Ter.cp of BSP) functions and it is working fine . I
am attaching the debug output from serial output below. pls see the DEBUGLIST
II
DEBUGLIST I
Ethernet Boot-Loader for the
Texas Instruments OMAP EVM.
Build date: Nov 14 2002 at 12:23:53
Copyright (c) 2000 - 2002, Texas Instruments, Inc.
Portions copyright (c) 1995-2000 Microsoft Corporation.
EBOOT: Moving exception handlers from 0x84014DFC to 0x8802D000.
EBOOT: Calling OEMInit.
EBOOT: Initializing LAN9000 hardware.
+SMCInit
SMC card not detected, I/O base 0xA2000300, BSR: 0x0000FFFF
EBOOT: Could not find LAN9000 hardware.
EBOOT: Jumping directly to 0x40000
EBOOT: Jumping to image at 0x40000...
EBOOT: Leaving main().
OEMInitDebugSerial: KITL initialization failed.
Windows CE Kernel for ARM (Thumb Enabled) Built on May 16 2005 at 16:56:07
ProcessorType=0925 Revision=2
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80041038
RelocInit: Relocating 580 bytes of SDRAM functions.
RelocInit: Relocating 184 bytes of ISRAM functions.
g_pSetEMIFFastRegs=0xa802f004.
OEMInit is done!!! by Vadivel
Booting Windows CE version 5.00 for (ARM)
Booting kernel with existing memory configuration:
Memory Sections:
[0] : start: 84070000, extension: 00002000, length: 01d8e000
Sp=ffffc7cc
ARMInit done.
SchdInit....Starts.....(!@#$%^&*)...
Scheduler: Start openexecutable 'nk.exe'
ldr:OpenExe: nk.exe
OpenExecutable: Filesys not loaded, Opening from ROM
OpenFileFromROM:found
ldr: OpenExecutable is done
Updated eptr->e32_vsize to = 00048000
Scheduler: openexecutable 'nk.exe' sucess
Scheduler: dovirtualAlloc is done
Sched: pStak:c2010000, pCurProc->e32.e32_stackmax :00010000
MDCT: MDCreateThread starts..
MDCT: MDCreateThread end..
DEBUGLIST II
Ethernet Boot-Loader for the
Texas Instruments OMAP EVM.
Build date: Nov 14 2002 at 12:23:53
Copyright (c) 2000 - 2002, Texas Instruments, Inc.
Portions copyright (c) 1995-2000 Microsoft Corporation.
EBOOT: Moving exception handlers from 0x84014DFC to 0x8802D000.
EBOOT: Calling OEMInit.
EBOOT: Initializing LAN9000 hardware.
+SMCInit
SMC card not detected, I/O base 0xA2000300, BSR: 0x0000FFFF
EBOOT: Could not find LAN9000 hardware.
EBOOT: Jumping directly to 0x40000
EBOOT: Jumping to image at 0x40000...
EBOOT: Leaving main().
Windows CE Kernel for ARM (Thumb Enabled) Built on May 6 2005 at 15:26:11
ProcessorType=0925 Revision=2
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80041038
RelocInit: Relocating 580 bytes of SDRAM functions.
RelocInit: Relocating 184 bytes of ISRAM functions.
g_pSetEMIFFastRegs=0xa802f004.
OEMInit is done!!! by Vadivel
Booting Windows CE version 5.00 for (ARM)
Booting kernel with existing memory configuration:
Memory Sections:
[0] : start: 84070000, extension: 00002000, length: 01d8e000
Sp=ffffc7cc
ARMInit done.
Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
Timer: !fIntrTime
Timer: SysTimerInterruptHandler done..
Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
Timer: !fIntrTime
Timer: SysTimerInterruptHandler done..
Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
Timer: !fIntrTime
Timer: SysTimerInterruptHandler done..
Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
Timer: !fIntrTime Tag: How can I use com2 and com3 on s3c2410 Tag: 68763
WinCE buid process
Hi all,
The Cebuild.bat will perform build and sysgen for all the trees specified by
the _DEPTREES environment variable . The sysgen is performed twice , known as
'preproc sysgen' and 'postproc sysgen' for each tree . I couldn't understand
what happens in these two stages . Can anybody help me out in this .
Thanks and Regards,
Vidya Udupa. Tag: How can I use com2 and com3 on s3c2410 Tag: 68758
CEPC stuck at DHCP
Hi all,
I tried to create a CEPC platform based on an old Pentium 3 PC with a 3Com
3c90x Ethernet interface. I had used the CEPCBOOT.144 utility to create the
boot diskette. The PC was booted up with the default
config.sys/autoexec.bat options. The ethernet interface was correctly
identified by loadcepc as a 3Com 3c90x ethernet interface but eboot.bin
failed in trying to obtain an IP address via DHCP with the message:
ProcessDHCP()::DHCP_INIT
I sniffed the ethernet interface to verify that the CEPC was not sending out
any packets at all.
I had also tried to assign a static IP address to see if the CEPC would
contact my development machine with BOOTME requests. Again, I did not
detect any packets coming from the CEPC.
Does anyone know what could be the problem? Tag: How can I use com2 and com3 on s3c2410 Tag: 68755
routing audio in bluetooth
what things i've to do in " windows-CE platform builder" to build a
operating system
that will be able to route audio on ECM_5616 board ?
if you cann't answer specificaly about this board(ecm),please sugest about
the general way to write a application which can do audio routing for
bluetooth in windows ce Tag: How can I use com2 and com3 on s3c2410 Tag: 68754
audio routing in bluetooth
what things i've to do in " windows-CE platform builder" to build a
operating system
that will be able to route audio on ECM_5616 board ?
if you cann't answer specificaly about this board(ecm),please sugest about
the general way to write a application which can do audio routing for
bluetooth in windows ce Tag: How can I use com2 and com3 on s3c2410 Tag: 68753
Audio problem in VOIP application
we have INTEL ECM 5616 board and we included Intel 81XAC97 audio driver.
We downloaded the VOIP application to the board via serial port.
We are able to make the call from emulator to Board but audio in ECM
receiver is playing fast and the board is not at all transmitting the audio.
Thank u... Tag: How can I use com2 and com3 on s3c2410 Tag: 68750
Driver Load Sequence
Hi, I need to dynamically load and un-load drivers from Platform Builder to
deal with a problem that i have explained below.
Can someone tell me how to do any of these two things:
1- Tell WinCE to load my ftdi_ser.dll (a third party dll for ftdiâ??s serial
over USB chip) after loading every other dll at boot time. (note platform.reg
"order" doenst work in this case).
2- Un-load and re-load the ftdi_ser.dll after completion of the boot up
either from the Platform Builder environment or programmatically.
The problem is that the ftdi-ser.dll driver behaves differently if WinCE is
started with the external ftdi device attached to the USB port:
Normal operation: If I boot up WinCE and then plug in a serial over usb
device into the WinCE deviceâ??s USB port, the external device is detected by
the OHCI.dll and its driver FTDI_SER.DLL gets loaded after Wince loads the
OHCI.dll and it then operates normally i.e. I can plug the device in and then
un-plug the device and re-plug and re-establish serial comms over the USB all
normally.
Abnormal operation:
If I boot up WinCE with the external USB device attached to the USB port
already, the FTDI_SER.DLL still gets loaded but USB doesnâ??t function also the
FTDI+_SER.DLL does not get un-loaded when I detach the external device from
the USB port.
There are also other symptoms, in the registry viewer i can see under
/Drivers/Builtin/Active that the FTDI_SER.DLL doesnâ??t get un-loaded and
re-enumerated as it is the case under Normal Operation.
As a solution, I must tell WinCE to load FTDI_SER.DLL after loading all
other dlls.
Or as a workaround I could get WinCE to un-load the FTDI_SER.dll after
loading all the dlls and then re-load it again.
Thanks and regards,
EZ Tag: How can I use com2 and com3 on s3c2410 Tag: 68745
NDISWAN IM Driver
Hi, I'm trying to debug an NDIS IM driver that binds to the AsyncMac
miniport. (I know, I know, MS doesn't support this, etc.) When I compile the
driver in eVC, it links just fine. When I compile it under Platform Builder
4.2, I get a link error - it can't link with the export function
WanMiniportSend that is defined in ndis.h. Can anyone tell me what I have to
do in Platform Builder to link to this function? Tag: How can I use com2 and com3 on s3c2410 Tag: 68735
How to convert absolute mouse coordinates to normal positions relative a window?
Hi, I´m trying to prevent some mouse messages to be forwarded to some
applications, but the mouse driver gives me the absolute mouse coordinates.
How could I convert them to screen coordinates?
Thanks for helping me out, Dani Tag: How can I use com2 and com3 on s3c2410 Tag: 68729
CE 5.0 Defrag tool
Whenever I run the CE 5.0 Defrag tool on an IDE drive (256 MB CF), it never
completes and must be aborted by closing the Defrag window. When I
subsequently run scandisk on the drive, it finds numerous Invalid files and
Lost cluster chains. Is there a bug in the defrag tool (one has been
reported for scandisk)? Is the drive too big or incompatible?
I would appreciate hearing from others who use these tools.
Thanks Tag: How can I use com2 and com3 on s3c2410 Tag: 68708