• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 18, 2024, 01:50:33 pm

News:

SMF - Just Installed!


USB error in Debug Mode

Started by zerondeau, June 03, 2011, 11:30:59 am

Previous topic - Next topic

zerondeau

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

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.