KITL is corrupted by LCD Driver

windows ce

    Next

  • 1. bytes sent and recieved orange b/band connection
    Could someone please tell me if this is normal input and output ? sent 406,637 recieved 1,568,413 speed 2.2mbps (orange broadband connection) All that is running is my broadband connection, msn, this web page... as it seem very high to me. Many thanks -- john
  • 2. File system used in Wince5.0
    Hi Guys, Can you people provide me some information regarding the File system used in Win CE 5.0 with regards, Chandra.
  • 3. Thin Client & Wi-Fi
    I develop Win CE 5.0 image based on the Thin Client template, I'm trying include support Wi-Fi to my CE image. Wi-Fi hardware successfully detected and works fine but dialog to configure Wi-Fi connection doesn't displayed. I debug my image and found that NetUI wait when SHEL API will registered, but standard shell doesn't included to my CE image, because my image used WBT shell. Any advise or thinks?
  • 4. Driver loads and unloads immediately
    Hi, My driver registry looks like this [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\vpu_usr] "Dll"="vpu_usr.dll" ;Flags==10 is DEVFLAGS_LOAD_AS_USERPROC ;Flags==2 is DEVFLAGS_LOADLIBRARY "Flags"=dword:12 "Index"=dword:1 "Order"=dword:2A "UserProcGroup"=dword:3 ; // default to group 3 "Prefix"="VSA" And def file looks like this LIBRARY vpu_usr EXPORTS DllEntry VSA_Init VSA_Deinit VSA_IOControl VSA_Open VSA_Close When i load this driver using ActivateDeviceEx(), dll gets attached, VSA_Init is called and immediately dll gets detached. Anything else should be added here? Thanks Veer
  • 5. Adding an application to contro panel
    hello I m working on wince 6.0 mainstone platform I need to add an application to control panel.i tried adding it with the help provided for wince5.0. The icon is not coming but m able to load the module. what could be the problem. I m adding the icon to the resource file. Thanking you in advance Ammu

KITL is corrupted by LCD Driver

Postby U25vd01hbg » Sat, 20 Nov 2004 17:05:02 GMT

Hi All,

My system will hang at the end of following message:

0x8394b040: Display Driver Initialization Complete
0x8394b040: Bits-per-pixel: 8
0x8394b040: Adding font resource '\Windows\cour.ttf'...
0x8394b040: **** Signature of FONT File is: '0100'...
0x8394b040: Adding font resource '\Windows\tahoma.ttf'...
0x8394b040: **** Signature of FONT File is: '0100'...
0x8394b040: Creating secondary frame buffer for POR and SaveBits

And the serial port will repeatedly report KITL error message:
0x6399FC5E: KITLSend(0): Timed out waiting for ack (AckExpected: 176, TxSeq: 
18)

If I removed the LCD driver, the system can start up successfully.  And if I 
used POLLING mode in KITL, it can aslo run through with LCD driver. It seemed 
the LCD driver destroyed the KITL interruption processing.

Any suggestions on this issue?

Thanks,
SnowMan




Re: KITL is corrupted by LCD Driver

Postby Todd Krochta » Thu, 25 Nov 2004 05:12:26 GMT

What version are you running? 3.0,4.0,4.2,5.0???

Todd Krochta
Applied Data Systems








Similar Threads:

1.Release mode image runs with KITL enabled, hangs with KITL disabled

Hi,

I'm working on 6.0. I have unchecked 'KITL enable' and 'Kernel
Debugger' option in my workspace properties. Also the KITLIoctl call
in OEMInit is commented out. The message I'm getting on the serial
terminal is:

Jumping to image at 0x8000468C
Windows CE Kernel for ARM (Thumb Enabled) Built on Sep  6 2006 at
19:14:27
DCache: 64 sets, 4 ways, 32 line size, 8192 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size


.. and then it remains stuck there. None of the drivers are loaded as
I don't get the RETAILMSGs put in the Init() routine of each driver.

This problem is not noticed in debug mode though. I believe that I'm
not able to disable KITL properly and some OS service is getting stuck
due to that in release mode.

