Re: Disabling debug info through serial port

From: Rob (Rob_at_discussions.microsoft.com)
Date: 12/30/04


Date: Thu, 30 Dec 2004 00:49:03 -0800

Hallo Remco,

Are we talking about the same file ?
I have modified C:\WINCE500\PUBLIC\COMMON\OAK\CSP\X86\OAL\debug.c
(CE5.0 PC platform)

When the IoPortBase remains 0, ALL serial debug functions in this file donot
work and the port is not initialized.

Since this is not working for me, I now doubt if the code changes actually
are active in my platform. I did "build and sysgen" and see that the file is
compiled.
(Since my kernel debugger is off, I donot see any debug output from it.)
That should be enough shouldn't it ?

I know that in CE4.2 there was an option "enable deptree build" , is there
something like this in CE5 too ?
or am I missing something else ?
Or is this just the wrong file ?
I hope to be able to avoid having to debug this, since I have a zillion
other things to complete, but maybe I will have to set this up anyway when I
donot get any results soon.

Greetings,
Rob.

"Remco" wrote:

> Hi Rob
>
> Ok, I think that change allows you to use the debug port for both debug
> and application. I think the routine that initializes the port and
> sends the data is actually still alive. Kill them by putting a return
> (without doing anything) on the OEMWriteDebugSerial function -- This is
> the one that actually sends your debug data out.
>
> Regards,
> Remco
>
>



Relevant Pages

  • Re: how can i make use of eVC++ for developing applications ?
    ... how can i port my application to my board. ... whenever you build your platform your project will automatically be ... If you download your OS to the board you can debug your ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Cant open Serial port
    ... serial port is opened, then start the debug output again when it closes. ... are you actually loading a serial driver ... After boot, I find my test program, double click it to run. ...
    (microsoft.public.windowsce.platbuilder)
  • [PATCH 09/12] i386/x86_64: EHCI usb debug port early printk support.
    ... With legacy free systems serial ports have stopped being an option ... to get early boot traces and other debug information out of a machine. ... EHCI USB controllers provide a relatively simple debug interface ... When the special feature of the EHCI is not enabled the port ...
    (Linux-Kernel)
  • Re: BIOS Bootloader - Help required
    ... The debug output will help us to identify the problem. ... to another COM port. ... >> nbesson AT adeneo DOT adetelgroup DOT com ... >>> I copied my OS image to the target device over serial port. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Serial driver changes from v5 to v7
    ... Better to have a "robust" printcap entry. ... I didn't mean that you are the only one who can debug a serial port ...
    (comp.unix.bsd.freebsd.misc)