I have been using USB debug cable to debug my device driver for windows 7 with WinDbg.
I am using ?Ajays technology - NET20DC - Hi-Speed USB 2.0 Host-to-Host Debug Device? USB debug cable.
I configured the USB debug setting with the steps given in
http://msdn.microsoft.com/en-us/library/ff556869(v=vs.85).aspx
Also I made sure that my USB port had debug support.
My USb debugging setup is :
Host System : x86 desktop with Windows XP SP3
Target System : x86 desktop with Windows 7 (BIOS version : LENOVO 5CKT63AUS )
The steps I followed is
-
Configured the Target PC for USB debugging.
-
Connected the one end of USB debug cable to Host PC (windows xp service pack3), USB2.0 debug device driver is loaded.
-
Opened the Windbg and selected usb debugging and pressed ctrl+alt+k twice.
-
Connected the other end of USB debug cable on the Target PC which is configured for USB debugging and booted windows with debug enabled mode in boot menu
-
Now the Target system is hanging, and nothing appears on Windbg.
Note : In the same setup if I connect the USB debug cable in the target system after Windows logo appears, the connection is established. But the debugger is not breaking the loading of windows.
So my question is why the target system is hanging if I connect the usb cable to the target system before windows boots.
Because if I connect the cable after windows logo appears, there might be a chance that before I connect the USB cable, my driver to be debugged will be loaded.
So I cant debug our driver during loading.
And we didnt find option to “Disable USB Legacy support” in our target system BIOS. Could this cause the above mentioned issue?
Please help me to fix the issue
Thank you in advance
Dani