Best Regards,
Somraj

2.What is the difference of Active KITL and Passive KITL in perf

Thank you very much. Just like you say, I am confusing these concepts.


"Dean Ramsier" wrote:

> You're probably confusing active/passive kitl with interrupt/polling based
> kitl.  Active kitl means kitl starts immediately when the device boots.
> Passive kitl means kitl doesn't start unless something starts it (debugger,
> for example).
> 
> Polled and interrupt based kitl means exactly what they say, and yes polled
> kitl will be lower performance then interrupt driven.
> 
> -- 
> Dean Ramsier - eMVP
> 
> 
> "fred" < XXXX@XXXXX.COM > wrote in message
> news: XXXX@XXXXX.COM ...
> > Hi,
> >    Now my Active KITL has some error, so I use the Passive KITL. But I
> feel that the Passive KITL has a bad performance,isn't that?
> >
> > Fred
> 
> 
> 

3.What is the difference of Active KITL and Passive KITL in performa

Hi,
   Now my Active KITL has some error, so I use the Passive KITL. But I feel that the Passive KITL has a bad performance,isn't that?

Fred

4.Kitl connection doesn't. kitl on 4.2 SH4

Hello again All

I've determined that the system seems to hang right after it enters
KernelInit. After trying it on an Renesas eval board, the very same
code runs fine and does not hang.

This is what the code looks like:
---------------------
void KernelInit(void) 
{
#ifdef DEBUG
    lpWriteDebugStringFunc(TEXT("Windows CE KernelInit1\r\n"));
#endif
    /* setup the well known system API sets & API types */
    SystemAPISets[SH_WIN32] = &cinfWin32;
#ifdef DEBUG
    lpWriteDebugStringFunc(TEXT("Windows CE KernelInit2\r\n"));
#endif
----------------------
On the debug output I get the first debug blurb, not the second. I am
not sure if it is hanging on the  lpWriteDebugStringFunc or assigning
SystemAPISets[SH_WIN32]. I'll experiment using an ice tomorrow and
putting a forever loop  in so I can see what this thing is doing, but
have any of you guys seen this before?

Another thing I don't quite get is that lpWriteDebugStringFunc is tied
to a function that send through the serial port - I monitor that using
a terminal program.
Isn't the debug screen of platform builder tied to the ethernet port
(UDP, I think)? Is perhaps what is normally routed to the serial
output switched somewhere to the ethernet port by the kernel? (does it
have that ability?)

Appreciate any input.
Regards,
Remco




 XXXX@XXXXX.COM  (remcow) wrote in message :< XXXX@XXXXX.COM >...
> Hello all.
> 
> I have a headless SH4 platform, and am attempting to get CE4.2 running
> on it. The hardware is brand new, so it could be a hardware problem of
> sorts.
> 
> Basically, I get to a point in the debug where everything just stops.
> Don't get error messages at all and looking into the device with an
> ice it appears to still be running (it does not appear to totally step
> into the weeds).
> 
> The following is the last portion of my debug dump.
> 
> What would be a good place for me to look into? I am not positive on
> how the interrupts are tied from the 91c111 to the processor, but I
> don't think it is using interrupts at this point yet (they appear to
> be enabled later in the game)
> 
> Appreciate any help.
> 
> Regards,
> 
> Remco
>  
> /// debug dump from serial port
> Host connected
> Host IP: 165.88.81.123, port 2588
>  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
> SH3Init done.
> 
> //// ethernet debug on platform builder
> My PC's debug shows:
> <only latter part shown>
>       0 PID:0 TID:0       IntrPrio[109] = 00000001
>       0 PID:0 TID:0       IntrPrio[110] = 00000001
>       0 PID:0 TID:0       IntrPrio[111] = 00000001
>       0 PID:0 TID:0 DMAUCR = 0x00020000
>       0 PID:0 TID:0 PHCR (before)= 0x003c
>       0 PID:0 TID:0 PHCR (after) = 0x0000
>       0 PID:0 TID:0 Booting Windows CE version 4.20 for (SH-4)
>       0 PID:0 TID:0 &pTOC = 8c057680, pTOC = 8d483ad4, pTOC->ulRamFree
> = 8d4bd000, MemForPT = 00000000
>       0 PID:0 TID:0 
> Old or invalid version stamp in kernel structures - starting clean!
>       0 PID:0 TID:0 Configuring: Primary pages: 11071, Secondary
> pages: 0, Filesystem pages = 5535
>       0 PID:0 TID:0 
> Booting kernel with clean memory configuration:
>       0 PID:0 TID:0 Memory Sections:
>       0 PID:0 TID:0 [0] : start: 8d4be000, extension: 00003000,
> length: 02b3f000
>       1 PID:0 TID:0 Windows CE KernelInit

