Bus Trace utility for SD HOST of PDA
Hi,
I want to debug our SD client drivers with the SD Host of PDA.
For the Platform builder lke tools, we can simply enable the debug
messages from 'CEDebugZones'.
But for the mobile environment, I do not know, how to enable that
debug messages.
From my knowledge, the drivers in PDA is on retail version.
Is there any tool/utility to capture the communication between PDA SD
host and SD devices in terms of command and response?
Please let me know.
Best Regards, Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113204
how to use Disk Cache Manager Functions ?
hi
i want to write an apps that can be write and read very fast in mSD or
NAND Flash device.
When I use the ReadFile/WriteFile api in WINCE6.0, i found the speed
is very slow, even slower than CopyFileEx() API, does anyone know how
the api copy file so fast?
and I found a Disk Cache Manager Functions, but i don't know how to
use it at all, can't find any sample.
need your help.
Thanks,
Jay Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113198
Wince address space allocation
Dear all,
I am working on a ARM9 platform that has WINCE 5 ported onit. I want
to use some cached memory space in user application. The normal malloc
is allocating the address at 0x004ea14c, but when i saw the virtual
address space mapping in OEMAddressTable, it shows that cached memory
space lies between 0x80000000-0x9FFFFFFF. Hence I am trying to use
virtual alloc to allocate some memory from that address space, I am
not able to allocate at that location. When I verify the address
returned by virtualalloc, it remains the same as returned by normal
malloc.
I am not able to understand the difference in here between
1) malloc and virtual alloc, and also
2) cached memory space reserved in kernel space and userspace
memorymap where does it points to.
Or am I missing some thing in here. I am using the virtual alloc as
follows.
unsigned int* tempPtr;
tempPtr = (unsigned int*)VirtualAlloc((LPVOID) 0x80000000, 2468,
MEM_RESERVE, PAGE_READWRITE);
I also tried with other (MEM_RESERVE || MEM_TOP_DOWN).
Can any one please letme know if something is wrong in my approach.
Regards
Deepu Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113197
USB : Where's my Control Pipe ?
Hi,
I wrote an USB driver based on the PRN sample.
2 interfaces are reported.
I got 2 Pipes from the 2nd interface with 2 endpoints (Bulk-in & bulk-out).
Another interface was reported having 1 endpoint, but I was told this is the
interrupt-pipe.
I now need to set DTR, by using a control command.
I tried using lpIssueControlTransfer() on my BULK-OUT pipe, but that doesn't
work.
Where/How should I get my CONTROL-PIPE ?
From what I understand, this is some kind of default. ("endpoint 0")
Where do I find this endpoint 0 ? , (not beeing one of my bulk pipe's)
when found should I just create another PIPE from it myself ?
Greetings,
Rob. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113189
Sleep and Resume Test application
Hello.
I am trying to make a simple test application that makes a WM device sleep
and resume continuously.
I made a routine for sleep with the API, SetSystemPowerState, but I can't
find the API for wakeup in several hunders seconds after sleep.
Plz, give me a even little tip of how to make it.
Thanks!
--
Engineer
(Developing Windows Mobile PDAs)
Message posted via http://www.pocketpcjunkies.com Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113183
In which type of registry is a value stored?
I am using the hive-based registry. As you know this type of registry is made
up two registrys (ROM portion and a file based portion) which are linked
together.
At the moment I am working on an Registry Editor. I would like to know if
there is a API call to get the location in wich the registry value is stored
(ROM portion or the file based portion of the hive-based registry).
Any API call available?
Regards Peter Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113182
Driver load order
Hello,
I need to write a small helper driver. It will provide a kind of mailbox for
some data, that should be written from any other device driver, file system
driver or application. Since other drivers are loaded quite early I want to
load the helper driver as early as possible. The interface to the driver
could be i.e. a stream driver or any other interface.
The helper driver will only use the coredll.
AFAIK file system drivers are loaded before stream drivers. Is this
generally true? How can I determine the load order and how can I configure
the system to load my helper driver as early as possible?
Regards,
Helge
--
Time is an ocean but it ends at the shore. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113181
Use of CryptoMemory
Hi All
I am trying to use CryptoMemory from Atmel with S3C2440A and Wince 5.0. But
the I2C bus does not seem to be working. I think the reason is RD/WR bit in
command byte. The question is "How can I control RD/WR bit in S3C2440A?"
Thanks in advance for any help.
Thanks
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200806/1 Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113177
FTP server on WinCe 5
hello,
is available an FTP server for windows ce that support XMD5 command ?
thanks
stefano Magni Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113175
The behavior of CD/DVD ROM in WinCE600
I modified an ATA driver to an ATAPI driver as below:
The old ATA driver only support one IDE hard disk on the board.
1) Add AtapiIoctl() to process CD/DVD IOCTL which is similar to
\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\BLOCK\ATAPI\atapipcicd.cpp;
2) Modified "HDProfile"="HDProfile" to "CDProfile"="CDProfile" under
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ATA] in platform.reg;
3) Add Core OS->CEBASE->File systems and Data Store->Storage Manager-
>CD/UDFS File System.
Now only connect one IDE CD/DVD ROM on the board (no hard disk),
the ATAPI driver can detect and read data from IDE CD/DVD ROM.
The "CDROM Drive" folder is shown in the WinCE explorer.
But there are no "Eject" option in the "File" menu of explorer,
after press button on CD/DVD ROM to eject the CD, the "CDROM Drive"
folder disappeared.
Also when put an Audio CD(i.e. cda file), the media player can not
play the whole CD like an Audio CD, it need click on each cda file to
play just like a data CD.
So the behavior of CD/DVD ROM in WinCE600 looks like a removable disk,
not like the CD/DVD ROM in the PC? Is it right or is there any mistake
in my modification?
The CD/DVD ROM is SAMSUNG DVD-ROM DRIVE SH-D162D(TS-H352D).
Thanks for any guidance. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113173
128M sdram issues
hi,everyone
I am upgrading my sdram configuration for 128M,
Frist of all,I show my platform,
CPU : Xscale pxa255
OS : Windows CE .Net 4.2
Flash : 32MB
SDRAM : 128MB (32MBX4)
since I have heard that it only spend 2 hours on this issue,
why it cost me more than one week to solve the problem...
Okay,let's see the process.
I modified some files related,
config.bib,memdefs.h,memmap.inc,xsc1.h,xsc1.inc,xsc1bd.h,xsc1bd.inc,
fwxsc1.s,platform.reg.(if i missed some file,pls tell me)
At first,i always modified all of files related,
then the kernel hung...I can not find where is the problem,
so,I modified some files step by step,
I just changed OEMAddressTable in memmap.inc,
DCD 0x80000000, 0xA0000000, 64
to
DCD 0x80000000, 0xA0000000, 128
and I also modified xsc1bd.inc,
MDCNFG_VAL EQU 0x19C119C1; SDRAM Config Reg (CL=2)
to
MDCNFG_VAL EQU 0x19C319C3; SDRAM Config Reg (CL=2)
then,sdram register MDCNFG enable the bank1 which is also 64MB.
After two changes above,I download the kernel,it still works.
Then,I just modified config.bib
MEMORY
IF IMGFLASH !
NK 800B8000 02000000 RAMIMAGE ; SDRAM 32MB: [800B 8000 ->
820B
7FFF]
RAM 820B8000 01C00000 RAM ; SDRAM 28MB: [820B 8000 ->
83CB
7FFF]
EDBG 83F8D000 00020000 RESERVED ; x20000 for EBOOT - 3 Client
memory pools of 24K (128K)
ENDIF
AUD_DMA 83CB8000 0000A000 RESERVED
SLEEP_SAV 83CC2000 00001000 RESERVED
DRV_GLB 83CC3000 00001000 RESERVED
CACHE_FLG 83CC4000 0003C000 RESERVED ; for use by cache routines:
83CC_4000->83CC_4003 used for flagging. 83CC_4004->83CC_4803 rsvd for
miniD
DISPLAY 83D00000 00130000 RESERVED ; 1MB aligned
BLOCK_BUF 83E30000 00080000 RESERVED
UNUSED_BUF 83EB0000 000DD000 RESERVED
whql_sig 00000001 00002000 EXTENSION ; WHQL signature extension
(6KB).
ZBANK 86000000 00100000 RESERVED
to
IF IMGFLASH !
NK 800B8000 02000000 RAMIMAGE ; SDRAM 32MB
RAM 820B8000 05C00000 RAM ; SDRAM 28MB+64MB
EDBG 87F8D000 00020000 RESERVED ; x20000 for EBOOT - 3 Client
memory pools of 24K (128K)
ENDIF
AUD_DMA 87CB8000 0000A000 RESERVED
SLEEP_SAV 87CC2000 00001000 RESERVED
DRV_GLB 87CC3000 00001000 RESERVED
CACHE_FLG 87CC4000 0003C000 RESERVED ; for use by cache routines:
83CC_4000->83CC_4003 used for flagging. 83CC_4004->83CC_4803 rsvd for
miniD
DISPLAY 87D00000 00130000 RESERVED ; 1MB aligned
BLOCK_BUF 87E30000 00080000 RESERVED
UNUSED_BUF 87EB0000 000DD000 RESERVED
whql_sig 00000001 00002000 EXTENSION ; WHQL signature extension
(6KB).
ZBANK 8A000000 00100000 RESERVED
and also changed the other related addresses
in memdefs.h,xsc1.h,xsc1.inc,xsc1bd.h,xsc1bd.inc.
for instance:
i modified
#define MEM_BASE_PHYSICAL 0xA3CB8000
#define MEM_BASE_C_VIRTUAL 0x83CB8000
#define EDBG_PHYSICAL_MEMORY_START 0x83F8D000 // Ethernet
Debugger
Pool Address
to
#define MEM_BASE_PHYSICAL 0xA7CB8000
#define MEM_BASE_C_VIRTUAL 0x87CB8000
#define EDBG_PHYSICAL_MEMORY_START 0x87F8D000 // Ethernet
Debugger
Pool Address
It seems that all the PHYSICAL address should not be modified,
I try it before,but also do not work out..
so at last,I made the above change.
And during these days,I also tried to debug images,
but it just hung as the release image..
anyway,my system hung here:
****** Downloading operating system image for SDRAM target ******
TFTP: Desktop losing ACK, block number = 54250, Ack again
rom_offset=0x0.
Found pTOC signature.
ROMHDR at Address 800B8044h
RomHdr.ulRAMStart=81C50000h RomHdr.physfirst=800B8000h.
Done.
Writing 0x80076BD8 to flash address 0xBC340000 (length=0xA40).
Sector=0x200 (Length=0x6) Block=0x1 (Length=0x1).
Handling non-block aligned data...
FlashErase: Unlocking flash block(s) [0x1, 0x1] (please wait): Done.
Erasing flash block(s) [0x1, 0x1] (please wait): .Done.
Writing to flash (please wait): Done.
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
Download successful! Jumping to image at physical 0xA00B9000...
Begin
******************************************************
******************************************************
******************************************************
******************************************************
******************************************************
OEMInitDebugSerial using UART2
Windows CE Kernel for ARM Built on Mar 13 2003 at 22:54:19
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
800b9ef8
Sp=ffffc7cc
///////////////////////////////////////
and the debug kernel output here:
normal 64M:
Download successful! Jumping to image at physical 0xA00B9000...
Begin
******************************************************
******************************************************
******************************************************
******************************************************
******************************************************
OEMInitDebugSerial using UART2
Windows CE Kernel for ARM Built on Mar 13 2003 at 22:43:27
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
800b9ef4
+OEMKitlInit
(D) Before OEMEthInit
(D)(OEMEthInit)
Checking CS8900A Devices..
CS8900A Ethernet Controller Already Initilaized: OK
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
Tx buffer [0xA2D302E0] to [0xA2D342E0].
[0xA2D2C2C0] to [0xA2D302C0].
ridge:: NK add MAC: [0-B-29-FF-55-66]
p Driver_Globals (ether stuff only) at : 0xA3CC3000
pDriverGlobals->eth.EbootMagicNum= 0x45424F54
pDriverGlobals->eth.etherEnabled= 0x0
pDriverGlobals->eth.etherFlags= 0x0
pDriverGlobals->eth.TargetAddr.dwIP= 0x508412AC
pDriverGlobals->eth.TargetAddr.wMAC= 0xA3CC3910
pDriverGlobals->eth.TargetAddr.wPort= 0xD403
pDriverGlobals->eth.DownloadHostAddr.dwIP= 0x5B8412AC
pDriverGlobals->eth.DownloadHostAddr.wMAC= 0xA3CC3920
pDriverGlobals->eth.DownloadHostAddr.wPort= 0x1E04
pDriverGlobals->eth.DbgHostAddr.dwIP= 0x0
pDriverGlobals->eth.DbgHostAddr.wMAC= 0xA3CC392C
pDriverGlobals->eth.DbgHostAddr.wPort= 0x0
pDriverGlobals->eth.KdbgHostAddr.dwIP= 0x0
pDriverGlobals->eth.KdbgHostAddr.wMAC= 0xA3CC3938
pDriverGlobals->eth.KdbgHostAddr.wPort= 0x0
pDriverGlobals->eth.PpshHostAddr.dwIP= 0x0
pDriverGlobals->eth.PpshHostAddr.wMAC= 0xA3CC3944
pDriverGlobals->eth.PpshHostAddr.wPort= 0x0
pDriverGlobals->eth.SubnetMask= 0xC0FFFFFF
pDriverGlobals->eth.DHCPLeaseTime= 0x0
pDriverGlobals->eth.EdbgFlags= 0x1
OEMether IP Addr: 172.18.132.80
OEMether IP netmask: 255.255.255.192
(D)(OEMEthInit) SysIntrVal = EDBG_SYSINTR_NOINTR
(D) After OEMEthInit
Device XSBase25521862, IP 172.18.132.80, Port 981
(D) Before KitlEtherInit
Calling EdbgInitDHCP
(D) After KitlEtherInit
-OEMKitlInit
Host connected
Host IP: 172.18.132.91, port 1050
KeyIndex 0 = -1
KeyIndex 1 = -1
KeyIndex 2 = -1
KeyIndex 3 = -1
KeyIndex 4 = -1
KeyIndex 5 = -1
KeyIndex 6 = -1
KeyIndex 7 = -1
+KITLRegisterDfltClient, service:0
+KITLRegisterDfltClient, service:1
KITLGlobalState == 0x61
KITL Initialized
Waiting for service 'DBGMSG' to connect..., fUseSysCalls = 0
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service PPSH
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service PPSH
ProcessAdminMsg: Receive Config message for service DBGMSG
ARMInit done.
+KITLRegisterDfltClient, service:2
ProcessAdminMsg: Receive Config message for service KDBG
ProcessAdminMsg: Receive Config message for service KDBG
KITL: Leaving polling mode...
KITL Checking client registrations
+RegisterClientPart2: Id 0x00000000
KITL Timer thread started, (hTh: 0x03CB4FDE, pTh: 0x83C80000)
-RegisterClientPart2
+RegisterClientPart2: Id 0x00000001
-RegisterClientPart2
VBridge:: VB_INITIALIZED returns [1]
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
buffer [0xA2D302E0] to [0xA2D342E0].
buffer [0xA2D2C2C0] to [0xA2D302C0].
0x83a645a8: TAPI:OldAddTapiDevice - This BSP is loading TSPs by old
method!!! Change registry settings to use new way!!!
OEMEthCurrentPacketFilter set to [0xB]
VBridge:: Current VMini packet filter = [0xB]
CS8900: Set receive packet filter [Filter=0xB, RxCTL=0xF05].
OEMEthMulticastList():: No of Entries [1]
[0] : 1 - 0 - 5E - 0 - 0 - 1
OEMEthMulticastList returning [1]
CS8900: Multicast[1 of 1] = 1-0-5E-0-0-1
CS8900: Logical Address Filter = 40.0.0.0.
////////////////////////////////////////
128M hung:
Download successful! Jumping to image at physical 0xA00B9000...
Begin
******************************************************
******************************************************
******************************************************
******************************************************
******************************************************
OEMInitDebugSerial using UART2
Windows CE Kernel for ARM Built on Mar 13 2003 at 22:43:27
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
800b9ef8
+OEMKitlInit
(D) Before OEMEthInit
(D)(OEMEthInit)
Checking CS8900A Devices..
CS8900A Ethernet Controller Already Initilaized: OK
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
buffer [0xA2D302E0] to [0xA2D342E0].
buffer [0xA2D2C2C0] to [0xA2D302C0].
NK add MAC: [0-B-29-FF-55-66]
Dump Driver_Globals (ether stuff only) at : 0xA7CC3000
pDriverGlobals->eth.EbootMagicNum= 0x45424F54
pDriverGlobals->eth.etherEnabled= 0x0
pDriverGlobals->eth.etherFlags= 0x0
pDriverGlobals->eth.TargetAddr.dwIP= 0x508412AC
pDriverGlobals->eth.TargetAddr.wMAC= 0xA7CC3910
pDriverGlobals->eth.TargetAddr.wPort= 0xD403
pDriverGlobals->eth.DownloadHostAddr.dwIP= 0x5B8412AC
pDriverGlobals->eth.DownloadHostAddr.wMAC= 0xA7CC3920
pDriverGlobals->eth.DownloadHostAddr.wPort= 0x6804
pDriverGlobals->eth.DbgHostAddr.dwIP= 0x0
pDriverGlobals->eth.DbgHostAddr.wMAC= 0xA7CC392C
pDriverGlobals->eth.DbgHostAddr.wPort= 0x0
pDriverGlobals->eth.KdbgHostAddr.dwIP= 0x0
pDriverGlobals->eth.KdbgHostAddr.wMAC= 0xA7CC3938
pDriverGlobals->eth.KdbgHostAddr.wPort= 0x0
pDriverGlobals->eth.PpshHostAddr.dwIP= 0x0
pDriverGlobals->eth.PpshHostAddr.wMAC= 0xA7CC3944
pDriverGlobals->eth.PpshHostAddr.wPort= 0x0
pDriverGlobals->eth.SubnetMask= 0xC0FFFFFF
pDriverGlobals->eth.DHCPLeaseTime= 0x0
pDriverGlobals->eth.EdbgFlags= 0x1
OEMether IP Addr: 172.18.132.80
OEMether IP netmask: 255.255.255.192
(D)(OEMEthInit) SysIntrVal = EDBG_SYSINTR_NOINTR
(D) After OEMEthInit
Device XSBase25521862, IP 172.18.132.80, Port 981
(D) Before KitlEtherInit
Calling EdbgInitDHCP
(D) After KitlEtherInit
-OEMKitlInit
Host connected
Host IP: 172.18.132.91, port 1124
KeyIndex 0 = -1
KeyIndex 1 = -1
KeyIndex 2 = -1
KeyIndex 3 = -1
KeyIndex 4 = -1
KeyIndex 5 = -4194305
KeyIndex 6 = -4194305
KeyIndex 7 = -1
+KITLRegisterDfltClient, service:0
+KITLRegisterDfltClient, service:1
KITLGlobalState == 0x61
KITL Initialized
Waiting for service 'DBGMSG' to connect..., fUseSysCalls = 0
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service PPSH
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service PPSH
ProcessAdminMsg: Receive Config message for service DBGMSG
ARMInit done.
+KITLRegisterDfltClient, service:2
ProcessAdminMsg: Receive Config message for service KDBG
ProcessAdminMsg: Receive Config message for service KDBG
KITL: Leaving polling mode...
KITL Checking client registrations
+RegisterClientPart2: Id 0x00000000
KITL Timer thread started, (hTh: 0x07CB4FDE, pTh: 0x87C80000)
-RegisterClientPart2
+RegisterClientPart2: Id 0x00000001
-RegisterClientPart2
looking forward to your suggestions,I was a bit confused now..
thank u very much. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113164
How to tell which compiler in C code?
Our DLL will be used both in EVC 4.0 and WINCE4.2, and we plan to add
different code according to the compiler. So we need to know how to tell
which compiler in C code? Is there any predefined things to indicate this?
#if defined(XXXXX)
/* do something here for CEPC in PB */
.........
#else
/* do alternate here for iPaq in EVC4 */
........
#endif
Thanks for any suggestion!
Cetrier Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113161
mdoc h3
Hi,
i can boot and launch windows from mdoc h3. 4 partitions created but i can't
see any of them under My Device. i did necessary registry settings. i think
there is a problem with formating. does any one knows correct dformat syntax
for windows ce?
windows ce 5. pxa 270.
Thanks
Alli Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113147
TimeChange Notification Error at bootup
Hi,
I am using an external real time clock to store the local time.
Inside RTC_Init(), I start an endless thread waiting for time events
"NOTIFICATION_EVENT_TIME_CHANGE" and "NOTIFICATION_EVENT_TZ_CHANGE" to
be notified about time changes (see code below). This works fine until
Suspend/Resume!
If the board did a Suspend/Resume, I get following errors at bootup:
> Notification Error : Cannot execute \\.\Notifications\NamedEvents\DSTTimeChange
> Notification Error : Cannot execute \\.\Notifications\NamedEvents\TaskbarTimeChangeEvent
Afterwards, a "NOTIFICATION_EVENT_TIME_CHANGE" event occurs.
When I delete my persistent registry, the errors disappear until I do
another Suspend/Resume.
If I disable the RTC driver, no errors are visible at all!
Does anybody know why these errors happen or do I make something wrong
inside my endless thread?
Thanks in advance
beat
DWORD WINAPI synchronizerThread(LPVOID param)
{
HANDLE hTimeEvent[2];
CE_NOTIFICATION_TRIGGER trigger[2];
SYSTEMTIME time;
DWORD rWaitObject;
// Time change
GetLocalTime(&trigger[0].stStartTime);
trigger[0].dwSize = sizeof(CE_NOTIFICATION_TRIGGER);
trigger[0].dwType = CNT_EVENT ;
trigger[0].dwEvent = NOTIFICATION_EVENT_TIME_CHANGE;
trigger[0].lpszApplication = L"\\\\.\\Notifications\\NamedEvents\
\TimeNotify";
trigger[0].lpszArguments = 0;
trigger[0].stEndTime = trigger[0].stStartTime;
// TimeZone change
GetLocalTime(&trigger[1].stStartTime);
trigger[1].dwSize = sizeof(CE_NOTIFICATION_TRIGGER);
trigger[1].dwType = CNT_EVENT ;
trigger[1].dwEvent = NOTIFICATION_EVENT_TZ_CHANGE;
trigger[1].lpszApplication = L"\\\\.\\Notifications\\NamedEvents\
\TimeZoneNotify";
trigger[1].lpszArguments = 0;
trigger[1].stEndTime = trigger[1].stStartTime;
hTimeEvent[0] = CreateEvent(0, FALSE, FALSE, L"TimeNotify");
hTimeEvent[1] = CreateEvent(0, FALSE, FALSE, L"TimeZoneNotify");
if ( (hTimeEvent[0] == 0) || (hTimeEvent[1] == 0) ) {
RETAILMSG(1, (L"External RTC - Creation of TimeEvents failed!\r
\n"));
}
else {
WaitForAPIReady(SH_WMGR, INFINITE);
while (CeSetUserNotificationEx(0, &trigger[0], 0) == NULL)
{ Sleep(200); }
while (CeSetUserNotificationEx(0, &trigger[1], 0) == NULL)
{ Sleep(200); }
while (1) {
rWaitObject = WaitForMultipleObjects(2, hTimeEvent, FALSE,
INFINITE);
if ( (WAIT_FAILED == rWaitObject) ||
(WAIT_TIMEOUT == rWaitObject) )
RETAILMSG(1, (L"External RTC Task -
WaitForMultipleObjects ERROR!\r\n"));
}
else {
EnterCriticalSection(&csRTC);
GetLocalTime(&time);
setExternalRtc(&time);
LeaveCriticalSection(&csRTC);
}
}
}
return 0;
} Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113134
System hang after wake up if long press on touch panel
Hi All,
I have a situation here with the touch panel. I'm using a WINCE 5.0 OS. It
seems that if i long press on the touch panel (can be anywhere on the screen)
and did a system suspend, on the wake up the system seems to hang.
From the trace i can see all the devices have already waken up,(spi, i2c,
file systm etc), but it stops after device power up. Have any one meant with
the same issue? Can anyone advice?
Sincerely
Jimmy Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113133
how is the flash mdd behavior in R2?
1. From some senario I guess flashmdd layer reserves some blocks for private
usage(maybe for compact). For example, pdd layer tells mdd there are 1030656
sectors through FMD_GetInfo(), while I can see only 1015040 sectors through
control panel. where are the losted 15616 sectors?
2. Moreover, can i open some debug zone to watch the mdd layer's behavior?
3. there is an interface, GetLifeCycleInfo, in pdd to get erase time, while
the sample only returns ERROR_NOT_SUPPORTED. Doesn't mean if pdd doen't give
any information to mdd, mdd won't do any wearleveling? Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113132
Camera DShow Integration Test Failure on WM6.1 with NULLCAM
I am working on ARMV4I device. BSP is based on FSample bsp comes with WM610.
I am using latest March 2008 LTK from MSFT, also with this LTK Camera Dshow
Integration Test passes on Device Emulator.
I am using WM6.1 image (for our ARM device) build using following sysgen
variables:
1) SYSGEN_CAMERA_NULL=1(To Include NULLCAM Driver)
2) SYSGEN_DSHOW_CAPTURE=1(Used Previously on WM5 and later versions. Even
without this variable LTK doesn't pass)
3) IMGCAMERAOEM=0 (To include P&V Camera registries)
4) SYSGEN_DSHOW_WMV=1 (Got hint from Fsample, Even without this variable LTK
doesn't pass)
5) SYSGEN_DSHOW_ICM=1 (Got hint from Fsample, Even without this variable LTK
doesn't pass)
6) set BSP_NOCAMERA=1 (To exclude default FSample Camera Driver)
So this image contains NULLCAM only. Also P&V camera application properly
for all combinations with above image on our ARMV4I device.
If I run "Camera Direct Show Integration test" for 100-300 test nos. Test
takes 45 sec to finish, in which 23 test out of 32 fails. Same kind of
results happen with whole LTK.
Following is the failure message for almost all the failed tests:
CCaptureFramework: Loading the video property bag data failed.
Initializing the capture graph failed.
CCaptureFramework: Pausing the graph failed.
I have seen this kind of failure before with WM5 later AKUs, when We don't
use updated WMCETK. But here this possibility ruled out, because same LTK
tests are passing on device emulator.
I have exhaust all my attempts, nothing more to try. Can anyone please give
me some pointer, what else I can try after reaching above state. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113129
mpeg2demux for demuxing raw transport stream
Hi,
Tried building below grpah :
async reader (raw file TransportStream.dat) -> mpeg2 demux -> mpeg2
decoder -> video render
For the above graph I am getting error VFW_E_NO_TRANSPORT
(0x80040266L) , async -> mpeg2demux
* async reader and mpeg2demux are Microsoft's filters without any
modification.
* .dat file type is added in registry which uses async reader as
source filter, majortype - MEDIATYPE_Stream and subtype
MEDIASUBTYPE_MPEG2_TRANSPORT
Queries:
1. I did some search on this error and found
http://groups.google.com/group/microsoft.public.win32.programmer.directx.video/msg/b9947140313f33e5
is this what I have to do?
2. Does mpeg2demux for wince6.0 support MEDIASUBTYPE_MPEG2_TRANSPORT
streams?
Regards,
Dev Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113128
Debug Zones question
I noticed that when running the debug version of CE6.0 (x86 or ARM BSPs) it
takes a long time to start up compared to 5.0. I believe that I need to
disable debug zones. I think one big culprit is KITL who appears to spit out
this on the debug port in an incredible rate:
Timer: Removing entry, slot: 15, expire: 4294952713
TimerEnt: slot 0, expire: 345400192
I read that I should be able to mask off zones in the
HKEY_LOCAL_MACHINE/DebugZones
From what I can discern from code the name should be KITL so I added
"KITL"=dword:1
to try and only display errors.
This does not seem to work. When I open CE Debug Zones window the other
zones under kitl.dll is still enabled. And messages are still displayed.
Anyone have any advice on this?
Daniel Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113123
SanDisk mDOC
Has anyone been able to perform DMAs (with synchronous bursts) to or from
this part?
Is the use of the DMARQ line required? Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113117
Reading MAC Address
Hi All,
I like to read and dipslay the MAC Address of the device. I search
on help and it shows that
typedef uchar NDIS_802_11_MAC_ADDRESS[6] contains the MAC address but when
i read it always returns Zero.
Any help please.
Thanks Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113115
SDIO WIFI and CE 6.0
Hello,
I try to find a SDIO WIFI card that works under CE 6.0 and compliant with SD
2.0.
My CPU is an iMx31 and SDHC card works well with it.
Regards. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113110
suspend menu missing!!
Hi all,
WinCE 5.0.
x86
I have a workspace file (pbxml) file provided by the customer; when i build
the image and boot it, the suspend menu (start->suspend) is missing.
Could anyone tell which catalog file need to be added in order to get the
suspend menu???
Thanks in advance. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113098
USBAttachDevice : LPCUSB_INTERFACE UsbInterface = NULL
Hi,
I am building an USB-CDC driver.
I started from scratch with just the basic stream interface.
At this point, I plug in my device, it is recognized from the regsettings I
made, my DLL is loaded, and USBDeviceAttach is called.
From this point, I am using the PRN driver as an example.
I copied ParseUsbDescriptors() but this fails.
(do I need it anyway ?, the device is already the right one, else my driver
wouldn't have been loaded... (???), or is it also loaded under differrent
circumstances ? )
It fails because the UsbInterface pointer passed to USBAttachDevice is NULL.
Why is that ?
BOOL USBDeviceAttach( USB_HANDLE hDevice,LPCUSB_FUNCS UsbFuncs,
LPCUSB_INTERFACE UsbInterface,LPCWSTR UniqueDriverId,
LPBOOL AcceptControl, LPCUSB_DRIVER_SETTINGS UsbDriverSettings,
DWORD Unused)
Greetings,
Rob. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113093
Run a app in a init, performance decrease a lot
Hi,
I would like to run a custom application when kernel is loading. to do that
I have added in my registry these settings:
[HKEY_LOCAL_MACHINE\init]
"Launch89"="Mem.exe"
"Depend89"=hex:1e,00
The app Mem.app, is an application that listen a sockect connection a read
some data in our system, but the problem comes when app is running and
accept an incomming connection, the performance of the app is quite low
compared if I run the app manually from a telnet session.
Could be this about the WinCe priorities for the init processes? How can
modify this?
Thanks,
Bye Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113090
spi ethernet initialization
Hello,
I am working on microchip SPI ethernet controller. to get the debug
ethernet work on my hardware.
I have done the initialization successfully,
and when i read my MAC registers, there are some random values every
time.
I hope there is some delay problems in chipselect timings.
Please let me know, what will be the exact problem.
why my MAC registers configuration is not stable.
Thanks in advance,
Kumar Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113088
Simulate CF card removal
Hi All,
My application installs a driver for the CF card from CAB. Now, I'd
like to load the installed driver so that user won't have to remove
the card or reset the device.
Merely I need to simulate removal and insertion of the CF card
programmatic ally. What function should I use for that? Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113080
Touch screen jitters by one pixel
Hi,
If I hold the stylus on the touch screen, I can see a jitter of only
one pixel. My touch screen driver does already filtering. I saw once
registry keys, which enable filtering of jitter of a certain amount of
pixels, but I can't find them anymore. How can I suppress a jitter of
a certain amount of pixels using registry keys under CE6?
Thanks,
Peter Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113077
About kdbg and the interrupt
Hi
I have a question about the interrupt handling in the kdbg.
I saw in kdstub that the debugger disables the interrupts just before
sending or receiving a debug packet (function KdSend and KdRecv).
Actually I'm using the kitl over serial with a interrupt based driver. To
use the debugger, I have to make a call to INTERRUPTS_ON in each call to
kitlSend because the debugger disabled the interrupts just before.
If I remove this call to INTERRUPTS_ON and use a poll based driver, the
system cannot boot really far (stop after shell.exe load) because the
scheduling is disabled (the interrupts are masked so the tick interrupt
cannot be handled) .
Another problem caused by the reenabling of the interrupts inside the KITL
driver is that I'm not able to place breakpoint inside ISR. In fact, the
interrupts seems to be reenabled during the ISR causing data aborts and the
crash of the system (I think the context is corrupted by the reenabling of
the interrupt and leads to this behaviour).
So my question is, Can I debug the ISR with the Kdbg knowing that it
disables the interrupts ? The other question is, how the kitl interrupt based
system can work if the debugger disables the interrupts ? Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113074
Activesync file filter
Hi All
I am working with smdk2440. My device connect to PC and I can explore all
folders from PC. Now I want to hide some folders on device from PC explorer
(means they should not be visible in PC). What should I do for this purpose?
Is a filesystem filter required or change to activesync code?
Regards
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200806/1 Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113072
How to get IrSIR work?
Hi:
how to get IrSIR work im our BSP and test it?
we have IrCOMM.dll
IrSIR.dll
and
set SYSGEN_IRDA=1
is it enough for IrSIR work?
or need something?
and how to test it?
if anybody can tell us.
i m very appreciated.
and best Regards.
vincent tsai Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113068
Including asp.dll in build
Does anyone know of why asp.dll would not be included in the build when
sysgen_asp = 1 is defined. I have been tring for some time to sysgen a os
that will support asp. Html files serve up quite nicely, however, .asp files
generate 501/505 errors. Upon investigation I realized asp.dll is not
included in the release directory. Obviously I'm missing some
flag/setting/component, but of couse I don't know which?
Thanks Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113064
BSP Template sample code now available
Hey all,
I just wanted to let you know that some new sample code is available for CE
BSPs. It's a template that illustrates stubs of all required and optional
OAL and KITL functions. It also tries to explain things incrementally so
that newcomers can understand.
You can download it from the CE Base OS blog, here:
http://blogs.msdn.com/ce_base/archive/2008/05/30/bsp-template-now-available-for-ce-6-0-ce6r2.aspx
I hope that you will find it useful.
--
--Travis Hobrla
This posting is provided "AS IS" with no warranties, and confers no rights. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113056
Warm boot / fails to re-initialize system
Hi
I have an Aaeon PCM8152 / Celeron M running standard CEPC winCe5.0.
When I warm reset the system, or switch is off/on within a few
seconds, I get this error.
The bootloader runs fine, but afterwards the first part of kernelinit
fails =96 the system never recovers.
Leaving the system for 30 sec. it alwayes powers correct up.
***************************************************
INFO: code=3D0x4.
INFO: code=3D0x4.
Jumping to image (address=3D0x224588)
Debug Serial Init
SysInit: Mapping Extra RAM from 0x84000000 to 0x9ac00000
GDTBase=3D8235b0e8 IDTBase=3D8237c860 KData=3D82385800
Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
g_pPageDir =3D 82388000
Double Fault -- backlink=3D0048
TSS=3D8237d060 EIP=3D80233ef1 Flags=3D00210082
Eax=3D00000000 Ebx=3D8237bd04 Ecx=3Df000e987 Edx=3D8237bdd0
Esi=3D9db79000 Edi=3D8df78000 Ebp=3D8237bcf8 Esp=3D8237bc94
CS=3D0019 DS=3D0040 ES=3D0040 SS=3D0021 FS=3D0018 GS=3D0018
***************************************************
As I can understand this problem is not isolated to my target. The
most interesting solution I have managed to find is implementing a
call to NKForceCleanReboot in OEMInit().
Questions:
NKForceCleanReboot is not declared in any of my header files. Am I
suppose to implement it myself?
Using the CEPC standard BSP I=B4m not sure which file my OEMInit() is
located?
Perhaps someone have done a similar fix up of OEMInit() and can show
how?
Any other suggestions or comments?
Best regards,
Jonas Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113043
add compact framework to nk.bin
Hello,
I have a nk.bin runtime winCE6.0 image and I would like to add the 3.5
Compact Framework.
I do not have the whole Platform Builder project, I can't re-build it with
the CF35.
Is-it possible ?
arnaud. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113038
Adding mmtimer to Coredll.dll
Hi all,
I'm trying to add Multimedia Timer Support to my OS Image.
Therefore I need to include mmtimer.lib into the Image and linkt it to
Coredll.dll.
I am currently stuck on how to link a component to Coredll.dll.
I tried using the same mechanisms as detailed in Kurt Kennetts article on
how to "Replace a COREDLL component in WCE 6" but without success.
Please point me in the right dircetion.
TIA,
Bjoern Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113026
Serial communication problem..
Hi
I'm trying to implement basic serial communication. I'm using the CreateFile
method. I created a WCE Console Application. On building the project i get
this linker error. I don't know how to resolve it. I don't know why but i'm
unable to change the project settings, in the sense, the Project Settings
options is disabled. Do i need to add/ change any libraries or dlls? i think
that fn. is under kernel32.lib and kernel32.dll. Pls help me out. The
following is my program and error msgs.
Also pls check if what i'm passing as arguements are valid. I want to be
able to use COM1 and i'm not sure how to set it.
#include "stdafx.h"
HANDLE hFile;
#define BUF_SIZE 80
int _tmain(int argc, TCHAR *argv[], TCHAR *envp[])
{
//_tprintf(_T("Hello World!\n"));
OutputDebugString(L"Running");
HANDLE m_hComm = CreateFile(L"//./COM1",GENERIC_READ |
GENERIC_WRITE,0,0,OPEN_EXISTING,0,0);
return 0;
}
error LNK2019: unresolved external symbol CreateFileW referenced in function
wmain
BUILD: [01:0000000036:ERRORE] obj\ARMV4I\retail\cook.exe : fatal error
LNK1120: 1 unresolved externals Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113019
DDEX1 (DirectDraw App) failing in DirectDrawCreate
Hi,
While running the DDEX1.exe (DirectDraw sample application) on WinCE
6.0 on CEPC the DirectDrawCreate() fails with the return code
E_OutOfMemory (0x800700E) and following error comes in PB's debug
window.
Error:
4294847715 PID:32e0002 TID:32f0002 GWES Hook fails device creation.
DirectDrawCreate fails.
4294847731 PID:32e0002 TID:32f0002 DDEX1: DirectDrawCreate FAILED
4294847798 PID:400002 TID:32f0002 DeleteFromProcessInputLocaleTable:
Deleted process from ProcessInputLocale table, hProcess: 0x032E0002
4294847798 PID:32e0002 TID:32f0002 OSAXST1: <<< Unloading Module
'ddraw.dll' (0x8845D8A8) at address 0x404B0000-0x404C6000 in Process
'ddex1.exe' (0x8841E000)
The function call sequence i am seeing here is
DDEX1.EXE --> GetDriverInfo --> CanCreateSurface --> CreateSurface -->
HALLock --> HALUnlock --> HALDestroySurfcace
I dont know whether the above sequence of calls correct or this is
happening because of some error.
Can anyone tell me is this sequence correct or something going wrong?
What may be the possible reasons of above errors? or How can I debug
this as there is no middleware code available?
Thnaking you in Advance and hoping for reply.
Vikas Patil Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113018
Mass storage issue on Windows CE 5.0
Hi,
I am trying to get peripheral mass storage working on my Windows CE
5.0 device .I have 3 partition in my NAND flash with Bootpart library.
(1st BINFS for Nk,bin , 2nd FAT for Hive Registry, 3rd again FAT rest
of the space ).I am able to get the 2nd and 3rd partition as separate
drive in Host PC.One of the problem i am facing is if i plug the USB
initially and try to boot the device it will hang . This i feel is
because when it tries to enumerate as mass storage it will unload the
filesystem dll from the device( both partition is having the same
filesystem) . Since hive is on one drive it is causing the problem .I
tried without hive and it works fine .Could anyone suggest a way of
getting hive and mass storage working together.
Regards
Wins Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113014
How to popup the soft keyboard automatically?
My device has no graphical shell , but I have added the SIP component into
the OS, and I can show the SIP through the SipShowIM API. But I want the SIP
to popup automatically , when any edit control get input focus. So what
should I do ? Thanks! Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113013
sdram issues
hi,everyone
I am upgrading my sdram configuration for 128M,
Frist of all,I show my platform,
CPU : Xscale pxa255
OS : Windows CE .Net 4.2
Flash : 32MB
SDRAM : 128MB (32MBX4)
since I have heard that it only spend 2 hours on this issue,
why it cost me more than one week to solve the problem...
Okay,let's see the process.
I modified some files related,
config.bib,memdefs.h,memmap.inc,xsc1.h,xsc1.inc,xsc1bd.h,xsc1bd.inc,
fwxsc1.s,platform.reg.(if i missed some file,pls tell me)
At first,i always modified all of files related,
then the kernel hung...I can not find where is the problem,
so,I modified some files step by step,
I just changed OEMAddressTable in memmap.inc,
DCD 0x80000000, 0xA0000000, 64
to
DCD 0x80000000, 0xA0000000, 128
and I also modified xsc1bd.inc,
MDCNFG_VAL EQU 0x19C119C1; SDRAM Config Reg (CL=2)
to
MDCNFG_VAL EQU 0x19C319C3; SDRAM Config Reg (CL=2)
then,sdram register MDCNFG enable the bank1 which is also 64MB.
After two changes above,I download the kernel,it still works.
Then,I just modified config.bib
MEMORY
IF IMGFLASH !
NK 800B8000 02000000 RAMIMAGE ; SDRAM 32MB: [800B 8000 -> 820B
7FFF]
RAM 820B8000 01C00000 RAM ; SDRAM 28MB: [820B 8000 -> 83CB
7FFF]
EDBG 83F8D000 00020000 RESERVED ; x20000 for EBOOT - 3 Client
memory pools of 24K (128K)
ENDIF
AUD_DMA 83CB8000 0000A000 RESERVED
SLEEP_SAV 83CC2000 00001000 RESERVED
DRV_GLB 83CC3000 00001000 RESERVED
CACHE_FLG 83CC4000 0003C000 RESERVED ; for use by cache routines:
83CC_4000->83CC_4003 used for flagging. 83CC_4004->83CC_4803 rsvd for
miniD
DISPLAY 83D00000 00130000 RESERVED ; 1MB aligned
BLOCK_BUF 83E30000 00080000 RESERVED
UNUSED_BUF 83EB0000 000DD000 RESERVED
whql_sig 00000001 00002000 EXTENSION ; WHQL signature extension
(6KB).
ZBANK 86000000 00100000 RESERVED
to
IF IMGFLASH !
NK 800B8000 02000000 RAMIMAGE ; SDRAM 32MB
RAM 820B8000 05C00000 RAM ; SDRAM 28MB+64MB
EDBG 87F8D000 00020000 RESERVED ; x20000 for EBOOT - 3 Client
memory pools of 24K (128K)
ENDIF
AUD_DMA 87CB8000 0000A000 RESERVED
SLEEP_SAV 87CC2000 00001000 RESERVED
DRV_GLB 87CC3000 00001000 RESERVED
CACHE_FLG 87CC4000 0003C000 RESERVED ; for use by cache routines:
83CC_4000->83CC_4003 used for flagging. 83CC_4004->83CC_4803 rsvd for
miniD
DISPLAY 87D00000 00130000 RESERVED ; 1MB aligned
BLOCK_BUF 87E30000 00080000 RESERVED
UNUSED_BUF 87EB0000 000DD000 RESERVED
whql_sig 00000001 00002000 EXTENSION ; WHQL signature extension
(6KB).
ZBANK 8A000000 00100000 RESERVED
and also changed the other related addresses
in memdefs.h,xsc1.h,xsc1.inc,xsc1bd.h,xsc1bd.inc.
for instance:
i modified
#define MEM_BASE_PHYSICAL 0xA3CB8000
#define MEM_BASE_C_VIRTUAL 0x83CB8000
#define EDBG_PHYSICAL_MEMORY_START 0x83F8D000 // Ethernet Debugger
Pool Address
to
#define MEM_BASE_PHYSICAL 0xA7CB8000
#define MEM_BASE_C_VIRTUAL 0x87CB8000
#define EDBG_PHYSICAL_MEMORY_START 0x87F8D000 // Ethernet Debugger
Pool Address
It seems that all the PHYSICAL address should not be modified,
I try it before,but also do not work out..
so at last,I made the above change.
And during these days,I also tried to debug images,
but it just hung as the release image..
anyone pls help me,I was a bit confused now..
thank u for suggestion. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113012
Debug image - KITL - hang
PB5.0
I built a debug image just by choosing the debug version from the
drop down menu. It is working fine for few minutes, after that it just
comes and stops at the KITL statement(debug statements below). I have
not enabled "Enable KITL" in build options. I'm not sure why it stops
at kitl always ?
I have enabled only the following check boxes in platform->settings-
>build options
Enable CE target control
Enable eboot space in Memory
Enable full Kernel mode
Could you guys help me on why my debug image stops at the KITL
statement ?
thnks,
rishi
*****************************************************************
KdTrap: JIT debugging requested, waiting for OEM selection
KdTrap: JIT debugging accepted
+KITLRegisterDfltClient, service:2
LAN91Cxxx: Chip Id 9 Revision 2
KITL: *** Device Name MAINSTN7757 ***
built on [May 14 2008] time [18:56:42]
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
Tx buffer [0xA295EE60] to [0xA2962E60].
Rx buffer [0xA2962E80] to [0xA2966E80].
VBridge:: NK add MAC: [0-0-70-26-1E-4D]
!KITLRegisterDfltClient: Fail to initialize KITL
+KITLRegisterDfltClient, service:2
LAN91Cxxx: Chip Id 9 Revision 2
KITL: *** Device Name MAINSTN7757 *** Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113011
Import fmd driver to platform builder
Hi,
In fact, there is a nandflash driver and there are BuildExe and FMD directories in this in my sbc's(s3c2440)cd.But it doesn't seem under bsp in platform builder.I checked .cec file of bsp.Its settings seem correct.But when i want to link this to the platform builder project file(I don't know whether or not it is necessary),i can't.Because the platform builder file's extension is pbxml, not pbpxml which cec editor requires.
So what is my problem?
Thanks in advance. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113005
Unknown or old version of bootloader
Dear All,
When I load my Image By loadcepc there is a message which shows that my
Image doesn't contain any Valid bootloader. So after load completes my system
hangs. Here is the detail of my project.
I use Win Ce 6.0 .
Hardware: Vortex
SX-6154(ICOP company)
1-Board Support Package: ICOP_Vortex86_60B: x86
2-Design Template: Industrial Device
3-Design Template Variants: Internet Appliance
4-All next Steps: Default
options are selected
5-I Disabled All build options. I just enabled â??Enable Ship Buildâ?? AND
â??Run-time image can be larger than 32Mâ??
6-I added IMGRAM128 = 1 Variable into Environment variable list(I tried
without this variable too)
I compiled My project in release mode. I made a DOM dos bootable. I copied
NK.BIN into DOM. I booted my system and I chose first option(Loadcepc /v
NK.Bin).
The following Message apeares during load process:
Enter a choice: 1
Warning A20 line already enabled
1 PCI bus (Version 3.00) using Configuration Mechanism # 1
Total free extended memory = 65471, largest block = 65471
Block allocated at 0x110000
Loading nk.bin, size = 17908451
nk.bin: Unknown or old version of bootloader
Image physical start = 0x00520000, size = 18238216
Section physical start = 0x00520000, size = 16
Section physical start = 0x00520040, size = 8
Section physical start = 0x00520048, size = 4
Section physical start = 0x00521000, size = 28672
Section physical start = 0x00529000, size = 167936
Section physical start = 0x00552000, size = 391228
Section physical start = 0x005B183C, size = 27620
Section physical start = 0x005B9000, size = 1148
Section physical start = 0x005BA000, size = 385592
Section physical start = 0x00619000, size = 25632
Section physical start = 0x00620000, size = 176292
Section physical start = 0x0064C000, size = 8140
Section physical start = 0x0064E000, size = 584244
������������������������������.
After All other sections are loaded, the following message appears and
system hangs:
Jumping to 0x005224F0
When I do the same with demo Image the Image physical start is 0x00200000
and system starts and the message which shows that there is no bootloader
doesn't appear.
Would you please tell me what the problem is????????
Thank you in advance
M.Samoody Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113003
FAL source code available?
i can't find it in both public and private folder. i want to debug my FMD
deeply.
thanks Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113001
How to replace a dll...
Hello, all.
(currently developing a WM6 phone)
I know that I can replace a dll file using ActiveSync and debug some faults.
Now, I am looking for a debug point, but I can't simply replace a dll using
ActiveSync.
I can see the message "the file is copied" but cant see any message that I
have put in.
I think that there are some files that we can't change in the simple way.
If any guys know about it, help me.
I wanna go home!
--
Engineer
(Developing Windows Mobile PDAs)
Message posted via http://www.pocketpcjunkies.com Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 113000
Clean format of monolithic filesystem
Hi,
I have a running OS image that uses Intel PSM 4.0 to make some flash into a
'disk' on CE5. This is set up such that the Storage Manager AutoLoad
registry section is used to load the driver. Everything works fine.
However, I'd like to have a relatively simple way to return a given device
to 'factory default' configuration, including deleting any shadowed files
that are stored on the PSM volume, preferably without adjusting the
registry, etc. and forcing a new test cycle for the OS build.
Unfortunately, items loaded from the AutoLoad segment of the Storage Manager
registry are not accessible as "volumes" and, as far as I can tell, can't be
accessed as though they are real filesystems. I'd like to simply pass a
IOCTL_DISK_FORMAT_MEDIA to the driver and be done with it (it's designed to
handle that IOCTL), but I can't get a handle which I can use with
DeviceIoControl() to do this. The situation is similar to trying to
operate, as a whole, on the Release folder filesystem driver, which seems to
suffer from this same problem.
Thanks for any pointers to ways to do this.
Paul T. Tag: FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO Tag: 112997
access all computer tutorials for free visit http://freecomputertutorialz1.blogspot.com/