[HKEY_LOCAL_MACHINE\Init\BootVars]
I want to use RAM based registry and registry backup. However, when
calling the RegFlushKey, it creates a file on the persistent storage.
Is it partially enabled the hive based registry? Is the Platform
Builder treat it as hive based registry when it saw the
[HKEY_LOCAL_MACHINE\Init\BootVars] registry entry? Tag: G.729 codec Tag: 40613
Help! I have a very simple question about generation of unicodes in CE .NET 4.2
According to the MSDN documentation for CE .NET 4.2, the
KeybdDriverVKeyToUnicode function is responsible for generating the
correct Unicode characters. I located this function in
WINCE420\PUBLIC\COMMON\OAK\DRIVERS\KEYBD\LAYMGR\laymgr.cpp. This
function is the same one that is located in a different file in the
PLATFORM tree of CE 3.0.
My problem is that whatever changes I make to laymgr.cpp to change the
unicode character has no effect on the target, even if I clean and
rebuild. This is the case even if i hard code the character as a "Q"
so that ALL keystrokes will register that character:
*pcCharacters = 0x0051;
I have done a text search on the entire WINCE420 directory tree, and
laymgr.cpp is the only source file with the KeybdDriverVKeyToUnicode
function.
What must i do to allow my changes to have an effect on the target
machine?
Thank you very much
Martin Johnson Tag: G.729 codec Tag: 40607
Platform Builder does not start!
Things got really messy now...
I was working on cloning BSP in my PB4.1 and I just went to
File/Manage Catalog Features to remove my new BSP from Catalog.
When I clocked "remove" button on this window PB crashed.
Now I am not able to start PB at all. It fails with a message
"Unable to initialize Catalog" followed by the "Runtime error"
window and cepb.exe crashes. What can I do to avoid reinstallation? Tag: G.729 codec Tag: 40600
Bug in BINFS+FAT+NANDFLASH
I think we have identified a big fatal problem with the
BINFS+FAT+NandFlash. According to my observation now, it is an aparent bug
in MS's code, but due to lack of relate source code, I can not figure out
where goes wrong.
To simply put the problem: when writing data files on FAT partition, the
BINFS partion will sometimes (actually, with very high frequency) get
corrupted.
Here is the full version of the story:
1). 2 partitions are created on NandFlash in bootloader, BINFS + FAT.
2). block 0x00 - block 0x0B are reserved for bootloader therefore out of
file system, file system(MBR) starts on NandFlash block 0x0C. Followed by
BINFS and FAT partition.
3). MBR, BINFS are marked with READ_ONLY. While FAT partition starts on a
block boundary, not marked with READ_ONLY.
4). Windows CE works very well when the boot up, with BINFS+MultiXIP.
5). FAT on NandFlash works fine too at first sight. A "ResidentFlash"
folder appears in file explorer. Download a Mp3 songs to this folder, play
it without problem.
6). No problem appears if you don't do anything else, power on/off the
board, everything works just fine.
7). Problem happens when we run a test application.
8). What the test app does is very simple, to create a file on under the
"ResidentFlash" folder and write some random data to the file. Then
repeatedly create with the same file name and overwrite it.
9). The symptom is after a few minutes, the test app will erase NandFlash
from right start the file system, block 0x0C. If running enough long time,
the whole file system (MBR, BINFS) on NandFlash will be erased.
To dig out what happened exactly, I tried to print out a message in the
FMD_EraseBlock function to see which block is gonna be erased. Here are what
I found:
1). We are testing on a 32M NandFlash, so totall have 2000 (0x7D0) blocks.
2). FAT partition takes control of 0x550 - 0x7CF.
3). When the test app first time writes a file, file system will try to
erase some blocks according to the file size, for example, from 0x551 -
0x650.
4). Second time to overwrite the same file, will cause the following
blocks to be erased, for example, from 0x651 - 0x751.
5). Problems may possible happen when the searching for a block to erase
wrap back to the boundary 0x7CF.
6). The problem is not happening every time when wraping back from 0x7CF.
In some times, 0x7CF is followed with 0x551, which is the correct case. But
in some times, 0x7CF is followed by 0x0C, which is the MBR block, then 0x0C
is followed by 0x551, or sometimes, 0x0D, ...
Following is some patterns:
0x7CF, 0x551, 0x552 ... (correct case)
0x7CF, 0x0C, 0x551, ...
0x7CF, 0x0C, 0x0C, 0x551, ...
0x7CF, 0x0C, 0x0C, 0x0D, 0x551, ...
0x7CF, 0x0C, 0x0C, 0x0D, 0x0E, 0x551, ...
If the application runs enough long time, it will erase the whole file
system.
I also tested with the Monolithic NK image condition. In this case, the
bootloader only creates a FAT partion, the NK image is stored on reserved
blocks, out side of the file system's control. In this case, it seems there
is no problem when test application erasing wraps back from 0x7CF block.
I hope I have illurstrate this problem very clearly. I have tried to break
the OS when trying to erase block 0x0C, but due to lock of related source
file, I have no idea, when the file system tries to erase the MBR block.
Best regards.
Rui Tang
Centrality Communications Inc Tag: G.729 codec Tag: 40584
USB on wince.net 4.1
Hi
Below is an extract from my platform.reg, this allows auto connection of our
device to a host pc when the usb lead is plugged in. This works on wince
3.0, I try the same code in wince 4.1 and it doesn't work, the
[HKEY_CURRENT_USER\Comm\RasBook\USBCradle] seems to be ignored. The key is
available on the system and I can view it and its content using a registry
editor.
Any help would be appreciated
Regards
Tariq
[HKEY_CURRENT_USER\ControlPanel\Comm]
"AutoCnct"=dword:1
"Cnct"="USBCradle"
;;;; "Cnct"="InfraRedLink" ;; DEV USE ONLY - shipped builds should default
to USB
[HKEY_CURRENT_USER\Comm\RasBook\USBCradle]
"Entry"=hex:\
08,02,00,00,00,00,00,00,00,00,00,00,00,00,E6,AC,\
02,00,00,00,10,2A,15,8C,F2,DF,01,10,00,00,00,00,\
F2,DF,00,00,00,00,00,00,00,00,00,00,4C,56,10,00,\
78,F9,19,00,0A,00,00,00,BC,E6,06,10,C4,0F,0D,00,\
18,AE,19,00,00,00,00,00,02,00,00,00,F2,DF,01,10,\
AE,01,00,00,F2,DF,01,10,18,AE,19,00,D4,E6,06,10,\
14,D8,05,00,CA,8C,E6,AC,88,08,1A,00,60,08,1A,00,\
EC,E6,06,10,F8,58,F9,01,80,B9,FD,01,01,00,00,00,\
00,00,00,00,07,00,00,00,60,08,1A,00,03,00,00,00,\
8E,01,00,00,01,00,00,00,88,08,1A,00,03,00,00,00,\
8E,01,00,00,01,00,00,00,01,00,00,00,24,E7,06,10,\
14,D8,05,00,24,E7,06,10,00,00,00,00,30,DA,08,00,\
01,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,\
50,E7,06,10,05,00,00,00,B0,06,1A,00,B0,06,1A,00,\
5C,E7,06,10,50,59,F9,01,28,E5,12,00,7E,8F,E6,AC,\
01,00,00,00,6C,E7,06,10,A4,E4,07,00,28,E5,12,00,\
BC,69,F9,01,80,B9,FD,01,00,05,1A,00,90,04,0D,00,\
3E,18,EE,0C,80,AB,19,00,00,00,00,00,F2,DF,01,10,\
0A,00,00,00,64,37,A8,C0,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,\
64,00,69,00,72,00,65,00,63,00,74,00,00,00,0D,00,\
01,00,00,00,01,00,00,00,01,00,00,00,80,D7,0C,00,\
01,00,55,00,53,00,42,00,20,00,43,00,61,00,62,00,\
6C,00,65,00,3A,00,00,00,02,00,00,00,F2,DF,01,10,\
00,00,00,00,00,00,00,00,10,A1,14,8C,00,00,00,00,\
90,68,19,0A,90,68,19,0A,00,00,00,00,0A,00,00,00,\
00,00,00,00,00,00,F6,01,00,00,00,00,81,00,00,00,\
10,2A,15,8C,00,00,00,00,30,E8,06,10,70,03,07,80,\
30,E8,06,10,1F,00,00,00,00,00,00,00,01,00,00,00,\
01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,A8,05,1A,00,00,00,00,00,00,00,00,00,\
01,00,00,00,28,E5,12,00,7E,8F,E6,AC,01,00,00,00,\
78,E8,06,10,7C,8E,03,00,28,E5,12,00,00,00,00,00,\
0A,00,00,00,04,15,03,80,F2,DF,01,10,91,00,00,00,\
10,2A,15,8C,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,\
C4,E8,06,10,5C,03,0D,00,80,AB,19,00,89,01,00,00,\
02,00,00,00,F2,DF,01,10,00,AB,19,00,02,00,00,00,\
0A,00,00,00,80,AB,19,00,E4,E8,06,10,F0,E8,06,10,\
A8,DB,0C,00,00,AB,19,00,21,00,00,00,F2,DF,01,10,\
00,00,00,00,03,00,00,00,05,00,00,00,84,0C,1A,00,\
00,00,00,00,00,AB,19,00,B0,05,00,00,40,00,00,00,\
00,00,00,00,00,10,00,00,24,E9,06,10,D0,7A,21,01,\
18,08,18,00,02,00,00,00,08,00,00,00,06,00,00,00,\
FF,FF,FF,FF,89,00,0C,00,00,00,00,00,06,00,00,00,\
FF,FF,FF,FF,02,00,00,00,68,E0,18,00,07,00,00,00,\
00,00,00,00,F2,DF,01,00,80,00,00,00,FF,FF,FF,FF,\
00,00,00,00,6C,E9,06,10,8C,7D,F6,01,B4,7D,F6,01,\
CA,8C,E6,AC,B8,12,03,80,0C,00,00,00,10,A1,14,8C,\
74,7A,DF,8C,01,00,00,00,00,00,00,00,94,E9,06,10,\
98,2D,04,80,02,00,00,00,00,00,00,00,28,E5,12,00,\
00,00,00,00,01,00,00,00,B4,32,F6,8C,A4,E4,07,00,\
74,7A,DF,8C,38,26,E2,8C,81,00,00,00,00,E9,06,10,\
00,00,00,10,00,00,00,00,30,A8,19,00,00,00,00,00,\
50,27,15,8C,0A,00,00,00,00,00,00,00,00,00,00,00,\
00,28,15,8C,01,00,00,00,04,12,03,80,00,00,00,00,\
01,00,00,00,03,00,00,00,F2,DF,01,10,01,00,00,00,\
80,D7,0C,00,01,00,00,00,01,00,00,00,01,00,00,00,\
98,77,01,00,00,00,00,00,2C,EA,06,10 Tag: G.729 codec Tag: 40579
Ethernet driver for CS8900?
Hello,
I am interestiond, when will be available Ethernet driver
for CS8900A for Windows CE .NET referenced in following
document
"http://www.microsoft.com/windows/embedded/docs/ce.net/driv
ers.xls"?
Best regards
Ales. Tag: G.729 codec Tag: 40559
DEBUGCHK error at the beginning of application initialization
Hi all,
I'm developing an MFC application. I create a new window in my main window
with the following code:
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
int CChildView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
m_pTerm = new CTermWnd();
m_pTerm->Create(NULL, NULL, WS_CHILD | WS_VISIBLE | WS_BORDER,
CRect(CPoint(0, 0), CSize(200, 200)), this, ID_TERMSCREEN);
return 0;
}
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
class CTermWnd : public CWnd
{
public:
CTermWnd();
virtual ~CTermWnd();
protected:
//{{AFX_MSG(CTermWnd)
afx_msg void OnPaint();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CWnd* m_pTerm;
static CBrush ms_bkgndBrush;
public:
HWND m_hTermWnd;
};
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
CBrush CTermWnd::ms_bkgndBrush;
CTermWnd::CTermWnd()
{
strTermClass = AfxRegisterWndClass(NULL, NULL,
(HBRUSH) ::GetStockObject(LTGRAY_BRUSH), NULL);
}
CTermWnd::~CTermWnd()
{
}
BEGIN_MESSAGE_MAP(CTermWnd,CWnd )
//{{AFX_MSG_MAP(CTermWnd)
ON_WM_PAINT()
ON_WM_CREATE()
ON_WM_ERASEBKGND()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
////////////////////////////////////////////////////////////////////////////
/
// CTermWnd message handlers
void CTermWnd::OnPaint()
{
CPaintDC dc(this); // device context for painting
// TODO: Add your message handler code here
// Do not call CWnd::OnPaint() for painting messages
}
BOOL CTermWnd::OnEraseBkgnd(CDC* pDC)
{
CRect rc;
GetClientRect(&rc);
pDC->FillSolidRect(&rc, RGB(192,192,192));
return TRUE; // Erased
}
int CTermWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
/* Most of OnCreate code is useless since I can't pass the GCL_HBRBACKGROUND
parameter to SetClassLong*/
CDC *pDC = this->GetWindowDC();
//ms_bkgndBrush.CreateSolidBrush(LTGRAY_BRUSH);
ms_bkgndBrush.CreateSolidBrush(RGB(192, 192, 192));
DWORD style = ::GetClassLong(m_hWnd, GCL_STYLE);
//::SetClassLong(m_hWnd, pDC->SetBkColor(RGB(192, 192, 192)), (LONG)
(HBRUSH) ms_bkgndBrush);
::SetClassLong(m_hWnd, GCL_STYLE, (LONG) (HBRUSH) ms_bkgndBrush);
DWORD errno = GetLastError();
UpdateWindow();
return 0;
}
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
I also used AfxRegisterWndClass to create the child window with the
following code, but that , too, stopped at the debugbreak() function:
int CChildView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
CString strTermClass;
strTermClass = AfxRegisterWndClass(NULL, NULL,
(HBRUSH) ::GetStockObject(LTGRAY_BRUSH), NULL);
m_pTerm = new CWnd();
m_pTerm->Create(strTermClass, NULL, WS_CHILD | WS_VISIBLE | WS_BORDER,
CRect(CPoint(0, 0), CSize(200, 200)), this, ID_TERMSCREEN);
return 0;
}
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
Whenever I start my application I get the following debug message:
4294813649 PID:a1ef5b5a TID:e1e68756 0x81e4b000: Unknown: DEBUGCHK failed in
file d:\jameson\private\winceos\coreos\gwe\controls\imgctl\.\imagelist.cpp
at line 905
and the code jumps to kfuncs.h, line 102 where it calls "debugbreak();"
#elif defined(x86)
_inline void DebugBreak() {
__asm int 3
}
I checked my pc and I don't have any imagelist file, but I have a imgctl lib
file and checking that (as much as it's possible to check!) I somehow
figured out that these lines are in the lib file, which might be related
with my problem:
"application passed invalid ILC_color flags to imagelist_create imagelist
out of near memory imagelist can't create bitmap imagelist unable to
initialize APPLICATION ERROR exited with Imagelist not destroyed"
If I press F5 I can continue to debug and the application initializes as if
nothing has happened. I don't get these messages when I open / close dialog
windows in my application. I get it only at the initialization stage. Also I
don't get any error messages while working with eVC on the standard SDK
Emulator. Since I don't know why this error comes, I can't handle it with
any kind of exception handling procedure.
My aim is to create a window in the view area and to display the characters
I receive from the serial com port in this window. Could you tell me what is
wrong with my code?
Thank you very much already.
Selin Tag: G.729 codec Tag: 40558
my hard disk open very slow
hello
all friends.
i use ce4.1,when my ce startup ,i open my hard disk,i find open it very
slow.why? Tag: G.729 codec Tag: 40557
Allocating fixed shared memory for ISR
On WINCE 4.2 ARMV4I:
I want to allocate a buffer in cached memory that can be shared by the ISR
and the IST.
I've looked at several options but they all seem to indicate they will only
allocate memory that is uncached (and uncachabe?)
AllocPhysMem, CreateStaticMapping, KLibAllocShareMem.
Question:
1) Is it safe to simply remove the uncached mask from this address and use
it so that it is in the cached region?
2) Is it safe to virtualalloc/virtcopy this uncached address but set the
page with cached parameters?
I've been doing this sort of thing on Windows Automotive (which has
supported installable interrupts all along using this mechanism) for 6 years
but would just allocate a piece of virtual memory and do a LockPages on it
to get the physical address. This works fine but much more messing around
that using a simple API like the ones mentioned above.
Regards,
Mark Moeller
Qualnetics Corporation Tag: G.729 codec Tag: 40555
[HELP} USB mouse cursor OFFSET?
Dear guru:
I am developing WinCE.NET 4.1 for a CEPC (VT8606+VT82C686B+RTL8139)
using VIA BSP. For the USB function I encounter a strange condition. The
USB
mouse and Keyboard work ok except the mouse cursor DO NOT match the focus
point. When you surf the IE, the link with the cursor on didn't change
color but the
next 2 rows' link changed (take MSN.COM as an example). If you clicked,
the
changed link is retrieved not the link with the cursor on. But the PS/2
mouse works
perfectly.
What is the possible cause? How should I debug this discrepency? Any
hint is
great thankful.
Best Regards
Henry Tag: G.729 codec Tag: 40553
Running CE directly from RAM
Hi,
I am trying to download CE image through Serial Port to x86(80486 DX)
board.I am not making use of "CEPC Method" provided by Microsoft.I
have customized my BIOS to receive the CE OS image through serial port
and load it at desired location.
I could download the image onto Target platform(In real mode), but
systems hangs up,when i am trying to run this image.Before making FAR
JMP i am switching processor mode to Protected mode.What could be the
problem?
I have created the image using PB 2.12.How can i customize CE in PB so
that it can be run directly from RAM? Is there any special care i need
to take before compiling the OS image?
Thanking you all in advance,
Hemant Tag: G.729 codec Tag: 40548
Testing a serial driver using CEPC
Hi ,
How can I test a serial port driver by using CEPC.
When I tried the tux utility.
I have entered tux -o -d pserial , in the Target->Advanced
commands(CESH) of platform builder.
Then the output window displayed as follows
tux -o -d pserial
Unknown command.
pserial.dll ,tux.exe, kato.dll and tooltalk.dll are present in the
RelDir\X86_Debug directory.
how can I solve this problem ?
thanx in advance
ajith Tag: G.729 codec Tag: 40546
SPI_GETPLATFORMTYPE in 4.2
What is the most recommended naming convention for SPI_GETPLATFORMTYPE
in OEMIoControl -> IOCTL_HAL_GET_DEVICE_INFO. For CE300 we went with
"Jupiter" but for this release we are thinking of something more
specific to our product. However, we do not want to make it difficult
for the installation of third party apps. I have looked for guidelines
for this without success. Tag: G.729 codec Tag: 40542
binfs and eboot
hi,
could anyone tell me , if i need to incorporate BinFs
file system, do i need to have eboot modified.
if yes, how can i download, different(kernel,application
etc images) images...
i m using xscale 250 plus .net4.2
thanks
atul Tag: G.729 codec Tag: 40540
Does x86 Emulator support Stylus?
Hi,
Could anyone advise me if the x86 emulator supports Stylus
(touch panel calibration)? If yes, what should I do in
order to enbale the "Stylus".
Thank you. Tag: G.729 codec Tag: 40539
Custom Device SDK
Hi,
Has anyone made any progress on getting .NET CF applications to cleanly
deploy to custom Windows CE.NET-based devices? We have a nice 4.2-based
device on which a given .NET CF application runs fine, but when you deploy
this application to the device the first time, with the Windows CE platform
selected, you get a pop up on the device saying that the application is not
compatible with the device and do you want to continue with installation.
If you say no, it's not deployed. If you say yes, everything continues from
there and works fine.
I *have* built and installed the SDK generated by Platform Builder for the
device (and the eVC part of the SDK works just fine).
Referencing the previous thread primarily between Chris and I,
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=%23f8A3MFBDHA.208%40TK2MSFTNGP10.phx.gbl&rnum=3&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DISO-8859-1%26q%3D.net%2Bcf%26meta%3Dgroup%253Dmicrosoft.public.windowsce.platbuilder.*
has anyone from MS come up with an update to the SDK generator which will
generate a dialog that will work? I guess I could fool around with the
internals of the SDK, but I'd much rather just generate it and have it work.
Paul T. Tag: G.729 codec Tag: 40526
Running windows media player
This is a multi-part message in MIME format.
--------------4A7E812CA6E1911E5531B4F7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
Could somebody tell if there is a way to run the Window Media Player while debuggin
under Platform Builder. I can see the Wavplay.exe and Wavrec.exe in available Programs but
despite I have added the Windows Media Player I cannot see the player2.exe.
Maybe this is not possible tu run it from command line in Windows CE. It is possible in
Windows 2000 (at least this is what help says).
Regards
Hubert
--------------4A7E812CA6E1911E5531B4F7
Content-Type: text/x-vcard; charset=us-ascii;
name="hubertr.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Hubert Rzezniczak
Content-Disposition: attachment;
filename="hubertr.vcf"
begin:vcard
n:Rzezniczak;Hubert
tel;fax:0048 71 33-48-101
tel;work:0048 71 33-48-186
x-mozilla-html:FALSE
org:Silicon & Software Systems Polska sp. z o.o.
version:2.1
email;internet:hubertr@s3group.com.pl
title:System Design Engineer
adr;quoted-printable:;;ul. Nyska 83/85=0D=0A=0D=0A;50-505 Wroclaw;;;Poland
fn:Hubert Rzezniczak
end:vcard
--------------4A7E812CA6E1911E5531B4F7-- Tag: G.729 codec Tag: 40518
FMD Flash File System fails
Hi ,
I am using Strata NOR FMD driver included with Platform Builder as reference for our
Flash FMD driver , and using the same registry used for that driver ( I changed only MemBase and
MemLen ) .
According to the log in the debug window , my driver (FlashDrv.dll) is failing ,below is the log I get
in my debug window , and I don't understand the reason why I get this log ! I ran the driver in debug
mode and saw that the driver is passing correct information to the FAL library and saw also
that the FAL library calls FMD_ReadSector twice for every first sector in a block ,
and it passes only pointer for the meta data and the data returned is what is in the flash,
the flash still has 0xFF value in all of its bytes .
What could be the reason for my driver to fail ? and how should I format for the first time the resulted partition
if the driver succeed ?
Thanks in advance
//-------------------------------------------------------------------------------------------------------------------------
Loaded symbols for 'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\MSPART.DLL'
Loaded symbols for 'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\RELFSD.DLL'
4294768220 PID:41fe6372 TID:41feaf42 0x81fe6000: >>> Loading module mspart.dll at address 0x03E70000-0x03E7B000 (RW data at
0x01FEF000-0x01FEF494)
4294768222 PID:41fe6372 TID:41feaf42 0x81fe6000: Loading partition driver mspart.dll hModule=81FAB000
4294768222 PID:41fe6372 TID:41feaf42 0x81fe6000: Driver mspart.dll loaded
4294768222 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
logical sector 0x0!!!
4294768223 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for
logical sector 0x00000000
4294768223 PID:41fe6372 TID:41feaf42 0x81fe6000: Opened the store hStore=000B3F00
4294768223 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
logical sector 0x0!!!
4294768224 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for
logical sector 0x00000000
4294768224 PID:41fe6372 TID:41feaf42 0x81fe6000: NumSec=3780 BytesPerSec=512 FreeSec=0 BiggestCreatable=0
-------------------------------------------------------------------------------------------------------------------------//
--
Maen Tag: G.729 codec Tag: 40504
Intermittent USB failures
Hi!
We are using the Samsung S3C2410 BSP on our hardware,
parallel with the SMDK 2410. On both platforms we are
experiencing intermittent USB problems when attaching a
USB keyboard.
I've added the OHCD controller and the USBHID class
driver, and I usually get the keyboard to function
correctly (only english mode though). However, every once
in a while, the keyboard stops workings when cold booting
the system. Usually, a reset is the solution to have the
USB keyboard operate again. I've read the USB Host
registers and seen that there is a difference between when
the keyboard works and when it doesn't.
Does anyone have an idea about this problem? Is it
possible to reset the USB driver so that it reloads after
all other drivers have loaded?
Any ideas on how to solve the problem are appreciated!
/Marcus
I was thinking it might be a mist Tag: G.729 codec Tag: 40501
RegFlushKey did nothing
I am using the IPSM data storage and registry backup features. At
boot up, the ReadRegistryFromOEM was called. When I backup the
registry by calling RegFlushKey(HKEY_LOCAL_MACHINE), the function
return with ERROR_SUCCESS. However, it does not call the
WriteRegistryToOEM function. I have successfully called the
REG_FlashInitialize function and assigned the function addresses to
pReadRegistryFromOEM and pWriteRegistryToOEM respectively.
What caused the RegFlushKey doesn't call the WriteRegistryToOEM
function? Tag: G.729 codec Tag: 40495
battery fault on pxa-250
Hi:
I'm working with the pocketpc on the pxa-250 base system.
In the document it says that if set IDAE bit to 1 ,when battery fault occured,
the cpu will get into a data abort handler and then sleep.
If set IDAE to 0 ,CPU will sleep immediately.
When I set IDAE to 0,the PWR_EN go down as I make a battery fault signal
,and CPU get into sleep.
But if I set IDAE to 1,the PWR_EN never get low,and I don't know what routine
the system will run.
I've checked around the files ,and find some possible entry point when battery
fault occure but it seems that those ruotines have never been called .
What I found are kernel\hal\arm\oemabort.s,
Abort_handler and Batt_FaultHandler in kernel\hal\arm\fwxsc1.s .
Could someone gives me some hints about how the flow runs ,or are there
anything I don't notice.
Thanks in advance .
Regards.
Will
-- Tag: G.729 codec Tag: 40492
True Touch USB keyboard DEBUGCHK
Hi,
I am trying to get a True Touch Multimedia USB keyboard with built-in USB
hub to work in PB 4.2
(http://www.manhattan-support.com/driver-truetouch-keyboards.shtml, part no
337922).
I find that ohci2 detects it being attached and subsequently proceeds to hit
a DEBUGCHK on line 1511 of
$(_COMMONOAKROOT)\DRIVERS\USB\HCD\COMMONcdevice.cpp. Just before this line,
the following message is output: RETAILMSG(1, (TEXT("!CHub::AttachDevice
warning: invalid power configuration\n")));
It looks like it's failing to figure out how to power the keyboard, which
seems to remain unpowered and doesn't give any signs of life. Its hub
however seems to be operational, i.e. I can plug a mouse into it and the
mouse works.
Are there any magic registry settings I'm missing ? Has anybody had any
success with this particular keyboard in the past ?
Thanks in advance. Tag: G.729 codec Tag: 40491
about IDE device
hello
I use ce4.1,i find one problem about ide device,when ce startup ,i open
ide device need very long time ,why? this is bug? Tag: G.729 codec Tag: 40489
STN LCD device driver program
hello:
My LCD controller support STN and TFT screen. TFT LCD driver program has
been realization and it runs OK. Now, I wanna achieve STN screen based on
TFT program.
What code or which wince's gpe function must I modify? Thank you ! Tag: G.729 codec Tag: 40486
Error - Loading PSM (Persistent Storage Manager)
We included the PSM (Persistent Storage Manager) in our SA1110 WinCE .Net
built.
After executing the nk.bin we are getting the following error for the PSM.
0x8de4dc64: PSMFSD_MountDisk: FG_Init failed! status=ad
We did the following changes in the PSM_OEMInfo structure
static const PSM_OEMInfo oem_info = {
/* PhysicalReadStartAddress */ (VOID_PTR)0x00000000,
/* PhysicalWriteStartAddress */ (VOID_PTR)0x00000000,
/* PhysicalBurstReadStartAddress */ (VOID_PTR)0x00000000,
/* VirtualReadStartAddress */ (VOID_PTR)0xa4000000,
/* VirtualWriteStartAddress */ (VOID_PTR)0xa4000000,
/* VirtualBurstReadStartAddress */ (VOID_PTR)0xa4000000,
/* MaximumArrayLength */ 0x02000000,
/* MaximumRegistrySize */ 0x00000000,
/* ManagedAreaStart */ 0x01000000,
/* ManagedAreaLength */ 0x00200000,
/* ReadBusWidth */ 32,
/* WriteBusWidth */ 32,
/* BurstReadBusWidth */ 0
};
We have the 32MB Flash, on that 16MB for BOOT code/NK.bin.
So we started the ManagedAreaStart/FileArea at 16th MB.
Could you please help me to solve this problem.
Thanks
Zaid Tag: G.729 codec Tag: 40482
How to enable Stylus (TP Calibration Program ) in x86 Emulator mode
Hello,
I would like to have the Stylus program enabled under the
Emulator mode. I have checked through the "cesysgen.bat"
file and this program was included. However, I couldn't
see the "Stylus" program in the Emulator's control panel.
Must I need a Touch Panel to test out the "Stylus" on my
Emulator? Or does Emulator allow to have the "Stylus"
program running on my desktop computer (without Touch
Panel).
Thank you. Tag: G.729 codec Tag: 40481
How to add the serial port 4 in the wince4.1
I have a mainboard which has 4 com ports,but CE only have
3 ports to select.How can I do to use the com4? Tag: G.729 codec Tag: 40479
New Product Launch: Advantech CE-BUILDER 2.0
Product Launch
Advantech CE-BUILDER 2.0 ¡V The shortest path to Windows CE.NET
application
Advantech Co. Ltd., delivering hardware and software solutions that
empower the e-world, has released our powerful new Advantech CE-Builder 2.0
program, a ¡§total¡¨ Windows CE development solution designed to speed
time-to-market response and ease development of our customers¡¦ embedded
CE-based projects. Aimed at assisting customers with pre-sales inquires,
customization of CE OS solutions and after sales support and service, the
CE-Builder program has the flexibility to support customers at any level of
project complexity and development expertise. (more...)
http://www.advantech.com.tw/epc/newsletter/v94-08-21_03/
http://www.advantech.com.tw/solutions/ess/CE-Builder.asp?Category_ID=1-EE5PM Tag: G.729 codec Tag: 40475
KitlSend problem...
Dear All,
I have a problem of kitlsend problem when porting
XSC1BD BSP (using PB4.2) to PXA255. After KITL has
initalized successfully, it seems that device did not
received anything from workstation via kitlsend(). I'm
wondering whether I lost any component/function to
include or implement? Any advice would be greatly
appreciated.
Best Regards,
---------------------------------------------------------
+OEMKitlInit
ETHERNET Card is found
+EDBG:NE2000Init
-EDBG:NE2000Init
NE2000 Ethernet controller initialized.
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
Tx buffer [0xA0350400] to [0xA0354400].
Rx buffer [0xA034C3E0] to [0xA03503E0].
VBridge:: NK add MAC: [0-C-0-C-10-C]
Calling EdbgInitDHCP
-OEMKitlInit
Host connected
+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
ProcessAdminMsg: Receive Config message for service KDBG
KITL: Leaving polling mode...
KITL Checking client registrations
+RegisterClientPart2: Id 0x00000000
KITL Timer thread started, (hTh: 0x03CB7F86, pTh:
0x83CB4AC8)
-RegisterClientPart2
+RegisterClientPart2: Id 0x00000001
-RegisterClientPart2
KITL Creating IST
KITL Interrupt thread started (hTh: 0x83CA996E, pTh:
0x83CA9730), using SYSINTR 26
Enabling adapter ints...
0xE3CA9F92: KITLSend(0): Timed out waiting for ack
(AckExpected: 24, TxSeq: 32)
0xE3CA9F92: KITLSend(0): Timed out waiting for ack
(AckExpected: 24, TxSeq: 32)
:
: Tag: G.729 codec Tag: 40474
VS.NET 2003 won't connect to WinCE.NET 4.2 Device
Hi
We're developing a WinCE.NET 4.2 OS image for our mobile
device, but when testing VS.NET 2003 connectivity to the
device VS refuses to recognise it. Is there something we
need to do in Platform Builder (or elsewhere) so that VS
can recognise it? I've installed the Windows CE Utilities
for Visual Studio.NET 2003 Add-on Pack, but this didn't
solve the problem. ActiveSync connects to the device
using the USB port OK and we can read/write files to it.
Does VS look at some OEM info to determine if it can
connect? The OEM Info reports an ARM processor and an OS
verison of 4.20.
Thanks in advance
Leigh Tag: G.729 codec Tag: 40472
Why need PB connecting when booting and why not?
I build two platform for pxa250 with PB 4.1. The first bases upon
"PDA and Mobile Handheld Device" configuration. The second bases
upon "Media Application Device" configuration. Both enable KITL.
My question is:
Why does the first platform need PB connecting('Target'->'Connect') when it
boots ?
Why does't the second platform need PB connecting when it boots ? Tag: G.729 codec Tag: 40470
PCMCIA/CF without FPGA and SA1111
Hi,
Our board (using xscale PXA263) does not have SA1111 and FPGA. It is a
direct connection. We would like to know whether the Intel's PCMCIA driver
(In the xsc1bd BSP) still works by removing the SA1111 and FPGA? What are
the changes should we make?
Thanks Tag: G.729 codec Tag: 40469
ssiordia@harris.com
Hi Sonia,
I really would appreciate be kept in the picture about any delays on getting
a check out of Harris. As I said this is a big problem at this time for me.
Thanks
Sid.
--
----------------------------------------
Sid Price's Software Tools
http://www.softtools.com
----------------------------------------- Tag: G.729 codec Tag: 40457
Bluetooth sample in Platform Builder 4.2
I am developping a bluetooth application for the PocketPC
2003 iPaq. I installed Platform builder 4.20 and the
PocketPC SDK for VC++ 4.0. The iPaq I am using has built-
in bluetooth. I am trying to build the sample application
PhoneUI in the platform builder and run it on the actual
device (not the emulator). However, it complains about
linking errors becausing of the missing btdrt.dll file for
bluetooth. I've searched my computer and couldn't find
that dll, which I thought would come with the platform
builder 4.20. Do I need to build a custom OS using
bluetooth to load on the iPaq in order to write bluetooth
applications? Where can I find this btdrt.dll? Tag: G.729 codec Tag: 40455
First Processor programmer
Hi,
how do you load the bootloader for the first time in a new processor? By the
serial port?
Thank's in advance.
Un saludo,
Enrique Barceló Tag: G.729 codec Tag: 40433
Getting Started
Hello,
I am starting a WinCE embedded systems project. I would greatly appriciate
any help on where to start! Can I get everything I need from MSDN enterprise
edition? Is the Platform Builder is part of / or the same as of the the
Development Kit, and again are they included in the MSDN.
Thanks,
BenJ Tag: G.729 codec Tag: 40424
Getting Started
Hello,
I am starting a WinCE embedded systems project. I would greatly appriciate
any help on where to start! Can I get everything I need from MSDN enterprise
edition? Is the Platform Builder is part of / or the same as of the the
Development Kit, and again are they included in the MSDN.
Thanks,
BenJ Tag: G.729 codec Tag: 40423
I2C driver vs library ?
Can anyone give me a hand here? I am quite lost in developing my PXA25x I2C
driver.
I need to control some I2C components like the battery voltage, power
management, real time clock and IO line control. A stream interface driver
seems good cause it's easy to provide mutually exclusive access. However,
the real time clock control is at OAL layer (the OEMInit/InitClock and the
OEMGetRealTime). I have problem calling the CreateFile and DeviceIoControl
functions in OEMInit cause the stream driver hasn't yet been loaded by
Device Manager. So I guess I have to put the I2C library into the
Kernel\hal folder. But how can I avoid double-accessing the i2c bus?
Should I have a stream driver and static library at the same time? Should I
forget the stream driver and leave the I2C module in Kernel\hal or
drive_glob? In the latter case, should I use KernelIoControl/OEMIoControl
to access I2C module?
Thanks a lot for your insight and kind help!
Derek Tag: G.729 codec Tag: 40422
AUDIO and KITL problem
Hi,
I'm using an Advantech PCM 5820 with PB4.2.
Downloading the image with KITL to my board audio works fine,
while booting from compact flash or excluding KITL from image audio
doesn't work.
I greatly appreciate any suggestion.
Stefano Vaccari Tag: G.729 codec Tag: 40416
Link setting
Dear Greats,
I am using Windows CE 4.2 platform builder. I like to know "How to
give link for a appplication present in my Compact Flash"
Exact problem we are facing is.
I am having a application which i like to have separate from NK.bin
(the file is present in Compact flash).
If i want to run that application, then i want to switch to that
directory and execute. Instead i like to set a PATH (in DOS we do set
PATH=c:\Privatedirectpry) Like this is their any command / way to run
this application.
If the path of the application present is fixed, I can call the
application using the standard path. But the path can be vary
If the application is in CF then \Hard disk
If this is a DiskOnKey some other folder \usbdisk.
Expecting your answers greats. Advanced thanks
With regards,
avkumar. Tag: G.729 codec Tag: 40415
To clean the hive-base registry files
Hi all,
I used the hive-base registry.
I want to clean those files,system.hv and user.hv,when I
reset the terminal to factory-default property settings.
I read the document about
the "IOCTL_HAL_GET_HIVE_CLEAN_FLAG" and modify the
oemioctl.c file in order to implement my function.
Actually,I can't control or set up
the "IOCTL_HAL_GET_HIVE_CLEAN_FLAG" before a cold boot.
I think that Filesys.exe must read the flag in a cold
boot,but where I need to set the flag.
Does anyone have idea or solution?
Thanks and regards,
Ivan Wu Tag: G.729 codec Tag: 40411
Copying platforms?
Hi All,
We have a number of PB 4.2 workstations and have been trying to copy a
platform from one workstation to another, but every time we get an error
message saying that "one or more BSP's that are not installed were found in
the selected platform builder project file.".
The PB and BSP installations are (as far as we know) identical on all
workstations.
Are we doing something wrong here? Should it be possible to copy a project
from one workstation to another, and if so how?
TIA,
Martin. Tag: G.729 codec Tag: 40406
Missing Registry on Host Computer (PB4.2)
Hello,
I have tried to reinstall PB4.2 but I always receive error
message shown below;
1) Unable to locate any installed processor. Please
reinstall Platform Builder.
2)Missing or corrupt Platform Wizard file (ceplatwz.pbx).
Unable to continue with the Platform Wizard. Please
reinstall.
Then I realized that my desktop computer has a missing
registry at "HKEY_USERS\S-1-5-21-1351052279-1384130426-
355810188-1109\Software\Microsoft\Platform Builder\4.21
\Build System\Components\Cpus". This registry will help PB
to locate the installed processor. I have tried to import
the registry but accessing error.
Could anyone help me to rectify the problem? Thank you. Tag: G.729 codec Tag: 40399