5.KITL can't obtain IRQ for KITL device

Hi All,

I am trying to get the KITL to work through Serial Port on OMAP5910 based 
board.
The boot loader connects to the host and downloads the WinCE image fine,
but when the image boots and tries to connect through KITL it hangs and I am 
not sure why.

-------------------------------------------------
Here is the output from the serial debug log:
-------------------------------------------------
ROMHDR at Address 01040044h
Image Start is 01040000
Image Length is 006669e0
Image Launch Addr is 01041000
Image ROMHDR is @ 0144e8a0

f_FlashImgLength= 00000000Branching to OEMSerialLaunch
OEMSerialLaunch:Image Start is 0x16a6de0
OEMSerialLaunch:Image Length is 0x6669e0

Waiting for JUMP Request from HOST..
header checksum fail
Received JUMP.
Launch Addr is 0x1041000
INFO:OALLogSetZones: g_oalLogMask: 0xb
Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at 18:21:58
ProcessorType=0925  Revision=2
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 84041110

Windows CE 5.0 OAL library for OMAP1510 SleepMed (Sep 16 2006 13:08:51)
DCache: 256 sets, 2 ways, 16 line size, 8192 size
ICache: 512 sets, 2 ways, 16 line size, 16384 size
OEMInit: Invoking InitEMIF
+OALArgsQuery(2)
Actual dwSignature = 0xDEAD1234
Expected Signature = 0xDEAD1234 or 0xDEAD1233
Booting Out of WinCe 5.0 Board
+OALArgsQuery(rc=-1543503820)
+OALArgsQuery(1)
Actual dwSignature = 0xDEAD1234
Expected Signature = 0xDEAD1234 or 0xDEAD1233
Booting Out of WinCe 5.0 Board
+OALArgsQuery(rc=-1543503839)
INFO: OALKitlStart Found KITL_ARGS at 0xA4000034
DeviceId................. SLEEPMED
pArgs->flags............. 0x1
pArgs->devLoc.IfcType.... 0
pArgs->devLoc.LogicalLoc. 0xfffb0000
pArgs->devLoc.PhysicalLoc 0xfffb0000
pArgs->devLoc.Pin........ 0
pArgs->ip4address........ 1.0.0.0
pDevice->Name............ OMAPSERIAL
pDevice->ifcType......... 0
pDevice->id.............. 0xfffb0000
pDevice->resource........ 0
pDevice->type............ 1
pDevice->pDriver......... 0x846b6000
+SerialInitx
   pAddress = 0xABFB0000
   BaudRate = 0xE100
   DataBits = 0x8
   StopBits = 0x1
   Parity   = 0x0
Configuring serial port, IOBASE = 0xABFB0000
Serial port configured for transport
-SerialInit
WARN: KITL can't obtain IRQ for KITL device
WARN: KITL will run in polling mode
WARN: KITL will run in polling mode1

Nothing is shown in Platform Builder debug window, after it seems to hang.
Does anyone have any idea or similar experience?

-Thanks,
Venkat

6. To Test Ethernet Driver in CETK is KITL required

7. how to update the driver dll without re-flashing and withoout kitl

8. Adding a KITL drivers in ARM BSPs



Return to windows ce

 

Who is online

Users browsing this forum: No registered users and 8 guest