RE: Debugging over serial port in CE6?



As far as I could tell, loadcepc is not passing any boot args to the kernel,
so I went into the file:
D:\WINCE600\PLATFORM\COMMON\SRC\X86\COMMON\KITL\kitl_x86.c
and in the function OALKitlStart() made the serial port the default debug
transport type.

With this change, I am able to connect to the target through the serial port.

Does anyone know if loadcepc allows you to specify boot args so that you can
tell kitl which transport to use? Or maybe there is another way besides
changine kitl_x86.c.

Thanks,
Shawn Rosti

"Shawn Rosti" wrote:

Is there something different you need to do to jump to a run-time image and
debug over the serial port vs. the ethernet? I have kitl enabled in the build
options and I've booted up a debug variant from USB flash. I've configured
platform builder according to these instructions (w/ the transport settings
set to the serial port - I've tried both COM1 (0x3F8) and COM2 (0x2F8)):

http://msdn.microsoft.com/en-us/library/aa936373.aspx

However, these instructions indicate debugging over ethernet, but I think
serial debugging would be the similar. I do have LAN adapter installed on my
target, but it's not working, which is why I'd like to debug over the serial
port. Platform Builder just sits idly while trying to connect to target.

Thanks,
Shawn Rosti


.



Relevant Pages

  • Re: Ecos, LwIP, PPP and GPRS
    ... the modem has an IP stack built in. ... FTP is the most important right now. ... >>while printing the messages over another serial port. ... >Can you modify the debug output to go to a memory buffer instead of the ...
    (comp.arch.embedded)
  • How do I redirect debug messages to the serial port? (debugging 91c96 lan ISR routines on pxa255, PB
    ... like to get some debug information out of the ISR routines. ... messages would be redirected to the serial port if KITL was disabled. ... Debug Build with KITL turned off, Kernel Debugging turned off (and ... There was a suggestion to include the ethernet debugging libraries ...
    (microsoft.public.windowsce.platbuilder)
  • Re: COM3 on X86 Platfom
    ... registry and match the BIOS. ... Are you using a serial port for debug? ... I checked them with a registry ... Build a debug image and set a breakpoint in the Init function of the ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Serial port Debug messages
    ... It isn't necessarily so common that you would want debug output going to a ... So of course if opening the serial port changes the baud ... then the debug port will not work as desired. ... The debug output uses OEMWriteDebugString, ...
    (microsoft.public.windowsce.platbuilder)