Re: Windows CE image download

From: Oliver Münchow (omuenchow_at_NOSPAMgesytecDOT.de)
Date: 04/08/04


Date: Thu, 8 Apr 2004 13:15:40 +0200

Hi Mishooax,

the debug interface will be set by the loader. E. g. if you use a x86 with
loadcepc you can start your nk.bin file with 'loadcepc /b:38400 /c:1 nk.bin'
in this case your CEPC will send all debug messages to the terminal.

But the debug output you posted shows that your debug connection through
Platfrom Manager works fine and over serial connection you won't get anymore
output. The first question about the output would be if it was made with a
release or a debug image. If it's not a debug image, built one and load this
one, cause it will produce more debug output.
If you already did this and the debug output below is all you'll get then
your system hangs really early (the entry 'Double Fault' shows an
exception), cause it seems that your device has some problems with the BIOS
settings of your CEPC. If possible you should test to set your BIOS settings
to default values and retest it. Another possible test would be to detach
every hardware plugged into the machine (e.g. sound card, network card, usb
devices, etc) and only the minimal needed hardware (processor, graphic card,
RAM, keyboard) run.

Best regards,
Oliver Münchow

-- 
---------------------------------------
Gesytec GmbH    eMail:
52076 Aachen    omuenchowATgesytecDOTde
http://www.gesytec.de
"mishooax" <mishooax@yahoo.de> schrieb im Newsbeitrag
news:7477B3A4-10B1-42C2-B676-95C1178B6EFF@microsoft.com...
> Hallo Oliver!
>
> Can you please explain how to set the debug output? I've tried the null
modem cable solution you provided, but to no avail. The debug output can be
set from the PB? How? I'm not getiing any feedback on my hyperterminal
connection. Moreover, I/m getting the following message in PB after the
image download (I seems the debugger cannot start at all :( ):
>
> Kernel debugger is waiting to connect with target.
>       0 PID:0 TID:0 CEPC Firmware Init
>       0 PID:0 TID:0 RTC - Status Reg B - 0x02
>       0 PID:0 TID:0 PCIBIOS:: BIOS Address static map to addr=a00e0000
>       0 PID:0 TID:0 GetPicRoutingIrqTable: Start
>       0 PID:0 TID:0 search_pci_bios start
>       0 PID:0 TID:0 CE Ethernet Bootloader found 32Bit BIOS Entry
master_bios32=a00ff070 bios32_call_offset=1f080 for CE/PC
>       0 PID:0 TID:0 Return from First BIOS EAX=49435000
EBX=48bb0000,ECX=35de0000 EDX=ffd72497
>       0 PID:0 TID:0 32 PCI BIOS offset located.addr=48842497
>       1 PID:0 TID:0
> Double Fault -- backlink=0048
>       1 PID:0 TID:0 TSS=81f03ea0 EIP=8026ebab Flags=00013086
>       1 PID:0 TID:0 Eax=00000000 Ebx=81f150c4 Ecx=f000b0b4 Edx=ffffffd0
>       1 PID:0 TID:0 Esi=0000000e Edi=81f151c4 Ebp=81f150b8 Esp=81f15018
>       1 PID:0 TID:0 CS=0019 DS=0040 ES=0040 SS=0021 FS=0000 GS=0000
> Kernel debugger failed to connect with target (KDBG open stream failed).
> Debugger could not initialize connection.
>
> And the x86 board's bootup process freezes with the same "jumping to
0x0013A420" message.
> What can be done?
>
> Mishooax.
>
>      ----- Oliver Münchow wrote: -----
>
>      Hi Mishooax,
>
>      the problem is not a wrong jumping address. The problem is just that
CE
>      doesn't make any debug output to the attached display. It puts all
debug
>      messages to the debug output. You should set the debug output to the
serial
>      interface, connect a null-modem cable between your PC and the device,
start
>      a terminal programm at 38400-8-n-1 and watch what comes in. If you
don't
>      know what the messages tell just post them here and someone will
check it.
>
>      Best regards,
>      Oliver Münchow
>
>      P.S. If you need a deeper description about debug output etc. google
through
>      the newsgroups and you'll find plenty descriptions. ;-)
>      -- 
>      ---------------------------------------
>      Gesytec GmbH    eMail:
>      52076 Aachen    omuenchowATgesytecDOTde
>      http://www.gesytec.de
>
>
>      "mishooax" <anonymous@discussions.microsoft.com> schrieb im
Newsbeitrag
>      news:870C0D94-1595-4C2E-8361-A0D975A42989@microsoft.com...
>      > Hello!
>      >> I'm curently participating in an university project sponsored by
>      Microsoft - its goal is to develop an course on porting Windows CE to
a
>      specific platform (the emphasis is on the hardware part). But I've
been
>      having trouble with downloading an image on a Geode x86 board - the
image
>      downloads through the PC's ethernet port into the board's flash,  a
message
>      "jumping to address 0xhhhhhhhh" appears and then the whole thing
freezes,
>      and I get stuck with that message on the board's attached flat panel.
My
>      project leader told me there's a problem with the WinCE's memory
>      architecture, sometimes the address where the process jumps is not
the right
>      one.
>      >> If anyone has any advice, links or references to solving this
problem
>      please reply.
>      >> Mihai.
>
>
>


Relevant Pages

  • Re: error: The debugger KITL packet receive has timed out (looks like fail at kitl data command 0x2)
    ... I can use CE Target Control and get debug output from PB ... When using Ethernet KITL, I cannot use CE Target control and all debug ... the kernel debugger is enabled. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Stream Device Driver How-to
    ... I get the debug output as below that was taken from Hyperterminal hanging on ... beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Strange C error
    ... Getting debug output back via wimp error boxes sounds a bit painful! ... is the length of the icon's buffer? ... variables in a function with gcc? ...
    (comp.sys.acorn.programmer)
  • Re: Aewin EM6330 Problem for debugging
    ... The debug output you provided is from your bootloader. ... after the line "Lauch Windows CE from address 0x23E098". ...
    (microsoft.public.windowsce.platbuilder)
  • Re: BIOS loader question
    ... First you say it isn't working with LoadCEPC, and then you say "Both the release and debug versions can be booted via Ethernet". ... Although getting a system to boot directly from a hard disk is something I have to get to work eventually, my immediate objective is to have an OS image running on the target machine so that I can use it as a test platform for an application. ... I don't see anything in the debug output on my development machine when booting the debug version that looks alarming. ...
    (microsoft.public.windowsce.platbuilder)