[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

USB communication; Win7; C/C++;


Thread replies: 6
Thread images: 2

How to send raw data, without USB protocols, handshakes... to USB port on Windows 7 using C or C++?
>>
You don't. The closest you'll get is using libusb.
Most parts of the protocol are handled by the driver and the IC.
If you want to do raw USB, just bit-bang it on an AVR/Arduino or do it using an FPGA.
>>
>>52634549
arduino + usb-shield?
>>
File: circuit-zoomed.gif (7KB, 362x194px) Image search: [Google] [Yandex] [Bing]
circuit-zoomed.gif
7KB, 362x194px
>>52635085
The shield does the same abstraction by adding a controller IIRC
Take a look at the V-USB library for AVR. It can also run on the Arduino.
You'll have add some components on the port (see pic), but it's not extremely hard.
>>
>>52636107
nice
>>
https://msdn.microsoft.com/en-us/library/windows/hardware/hh706187(v=vs.85).aspx

Welcome to Mordor.
Thread replies: 6
Thread images: 2
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK