News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

just question. on USB programming.

Started by anunitu, August 16, 2018, 02:40:05 AM

Previous topic - Next topic

anunitu

was just wondering how one would program for usb interface,not sure about what could be used from a USB port.

Are there ideas about this,or am I hoping for something not possible?

anunitu

did find this,so perhaps something to look into.

https://www.electronicdesign.com/boards/how-create-and-program-usb-devices

Any thoughts?

The site allows a PDF DL of the article  also.

FORTRANS

Hi,

   Benjamin David Lunt wrote a book on programming the USB
ports "USB:  The Universal Serial Bus (Volume 8)".  Some of his
posts can be read on the usenet board alt.os.development .

Steve N.

aw27

Quote from: anunitu on August 16, 2018, 02:40:05 AM
was just wondering how one would program for usb interface,not sure about what could be used from a USB port.

Are there ideas about this,or am I hoping for something not possible?

I think the first step is to download the Windows Driver Kit.  8)

Siekmanski

Look for libusb

https://libusb.info/
https://sourceforge.net/p/libusb-win32/wiki/Home/
https://sourceforge.net/projects/libusb-win32/

I once made an attempt to control a SDR dongle via usb, never finished it.
But got the USB part working.
Creative coders use backward thinking techniques as a strategy.

PaddyO

@Siekmanski

Any chance you can post some of that USB code? I'm playing around with an AirSpy and would love to experiment low level. I have the libusb stuff but prefer straight to the core. I'm more interested in learning than ease of use.

Siekmanski

You have to install the libusb-win32 device driver.
https://sourceforge.net/projects/libusb-win32/

The sources are far from finished but the USB part is working. Have fun. :t
Creative coders use backward thinking techniques as a strategy.