Ports
May 19, 2013, 08:35:49 am *
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: HID Help  (Read 2090 times)
Brewerswin28
Member
*
Posts: 4


« on: October 27, 2010, 11:24:11 am »

Hello Jan,

I am a student at UW-Milwaukee and I am trying to better understand communication with Humin Interface Devices.  I downloaded your example code "Generic HID" for VB.Net from your website www.lvr.com in the "The HID Page".  I am just testing to see if the program works correctly by trying to detect various devices.  I got the VID and PID from the device manager in my control panel and entered the hex values into the proper fields.  Unfortunately, when I click on the "Find My Device" button, it always displays "device not found".  I was just wondering if I need to configure a certain port, or if I am possibly doing something wrong.  Perhaps there is more that I need to do with this sample code than just plug in the device, ID's and click the button.  Hopefully you can help me out with this. Your assistance would be greatly appreciated.
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1625


WWW
« Reply #1 on: October 27, 2010, 11:27:56 am »

My generic HID examples detect HID-class devices that are not system keyboards or mice. It's designed mainly to exchange 2-byte reports with compatible devices. (See my HID page for device firmware.) What devices are you trying to access?

Jan
Logged
Brewerswin28
Member
*
Posts: 4


« Reply #2 on: October 27, 2010, 11:40:32 am »

The device that i would eventually like to connect to is a AT90USB24 chip.  I need to write a pc app to communicate with it.  At this point, all i want to be able to do is recognize that the device is plugged in to the USB port.
Logged
Brewerswin28
Member
*
Posts: 4


« Reply #3 on: October 27, 2010, 11:43:01 am »

correction: it is an AT90USB162
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1625


WWW
« Reply #4 on: October 27, 2010, 04:21:18 pm »

You need to program the device with HID firmware. See:

http://www.atmel.com/dyn/resources/prod_documents/doc7599.pdf

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!