Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

windows ce

    Next

  • 1. Why there are two platform selections in EVC for only one SDK?
    I build a emulator image in PB5, genetate an SDK and install it. Then I build a project in EVC4 and find that I have three SDK: STANDARDSDK_500, emulator1114 and emulator1114-STANDARDSDK_500. I can use the last one to build the project, but if I use emulator1114 it failed and the error is "LINK : fatal error LNK1104: cannot open file 'mfcs42d.lib'". What's the difference between emulator1114 and emulator1114-STANDARDSDK_500? What are they used for?
  • 2. I have a question about catalog in PB4.2
    Hello everyone! when I add a BSP package by click "Manage Catalog Features..." form "file" menu , it can finish and no error occur , but in Catalog window , I can not see the BSP I add before , I don't know what happen of my PB ? I have reinstall whole WINCE.net , but it does no help , can anybody help me ? I don't want to reinstall my whole XP system . thank you !
  • 3. Problem about demand page
    Hi all, My ultimate goal is to free up more RAM for application. My system configuration: 1. 64MB SDRAM 2. 64MB NAND flash 3. Nand flash has created BINFS partition in NAND flash for storing OS image. I read from the help that the OS be can demand paged from NAND flash. I checked with my config.bib and it has allocated 32MB for my Kernel region, which is equal to the compiled ROM size. My question is as follows: 1. If the OS can be demand paged, why it allocates such amount of RAM for the Kernel? I understand that a portion of the Kernel image should be read from NAND flash to SDRAM during startup, but why it has to load the entire image during the bootup into the SDRAM? 2. If my understanding is correct, the amount of RAM allocated to the Kernel in config.bib actually can be lowered. Am I correct? 3. If my assumption of point 2 is correct, how can I determine the minimum amount of RAM that should be allocated for the Kernel region? (And thus the amount of image that should be loaded in the bootloader during startup) Any comment is appreaciated. Thank you very much! Regards, Nicholas

migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby srinivas.anne@gmail.com » Thu, 12 May 2005 14:54:00 GMT

Hi All,

I am migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform.
The BSP is working fine with CE.NET 4.2.  The same BSP we built it in
CE 5.0 and downloaded into target device but image is not getting
displayed.  We debugged it and found that CE Core schedulerInit is
failing, means that MDCreateThread is executing but after that no
response.

MDCreateThread(pCurThread, pStack, pCurProc->e32.e32_stackmax,
(LPVOID)SystemStartupFunc, 0, TH_KMODE, 0);

RETAILMSG(1,(L"Sched: MDCreateThread is done\r\n")); //removable

what could be the problem? Any suggestion is appreciated..

Thanks in Advance
Srinivas


Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby TWlncmF0aW5nIENFLk5FVCA0LjIgdG8gQ0UgNS4w » Tue, 24 May 2005 15:33:01 GMT

Hi,

We are migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform.  The BSP 
is working fine with CE.NET 4.2.  The same BSP we build it CE 5.0 and 
downloaded into target device but image is not getting displayed.  We 
debugged it and found that CE Core schedulerInit is failed, means that 
MDCreateThread is executing but after that no response.


