Ports
May 19, 2013, 05:46:35 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: Hid1.0 low speed not working on AMD Machine  (Read 755 times)
kittu
Member
***
Posts: 16


« on: April 23, 2012, 11:49:24 pm »

Hello,

I am working with Cypress Hid 1.0 Low speed Device.

This Device Is working Fine With Intel machine but gives problem on AMD Machine.

My AMD Machine Confugration is
Processor : AMD sempron145,2.1ghhz
RAM        : 2gb
OS          : Winxp sp2


Usb Mouse & Keyboards are working fine on same machine but my device is not working.

as i debugg the code i found that below call gets failed

 Result=SetupDiEnumDeviceInterfaces
         (hDevInfo,
         0,
         &HidGuid,

before this function  we use

HidD_GetHidGuid(&HidGuid);   
   
   /*
   API function: SetupDiGetClassDevs
   Returns: a handle to a device information set for all installed devices.
   Requires: the GUID returned by GetHidGuid.
   */
   
   hDevInfo=SetupDiGetClassDevs
      (&HidGuid,
      NULL,
      NULL,
      DIGCF_PRESENT|DIGCF_INTERFACEDEVICE);
      
   devInfoData.cbSize = sizeof(devInfoData);

this function are working fine.

my device is suppose to be not enumrate with amd Machine

Let Me know what is the problem with AMD Machine.

Thank You.
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1625


WWW
« Reply #1 on: April 24, 2012, 07:51:06 am »

If the device doesn't show up as working in Windows Device Manager, it didn't enumerate successfully.

Use a protocol analyzer or whatever debugging tools you have to find out what the host is sending and how the device is responding during enumeration.

Jan
Logged
kittu
Member
***
Posts: 16


« Reply #2 on: April 25, 2012, 01:14:19 am »

Thank You For reply

i tried with sourceUSb protocol analyzer tool

but the problem is that machine is unable to find the device

so analyzer dose not get any input

is any other suggestion Huh

thank you
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1625


WWW
« Reply #3 on: April 25, 2012, 09:11:13 am »

Use a hardware protocol analyzer, a software analyzer that shows enumeration traffic, or other debugging tools such as a monitor program for your hardware.

Jan
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!