V-USB, ATmega32, C#, VS 2015

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
antibalda

V-USB, ATmega32, C#, VS 2015

Post by antibalda » Fri Aug 19, 2016 11:06 pm

Hello,
I have a problem with the USB-ATMEGA32. Communication works in one direction only AVR -> PC. From the PC can not write data to the AVR. AVR use in HID interface 0x16c0 VID and PID 0x05dc, this is OK. PC application is programmed in Microsoft Visual Studio 2015, and use a library of these sites: http://www.florian-leitner.de/index.php ... r-library/. The device driver sees, but can not write data to it. I tried another library "AHID", but it also did not work.
Please help me with this problem.
Thank you

declan smith
Rank 1
Rank 1
Posts: 32
Joined: Fri Nov 02, 2012 3:26 pm

Re: V-USB, ATmega32, C#, VS 2015

Post by declan smith » Mon Aug 22, 2016 7:11 am

use "usbFunctionWrite()" in the driver to get the data from host.

Post Reply