Hello,

I have an x86 emulator platform (copied from
the %_winceroot%\platform\Emulator directory).

I would like to run KITL over serial instead
of the DMA transport. (Might sound stupid, but
my purpose is to get an understanding how it
works before I port it to my custom ARM-based
platform)

I changed halkitl.c so it always calls InitSerial
and OEMInitSerial in halserkitl.c so it always
opens COM2 (KitlIoPortBase = (PUCHAR)COM2_BASE;).

If I open a terminal window I can see that the
emulator does output the bytes stored in
"packetHeaderStamp" when it starts.

But I don't manage to get platform builder to
connect to the emulator.

I think I've setup everything correctly. For
Download I have the Emulator, and set "Serial
Port 2" to "COM2".

For "Kernel Transport" I have Serial, with port
COM1, and a loopback cable between COM1 and COM2.

Using two terminal windows, I can see that the
cable works correctly.

I noticed that the CEPC platform has a quite
different halkitl.c and halserkitl.c, why is
that? What should I use?

Any ideas of how to troubleshoot this are welcome.


(What I really would like to do KITL debugging over
an USB controller, but I'm not really sure how to
do this, so I thought this was one way of learning.
I think what I should do is to write a PDD similar
to PUBLIC\COMMON\OAK\DRIVERS\RNDISFN\NET2890 but
for the USB controller I use. Are there other samples
how this can be done??)


Thanks in advance.