"<Drive name>:\WINCE500\Private\WINCEOS\COREOS\NK\KERNEL\kwin32.c"

    HeapInit();
    lpWriteDebugStringFunc(TEXT("HeapInit done.... \r\n"));

    InitMemoryPool();
    lpWriteDebugStringFunc(TEXT("InitMemPool..Done...\r\n"));

    ProcInit();
    lpWriteDebugStringFunc(TEXT("SchdInit....Starts.....\r\n"));

    SchedInit();
    lpWriteDebugStringFunc(TEXT("Scheduling the first thread. msg by 
Vadivel\r\n"));

"<Drive name>:\WINCE500\Private\WINCEOS\COREOS\NK\KERNEL\schedule.c"


MDCreateThread(pCurThread, pStack, pCurProc->e32.e32_stackmax, 

(LPVOID)SystemStartupFunc, 0, TH_KMODE, 0);

RETAILMSG(1,(L"Sched: MDCreateThread is done\r\n")); //removable

what could be the problem?


Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby Paul G. Tobey [eMVP] » Wed, 25 May 2005 01:26:49 GMT

There's a list of things that you have to do to port a platform to CE 5 in 
the help.  Which of those things have you done?

In the Contents of Help: How-to Topics | Migration How-to Topics...

Paul T.

"Migrating CE.NET 4.2 to CE 5.0" <Migrating CE.NET 4.2 to CE 







Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby TWlncmF0aW5nIENFLk5FVCA0LjIgdG8gQ0UgNS4w » Wed, 25 May 2005 13:16:02 GMT

i Paul G.Tobey,

Thank you for your quick response.

Yes, we followed microsoft guidance after that we are able to build a bin
file. After downloading the image into target, it is not comes up. Then we
build the <drive name>:\Wince500\private directory with debug/retail
message. We found that private\winceos\kernelos\nk\kernel\kwin32.c file
kernelInit function will do the following operation,

void KernelInit(void)
{
...
...
...
HeapInit();
lpWriteDebugStringFunc(TEXT("HeapInit done...\r\n"));
InitMemoryPool();
lpWriteDebugStringFunc(TEXT("InitMemPool..Done...\r\n"));
ProcInit();
lpWriteDebugStringFunc(TEXT("SchdInit....Starts...\r\n"));
SchedInit();
lpWriteDebugStringFunc(TEXT("Sched init done\r\n"));
}

we are getting all the debug message except "Sched init done", so again we
put the debug message in schedinit() function,
private\winceos\kernelos\nk\kernel\schedule.c

void SchedInit(void)
{
...
...
...

if (OpenExecutable (L"nk.exe", &pCurProc->oe, 0, 0)) {

DWORD dwReturnValue = LoadE32(&pCurProc->oe,&pCurProc->e32,0,0,0);

if( (dwReturnValue == ERROR_BAD_EXE_FORMAT) || (dwReturnValue ==
ERROR_OLD_WIN_VERSION) )
{
RETAILMSG(1,(TEXT("Scheduler: BAD exe format\r\n")));
}
else if(!dwReturnValue)
RETAILMSG(1,(TEXT("Scheduler: openexecutable 'nk.exe'
sucess\r\n"))); //Vadivel -removable

pCurProc->BasePtr = (LPVOID)pCurProc->e32.e32_vbase;
UpdateKmodVSize (&pCurProc->oe, &pCurProc->e32);

}

pStack =
VirtualAlloc((LPVOID)pCurProc->dwVMBase,pCurProc->e32.e32_stackmax,MEM_RESERVE|MEM_AUTO_COMMIT,PAGE_NOACCESS);
// need to call DoVirtualAlloc directly to bypass stack check

DoVirtualAlloc(pStack+pCurProc->e32.e32_stackmax-PAGE_SIZE,PAGE_SIZE,MEM_COMMIT,PAGE_READWRITE, MEM_NOSTKCHK, 0);

RETAILMSG(1,(L"Scheduler: dovirtualAlloc is done\r\n")); //Vadivel
-removable

RETAILMSG(1,(L"Sched: pStak:%8.8lx, pCurProc->e32.e32_stackmax :%8.8lx
\r\n", (DWORD)pStack, (DWORD)pCurProc->e32.e32_stackmax)); //Vadivel
-removable

MDCreateThread(pCurThread, pStack, pCurProc->e32.e32_stackmax,
(LPVOID)SystemStartupFunc, 0, TH_KMODE, 0);

RETAILMSG(1,(L"Sched: MDCreateThread is done\r\n")); //Vadivel -removable
...
...
...

}

In this schedinit() function is calling the MDCreateThread(..), after that
no response.
we captured the data from through hyper terminal,
..
..
..
OEMInit is done!!! by Vadivel0 bytes, checksum = 0x4
Booting Windows CE version

Booting kernel with clean memory configuration:d start 0x9F7000, length
0x2098, checksum 0xC31

Memory Sections:

[0] : start: 84070000, extension: 00002000, length: 01d8e000d...

Flash
FlashWrite: End of record,

Sp=ffffc7cc bytes, che

ARMInit done..

Windows CE KernelInit

HeapInit....Startse: Record start 0x

InitMemoryPool....Starts, msg by vadivel


ProcInit....Starts, msg by vadivelte: Writing record...

SchdInit....Starts....cord, wrote 0x3040 bytes, checksum =

ldr:OpenExe: nk.exe , starts...

ldr: OpenExecutable: plain name

OpenExecutable: Filesys not loaded, Opening from ROM

OpenFileFromROM:found

ldr: OpenExecutable is done

Thanks,
Vadivel


"Paul G. Tobey [

Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby Paul G. Tobey [eMVP] » Thu, 26 May 2005 02:43:20 GMT

ounds like you don't have your timer/scheduling tick interrupt enabled or
working.

Paul T.

"Migrating CE.NET 4.2 to CE 5.0"
< XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...



Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby TWlncmF0aW5nIENFLk5FVCA0LjIgdG8gQ0UgNS4w » Fri, 27 May 2005 00:37:27 GMT

Thank you for your support.

How do I check whether the timer/scheduling tick interrupt enabled or
working? I put the debug/retail message in <driver
name>:\WINCE500\PLATFORM\OMAP\Src\Kernel\HAL\

INTC.C //Interrupt module file

extern "C" int OEMInterruptHandler(unsigned int ra)
{
...
...
...
// Look up interrupt handler or return code.
switch( nCurrIRQBVal )
{
// System tick.
case INTC_IRQ_TIMER1:
RETAILMSG( 1, ( TEXT( "Intc: OEMInterruptHandler():
~~...INTC_IRQ_TIMER1...~~ = \r\n" )) );
nReturnCode = SysTimerInterruptHandler();
break;
..
..
..
}
}

Timer.c file

int SysTimerInterruptHandler( void )
{
...
...

// Check if we're doing interrupt timing.
if ( fIntrTime )
{
//has to comment, msg by vadivel
RETAILMSG( 1, ( TEXT( "Timer: fIntrTime \r\n" ) ) );
//end

// We're doing interrupt timing. Every other tick is a RESCHED.
dwIntrTimeCountdown--;
if (dwIntrTimeCountdown == 0)
{
dwIntrTimeCountdown = dwIntrTimeCountdownRef;
dwIntrTimeNumInts = 0;

// Adjust this since timer interrupt has not been cleared.
dwIntrTimeIsr2 = PerfCountSinceTick() -
READ_INTREG_ULONG( ( TIMER1_BASE + TIMER_LOAD_OFFS ) );

//has to comment, msg by vadivel
RETAILMSG( 1, ( TEXT( "Timer: (dwIntrTimeCountdown == 0) \r\n" ) )
);
//end
nRetVal = SYSINTR_TIMING;
}
else
{
//has to comment, msg by vadivel
RETAILMSG( 1, ( TEXT( "Timer: !(dwIntrTimeCountdown != 0)\r\n" ) ) );
//end

if ((int) (CurMSec - dwReschedTime) >= 0)
{
nRetVal = SYSINTR_RESCHED;
}
}
}
else
{
///has to comment, msg by vadivel
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );
//end
if ((int) (CurMSec - dwReschedTime) >= 0)
{
nRetVal = SYSINTR_RESCHED;
}
}

it is executing and I am getting the debug/retail message.

OEMInit is done!!! by Vadivel0 bytes, checksum = 0x4

Booting Windows CE version

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

...
...
...

Vadivel

"Paul G. Tobey [eMVP]" wrote:


Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby TWlncmF0aW5nIENFLk5FVCA0LjIgdG8gQ0UgNS4w » Fri, 27 May 2005 00:38:12 GMT

hank you for your support.

How do I check whether the timer/scheduling tick interrupt enabled or
working? I put the debug/retail message in <driver
name>:\WINCE500\PLATFORM\OMAP\Src\Kernel\HAL\

INTC.C //Interrupt module file

extern "C" int OEMInterruptHandler(unsigned int ra)
{
...
...
...
// Look up interrupt handler or return code.
switch( nCurrIRQBVal )
{
// System tick.
case INTC_IRQ_TIMER1:
RETAILMSG( 1, ( TEXT( "Intc: OEMInterruptHandler():
~~...INTC_IRQ_TIMER1...~~ = \r\n" )) );
nReturnCode = SysTimerInterruptHandler();
break;
..
..
..
}
}

Timer.c file

int SysTimerInterruptHandler( void )
{
...
...

// Check if we're doing interrupt timing.
if ( fIntrTime )
{
//has to comment, msg by vadivel
RETAILMSG( 1, ( TEXT( "Timer: fIntrTime \r\n" ) ) );
//end

// We're doing interrupt timing. Every other tick is a RESCHED.
dwIntrTimeCountdown--;
if (dwIntrTimeCountdown == 0)
{
dwIntrTimeCountdown = dwIntrTimeCountdownRef;
dwIntrTimeNumInts = 0;

// Adjust this since timer interrupt has not been cleared.
dwIntrTimeIsr2 = PerfCountSinceTick() -
READ_INTREG_ULONG( ( TIMER1_BASE + TIMER_LOAD_OFFS ) );

//has to comment, msg by vadivel
RETAILMSG( 1, ( TEXT( "Timer: (dwIntrTimeCountdown == 0) \r\n" ) )
);
//end
nRetVal = SYSINTR_TIMING;
}
else
{
//has to comment, msg by vadivel
RETAILMSG( 1, ( TEXT( "Timer: !(dwIntrTimeCountdown != 0)\r\n" ) ) );
//end

if ((int) (CurMSec - dwReschedTime) >= 0)
{
nRetVal = SYSINTR_RESCHED;
}
}
}
else
{
///has to comment, msg by vadivel
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );
//end
if ((int) (CurMSec - dwReschedTime) >= 0)
{
nRetVal = SYSINTR_RESCHED;
}
}

it is executing and I am getting the debug/retail message.

OEMInit is done!!! by Vadivel0 bytes, checksum = 0x4

Booting Windows CE version

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =
RETAILMSG( 1, ( TEXT( "Timer: !fIntrTime \r\n" ) ) );

...
...
...

Vadivel


"Paul G. Tobey [eMVP]" wrote:


Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby Paul G. Tobey [eMVP] » Fri, 27 May 2005 01:00:47 GMT

t's your hardware; you're the only one who would know that. You might make
sure that SYSINTR_RESCHED, I think it is, is being returned when the timer
interrupt ticks (the 1ms interrupt used for scheduling). If it seems to be
fine, you need to build a debug image and just capture the serial debug
output and post it. Someone may be able to spot something from that.

Paul T.

"Migrating CE.NET 4.2 to CE 5.0"
< XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...



Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby TWlncmF0aW5nIENFLk5FVCA0LjIgdG8gQ0UgNS4w » Sat, 28 May 2005 17:57:02 GMT

hanks Mr.Paul G. Tobey,

I checked it and its works fine. please see the debug list bellow,

Ethernet Boot-Loader for the
Texas Instruments OMAP EVM.

Build date: Nov 14 2002 at 12:23:53
Copyright (c) 2000 - 2002, Texas Instruments, Inc.
Portions copyright (c) 1995-2000 Microsoft Corporation.

EBOOT: Moving exception handlers from 0x84014DFC to 0x8802D000.
EBOOT: Calling OEMInit.
EBOOT: Initializing LAN9000 hardware.
+SMCInit

SMC card not detected, I/O base 0xA2000300, BSR: 0x0000FF9E
EBOOT: Could not find LAN9000 hardware.
EBOOT: Jumping directly to 0x40000
EBOOT: Jumping to image at 0x40000...
EBOOT: Leaving main().
Windows CE Kernel for ARM (Thumb Enabled) Built on May 18 2004 at 18:20:50

ProcessorType=0925 Revision=2

sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80041038

RelocInit: Relocating 580 bytes of SDRAM functions.

RelocInit: Relocating 184 bytes of ISRAM functions.

g_pSetEMIFFastRegs=0xa802f004.

OEMInit is done!!! by Vadivel

Sp=ffffc7cc

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =

Timer: !fIntrTime @ SYSINTR_RESCHED

Timer: SysTimerInterruptHandler done..

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =

Timer: !fIntrTime @ SYSINTR_RESCHED

Timer: SysTimerInterruptHandler done..

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =

Timer: !fIntrTime @ SYSINTR_RESCHED

Timer: SysTimerInterruptHandler done..
...
...
...

pl any one can suggest me, how to go about it.

Thanks,

Vadivel




"Paul G. Tobey [eMVP]" wrote:


Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby Paul G. Tobey [eMVP] » Sun, 29 May 2005 01:01:58 GMT

Don't cut pieces out of the debug output*! We need to see it to figure out
what might be happening...

Paul T.

"Migrating CE.NET 4.2 to CE 5.0"
< XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...



Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby TWlncmF0aW5nIENFLk5FVCA0LjIgdG8gQ0UgNS4w » Tue, 31 May 2005 22:09:40 GMT

hank you Mr. Paul for your help,

Find an debug build output, which I captured through hyper-terminal.

1)
Ethernet Boot-Loader for the
Texas Instruments OMAP EVM.

Build date: Nov 14 2002 at 12:23:53
Copyright (c) 2000 - 2002, Texas Instruments, Inc.
Portions copyright (c) 1995-2000 Microsoft Corporation.

EBOOT: Moving exception handlers from 0x84014DFC to 0x8802D000.
EBOOT: Calling OEMInit.
EBOOT: Initializing LAN9000 hardware.
+SMCInit

SMC card not detected, I/O base 0xA2000300, BSR: 0x0000FFFF
EBOOT: Could not find LAN9000 hardware.
EBOOT: Jumping directly to 0x40000
EBOOT: Jumping to image at 0x40000...
EBOOT: Leaving main().
OEMInitDebugSerial: KITL initialization failed.

OEMInitDebugSerial: KITL initialization failed.

Windows CE Kernel for ARM (Thumb Enabled) Built on May 30 2005 at 10:32:10

ProcessorType=0925 Revision=2

sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80041038

RelocInit: Relocated SDRAM functions start=0x8005e6a0, end=0x8005e8e4.

RelocInit: Size of relocated SDRAM functions=0x244.

RelocInit: Base of SDRAM relocate area=0x8404bc40.

RelocInit: Relocating 580 bytes of SDRAM functions.

g_pIdentifyFlash=0x8404bc44.

g_pInitIntelFlash=0x8404bd0c.

g_pInitIntelFlash=0x8404bde0.

RelocInit: Relocated SDRAM functions start=0x8005e8e8, end=0x8005e9a0.

RelocInit: Size of relocated SDRAM functions=0xb8.

RelocInit: Base of SDRAM relocate area=0xa802f000.

RelocInit: Relocating 184 bytes of ISRAM functions.

g_pSetEMIFFastRegs=0xa802f004.

Using SDF3 SDRAM timing configuration.

Flash clock frequency = 12000000 Hz.

Init: Found INTEL_STRATA_128 on CS0.

SetClock: Configuring for Full Synchronous mode...

OEMClockFreq = 12000000 Hz.
OEMClockFreqDSP = 12000000 Hz.
OEMClockFreqTC = 12000000 Hz.
OEMClockFreqDSPMMU = 12000000 Hz.
OEMClockFreqLCD = 3000000 Hz.
OEMClockFreqPerf = 3000000 Hz.
Using SDF0 SDRAM timing configuration.

Flash clock frequency = 84000000 Hz.

Init: Found INTEL_STRATA_128 on CS0.

SetClock: Configuring for Synchronous Scalable mode...

OEMClockFreq = 168000000 Hz.
OEMClockFreqDSP = 168000000 Hz.
OEMClockFreqTC = 84000000 Hz.
OEMClockFreqDSPMMU = 84000000 Hz.
OEMClockFreqLCD = 42000000 Hz.
OEMClockFreqPerf = 42000000 Hz.
Using SDF0 SDRAM timing configuration.

Flash clock frequency = 84000000 Hz.

Init: Found INTEL_STRATA_128 on CS0.

SetClock: Configuring for Synchronous Scalable mode...

OEMClockFreq = 168000000 Hz.
OEMClockFreqDSP = 168000000 Hz.
OEMClockFreqTC = 84000000 Hz.
OEMClockFreqDSPMMU = 84000000 Hz.
OEMClockFreqLCD = 42000000 Hz.
OEMClockFreqPerf = 42000000 Hz.
Splash+

LCDSetupInit+

LCDSetupRegs: LCD registers initial values.
LCD Control = 0xfe000cec.
LCD Timing0 = 0x27030cef.
LCD Timing1 = 0x802093f.
LCD Timing2 = 0xfc000002.
MCU_CKCTL = 0x250a.
LCDSetupRegs: Setting LCD registers for 240x320, 16BPP @ 60+/-3Hz.
LCDSetupRegs: LCD controller maximum frequency = 168000000.
LCDSetupRegs: Total PCLKs per HSYNC = 288.
LCDSetupRegs: Total HSYNCs per VSYNC = 333.
LCDSetupRegs: PCLKs per VSYNC = 95904.
LCDSetupRegs: PCLK (MIN, MID, MAX) 5466528, 5754240, 6041952 (Hz).
LCDSetupRegs: Frame buffer in ISRAM.
LCDSetupRegs: At LCDDIV = 8, LCDClockFreq = 21000000Hz,
PCD = 4, Total Divisor = 32.
PixFreq = 5250000Hz, FrameRate = 55Hz.
LCDSetupRegs: At LCDDIV = 4, LCDClockFreq = 42000000Hz,
PCD = 7, Total

Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby TWlncmF0aW5nIENFLk5FVCA0LjIgdG8gQ0UgNS4w » Wed, 01 Jun 2005 23:29:37 GMT

i Paul,
Here is the debug output,
Sent BOOTME to 255.255.255.255

ARP request received, response sent...
Locked Down Link 1

Src IP 172.29.4.100 Port 0800 Dest IP 172.29.6.26 Port 0C50

EthDown: Received TFTPD_OPEN for boot.bin.
EthDown: BIN image start 0x40000, length 0x1A11900.
EthDown: Downloading to Flash...
FlashFifo: Found INTEL flash.
FlashFifo: FIFOBase = 0xA4040000, FIFOTop 0xA5FC2000.
EthDown: Record start 0x40000, length 0x4, checksum 0x1EB.
EthDown: End of record, wrote 0x4 bytes, checksum = 0x1EB.
EthDown: Record start 0x40040, length 0x8, checksum 0x360.
EthDown: End of record, wrote 0x8 bytes, checksum = 0x360.
EthDown: Record start 0x40048, length 0x4, checksum 0x1CC.
EthDown: End of record, wrote 0x4 bytes, checksum = 0x1CC.
EthDown: Record start 0x41000, length 0xAA78C, checksum 0x40DE363.
FlashWrite: Record start 0x40000, length 0x4, checksum 0x1EB.
FlashWrite: Writing record...
FlashWrite: End of record, wrote 0x4 bytes, checksum = 0x1EB.
FlashWrite: Record start 0x40040, length 0x8, checksum 0x360.
FlashWrite: Writing record...
...
...
....

FlashWrite: End of record, wrote 0x1980 bytes, checksum = 0x9157C.
FlashWrite: Record start 0x0, length 0x80041000, checksum 0x0.
FlashWrite: End of image.
EBOOT: Flash programming complete. Total transfer average 49163 bytes/sec.
EBOOT: Jumping to image at 0x41000...
EBOOT: Leaving main().
OEMInitDebugSerial: KITL initialization failed.

OEMInitDebugSerial: KITL initialization failed.

Windows CE Kernel for ARM (Thumb Enabled) Built on May 30 2005 at 19:12:45

ProcessorType=0925 Revision=2

sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80041038

RelocInit: Relocated SDRAM functions start=0x8005e6f8, end=0x8005e93c.

RelocInit: Size of relocated SDRAM functions=0x244.

RelocInit: Base of SDRAM relocate area=0x8404bc40.

RelocInit: Relocating 580 bytes of SDRAM functions.

g_pIdentifyFlash=0x8404bc44.

g_pInitIntelFlash=0x8404bd0c.

g_pInitIntelFlash=0x8404bde0.

RelocInit: Relocated SDRAM functions start=0x8005e940, end=0x8005e9f8.

RelocInit: Size of relocated SDRAM functions=0xb8.

RelocInit: Base of SDRAM relocate area=0xa802f000.

RelocInit: Relocating 184 bytes of ISRAM functions.

g_pSetEMIFFastRegs=0xa802f004.

Using SDF3 SDRAM timing configuration.

Flash clock frequency = 12000000 Hz.

Init: Found INTEL_STRATA_128 on CS0.

SetClock: Configuring for Full Synchronous mode...

OEMClockFreq = 12000000 Hz.
OEMClockFreqDSP = 12000000 Hz.
OEMClockFreqTC = 12000000 Hz.
OEMClockFreqDSPMMU = 12000000 Hz.
OEMClockFreqLCD = 3000000 Hz.
OEMClockFreqPerf = 3000000 Hz.
Using SDF0 SDRAM timing configuration.

Flash clock frequency = 84000000 Hz.

Init: Found INTEL_STRATA_128 on CS0.

SetClock: Configuring for Synchronous Scalable mode...

OEMClockFreq = 168000000 Hz.
OEMClockFreqDSP = 168000000 Hz.
OEMClockFreqTC = 84000000 Hz.
OEMClockFreqDSPMMU = 84000000 Hz.
OEMClockFreqLCD = 42000000 Hz.
OEMClockFreqPerf = 42000000 Hz.
Using SDF0 SDRAM timing configuration.

Flash clock frequency = 84000000 Hz.

Init: Found INTEL_STRATA_128 on CS0.

SetClock: Configuring for Synchronous Scalable mode...

OEMClockFreq = 168000000 Hz.
OEMClockFreqDSP = 168000000 Hz.
OEMClockFreqTC = 84000000 Hz.
OEMClockFreqDSPMMU = 84000000 Hz.
OEMClockFreqLCD = 42000000 Hz.
OEMClockFreqPerf = 42000000 Hz.
Splash+

LCDSetupInit+

LCDSetupRegs: LCD registers ini

Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby Steve Maillet (eMVP) » Wed, 01 Jun 2005 23:49:50 GMT

I seem to have lost the actual problem original post but I'd be concerned 
about the following messages in the output:

"OEMInitDebugSerial: KITL initialization failed."

If KITL isn't set up to work correctly and the system is enabled for KITL 
then it will just stop and wait for a KITL connection that will never 
happen.

-- 
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby TWlncmF0aW5nIENFLk5FVCA0LjIgdG8gQ0UgNS4w » Thu, 02 Jun 2005 13:28:05 GMT

Hi Steve Maillet,

As per your statement,
"
 If KITL isn't set up to work correctly and the system is enabled for KITL 
 then it will just stop and wait for a KITL connection that will never 
 happen.
"  
in that case how I am getting other debug message like,

CDSetupInit+
LCDSetupRegs: LCD registers initial values.
    LCD Control = 0xfe000cec.
    LCD Timing0 = 0x27030cef.
    LCD Timing1 = 0x802093f.
    LCD Timing2 = 0xfc000002.
    MCU_CKCTL   = 0x250a.
LCDSetupRegs: Setting LCD registers for 240x320, 16BPP @ 60+/-3Hz.
LCDSetupRegs: LCD controller maximum frequency = 168000000.
LCDSetupRegs: Total PCLKs per HSYNC = 288.
LCDSetupRegs: Total HSYNCs per VSYNC = 333.
LCDSetupRegs: PCLKs per VSYNC = 95904.
LCDSetupRegs: PCLK (MIN, MID, MAX) 5466528, 5754240, 6041952 (Hz).
LCDSetupRegs: Frame buffer in ISRAM.
LCDSetupRegs: At LCDDIV = 8, LCDClockFreq = 21000000Hz,
    PCD = 4, Total Divisor = 32.
    PixFreq = 5250000Hz, FrameRate = 55Hz.
LCDSetupRegs: At LCDDIV = 4, LCDClockFreq = 42000000Hz,
    PCD = 7, Total Divisor = 28.
    PixFreq = 6000000Hz, FrameRate = 63Hz.
LCDSetupRegs: Using LCDDIV = 4, PCD = 7.
LCDSetupRegs: LCD registers final values.
    LCD Control = 0xfe000cec.
    LCD Timing0 = 0x27030cef.
    LCD Timing1 = 0x802093f.
    LCD Timing2 = 0xfc000007.
    MCU_CKCTL   = 0x250a.
LCDSetupDMA: DMA registers initial values.
    DMA LCD Control = 0x0.
    DMA LCD TopF1 = 0x11fc2000.
    DMA LCD BotF1 = 0x11fe781e.
LCDSetupDMA: Frame buffer in ISRAM.
LCDSetupDMA: Palette entry 0 (0x88000000) = 0x4000.
LCDSetupDMA: DMA registers final values.
    DMA LCD Control = 0x40.
    DMA LCD TopF1 = 0x20000000.
    DMA LCD BotF1 = 0x2002581e.
OEMInit is done!!! by Vadivel
OEMInit: is done! by Vadivel.
Booting Windows CE version 5.00 for (ARM)

&pTOC = 80049a74, pTOC = 81a4ff2c, pTOC->ulRamFree = 84087000, MemForPT = 
00000000

Old or invalid version stamp in kernel structures - starting clean!

Configuring: Primary pages: 7542, Secondary pages: 0, Filesystem pages = 3771

Booting kernel with clean memory configuration:

Memory Sections:
[0] : start: 84088000, extension: 00002000, length: 01d76000

Sp=ffffc7cc

ARMInit done.

Windows CE KernelInit

Heap Init done

Init memory Pool done

Proc Init done

Updated eptr->e32_vsize to = 000ac000

Scheduler: Do Virtual alloc is done

Scheduler: MDCreateThread starts...

pl can you give me a sucession/soluation that will useful to me.

Thanks,
Vadivel






Re: Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Postby Dean Ramsier » Fri, 03 Jun 2005 21:43:33 GMT

he messages you've referenced are output before the kitl link is
established. That's why you still see them on the serial port.

--
Dean Ramsier - eMVP
Vibren Technologies
http://www.vibren.com/Products/schema_bsp.htm


"Migrating CE.NET 4.2 to CE 5.0"
< XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...
3771
concerned
KITL



Similar Threads:

1.Windows CE 4.2 Application on CE 5.0 and CE 6.0

Hello,

I have an application written in C# using VS2005 targeting windows CE
4.2 Pocket PC phones. The application also uses some low level system
calls to handle SMSs and to do some raw read and writes on the SD
cards. Who difficult will it be to deploy the application on to a
Windows CE 5.0 and 6.0 device. Do the form factors and the system APIs
change significantly?

Regards,
Rithesh

2.CE 5.0 Profession/CE.Net 4.2 and Mobile 5

I have two types of handheld devices that I would like to write an app for 
(preferably a single app for both). One is running CE.5.0 
Professional/CE.net 4.2, the other is running Mobile 5.

I am experienced in VB.net 2005 but I have never developed for a mobile 
device before. The application is fairly simple. Some menus, getting some 
user input and then calling a stored procedure in SQL Server 2005 (or I 
could do web services if that is better). In some cases I will query data 
and show a list.

I have been reading up and I get confused on what is possible. Can I count 
that both of the above have compact 2.0 framework? Does CE.Net 4.2 come with 
compact framework or does that need to be installed?

These two devices are very similar (same screen resolution for example).

The vendors websites are pretty vague so I might need to contact them with 
further questions but I don't know what to ask.

So, my questions are:
    What needs to be in place/what should I check on that I could tell if 
these two devices could run the same app.
    Can I / should I call SQL Server directly from the device or would web 
services be better/easier way to develop.

Thanks,

Bruce Loehle-Conger 


3.Problems with Platform Wizard CE .NET 4.2 (create new Platform - msg: unable to locate processors)

Hi,

    I have installed CE .NET 4.2 Platform Builder many times from many
different sources but I'am having the same problem. As I try to create a new
Platform, I receive the following messages:
"Unabled to locate any installed processors. Please reinstall Platform
Builder."
"Missing or corrupt platform Wizard file (ceplatwz.pbx)."

    Please,    could  someone give me some help.

    Thanks.

Vinicius.


4.hard disk can not always be recognized on windows ce net 4.2 and x86 platform

when build platform using pb42,hard disk can not always be recognized on
windows ce net 4.2,the following is in detail:


intel815 recognized

intel845g can only be recognized by specifying ide resources and disabling
dma transmission in source files instead
of detecting resources automatically.

sis620(p6sep-me) can not be recognized
even specify ide resources and disable
dma transmission in source files.

can anybody tell me why?




Return to windows ce

 

Who is online

Users browsing this forum: No registered users and 1 guest