Author Topic: USB error in Debug Mode  (Read 950 times)

zerondeau

  • Newbie
  • *
  • Posts: 2
    • View Profile
USB error in Debug Mode
« on: June 03, 2011, 02:30:59 pm »
allo ,

Delphi 2007 and delphi XE on a   OS win7 x64

using a Microchip Pic32 in FULL speed


I have update my libraries from 9.15 to 9.17 and I have noticed that when I'm debugging
my application , I always have some errors from the pipes.



when I use nrUsb.sys     , it's return  ERROR_IO_PENDING
error come from  : 
function TnrSysUsbApi.DriverCall(code: dword; ptrOut: pointer; szOut: dword;
   

when I use WinUSb.sys  , it's return  Read or Write ERROR
error come from :
function WinUsb_ReadPipe(InterfaceHandle:dword; PipeId:byte;
function WinUsb_WritePipe(InterfaceHandle:dword; PipeId:byte;

 
all IN/OUT packets are transferts with my USB interface (test also with a USB sniffer and everything seem okay)

is it a problem or just a flag err when I'm debugging ?

Yves


Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: USB error in Debug Mode
« Reply #1 on: June 03, 2011, 03:14:26 pm »
Hello

It is not a error.

It is garbage debug output of handling the overlapped I/O operation.
We will remove this debug message in the next release.

Roman Novgorodov
DeepSoftware
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.