Recent Posts

Pages: [1] 2 3 ... 10
1
USB / Re: starter kits for usb learning and experimenting
« Last post by DavidHills on February 22, 2019, 06:14:15 am »
Thanks Jan for your quick response.

I am self learning USB for a simple marine echo sounder project.
I have a edition 2 of USB Complete, should I get a later addition? do your examples in the latter book use the same hardware/firmware platforms as edition2 ?

Would  you have any comments on pro's and con's between the two development kits below for a beginner learning about USB?(they are about same price)

CYUSB3KIT-003 AN75705 gets you started with the Cypress EZ-USB FX3 USB 3.0 device controller  https://www.cypress.com/part/cyusb3kit-003
and
Microchips PIC32 USB Starter Kit III https://www.microchip.com/DevelopmentTools/ProductDetails/dm320003-3 

thanks again


David


2
USB / Re: starter kits for usb learning and experimenting
« Last post by Jan Axelson on February 19, 2019, 10:12:12 am »
Yes, Microchip has extensive USB firmware with example code for different applications.
3
USB / starter kits for usb learning and experimenting
« Last post by DavidHills on February 19, 2019, 09:56:00 am »
Good Morning

I am currently reading an older edition of "Complete Usb" and want to get a development environment to experiment with, to get some
practical experience with USB technology.

i.e. enumerate the device and do some simple communication with it, perhaps using libusb and c++ in visual studio 2017.

would this be a suitable up to date starting point?

Microchips PIC32 USB Starter Kit III https://www.microchip.com/DevelopmentTools/ProductDetails/dm320003-3



thanks

David

4
USB / Re: SendOutputReportAsync not sending data to ble hid device
« Last post by Jan Axelson on February 09, 2019, 07:48:25 pm »
The Microsoft example above should work.
5
USB / Re: SendOutputReportAsync not sending data to ble hid device
« Last post by sd on February 08, 2019, 01:25:21 pm »
Sorry my bad. I was using your code - generic_hid_cs_v62. So in that I'm able to read 20 bytes of input report. Please guide me on how to send 20 bytes output report.
6
USB / Re: SendOutputReportAsync not sending data to ble hid device
« Last post by Jan Axelson on February 08, 2019, 09:57:21 am »
Perhaps your function call is passing only the first byte of the array, not the full array.
7
USB / Re: SendOutputReportAsync not sending data to ble hid device
« Last post by sd on February 07, 2019, 08:06:03 pm »
Hey Jan,

Everything works now! I just had one more question to ask, how do I send 20 byte output report? I know that I should assign values in outputReportBuffer but in the UI only a byte is being sent.
8
USB / Re: SendOutputReportAsync not sending data to ble hid device
« Last post by Jan Axelson on February 06, 2019, 11:01:16 am »
If the data is going out on the bus, be sure the HID's interrupt OUT endpoint is configured to accept data. How to do that varies with the chip architecture. Use whatever debugging tools you have to find out what happens when data arrives at the device.

InputReportBuffer[0] should equal the report ID for the desired report or zero if report IDs not used.
9
USB / Re: SendOutputReportAsync not sending data to ble hid device
« Last post by sd on February 04, 2019, 03:41:13 pm »
Hey Jan, during my google searches I had stumbled upon this code and I played with it but I'm getting the same 87 & 122 errors.

Also WriteFile is successfully sending data to BLE device but I cant see it on the device. Why so?

Will reading raw data help?

Even your code generic_Hid_cs_v62 does not work with BLE HID custom device.
Pages: [1] 2 3 ... 10