I have been struggling to get remote debugging working with my target
machine. I first tried IEEE 1394, but after reading that some chipsets
have problems, I ordered the 1394 card from OSR and fell back to a null
modem cable. I can’t get that to work either.
I did do some searching, but the target machine’s setup might have
something to do with it. It’s a dual boot Win 7 and XP machine with
EasyBCD for the boot menu. I’ve found EasyBCD to be very touchy and
rather limited for the XP side. I’m trying to debug a driver on XP first.
It doesn’t look like it’s possible to set up multiple boot
configurations in boot.ini when dual booting with newer OSes. Maybe I’m
wrong there, but in any case I’ve put the debug information in the one
boot line in boot.ini so XP always boots to debug mode.
There is one com port built in that is connected to COM1. I’ve been
able to communicate across the null modem cable with Hyperterminal, but
no communication via windbg. All I get it the Waiting to connect…
message. The mother board has connectors for three other COM ports and
tried hooking up connectors to a couple of them. Oddly Windows comes up
with two Com ports enabled, but the second one varies between Com2 and
Com3. I put connectors on both and tried to communicate via
Hyperterminal with no luck.
The XP boot.ini parameters are:
/fastdetect /debug /debugport=COM1 /baudrate=38400
I tried this setup on another computer and the host saw it immediately
on boot, so the cable is good and the parameters worked on another
computer. The main difference with the other computer is that it only
has XP on it and I set a separate boot line for debugging which I select
from the boot menu when I want to go into that mode. I don’t think it
should cause a problem to only have one boot line with the debug info
there, but it’s getting to a point where I’m running out of
possibilities. Another possible problem is EasyBCD is doing something
that screws up enabling the boot parameters for debugging.
Am I going to have to kill the Win 7 boot on this computer to get
debugging happening? Why did Microsoft change the boot stuff anyway?
Bill