USB Delphi Component

This is the English forum for all topics related to IO-Warrior. Please post in English only

Moderator: Guido Körber

Post Reply
pauloalexandre
Posts: 1
Joined: Mon Dec 19, 2005 5:50 pm

USB Delphi Component

Post by pauloalexandre »

Do you know a USB component for Delphi 6 ? I want to perform a communication between a microcontroller with USB and a computer.,

Thanks

Paulo
Guido Körber
Site Admin
Posts: 2856
Joined: Tue Nov 25, 2003 10:25 pm
Location: Germany/Berlin
Contact:

Post by Guido Körber »

Are you asking about a topic related to our IO-Warrior chips, or is this a general programming question for some chip you are developing yourself?

If the second is the case then please ask in some general programming forum.
Robert Marquardt
Posts: 543
Joined: Mon Dec 01, 2003 6:09 pm

Post by Robert Marquardt »

There is no general purpose component possible.
Only the HID subclass of USB is accessible through my HID component which is also enclosed in the IOWKIT SDK.

Most classes of USB devices have a class driver in the common OSes.
Usually the device is then accessed through an API which is not USB specific at all.
An USB stick for example is a mass storage device and is accessed through the normal file system API aka file access.
CodeRunner
Posts: 1
Joined: Sun Mar 26, 2006 9:13 pm

Post by CodeRunner »

Hello,

we have a toolkit RapidDriver, intended especially for that purposes. You can download it at:
http://www.entechtaiwan.com/dev/rapid
mirza
Posts: 2
Joined: Fri Nov 17, 2006 6:03 am

Post by mirza »

Hello...

Hi Robert,

Thanks for your HID component.
I have been using the component for 2 months.
Now, i want to read/write FEATURE reports, but no success... :(
Could you help me?

Thanks a lot.

Best Regards,
mirza
Robert Marquardt
Posts: 543
Joined: Mon Dec 01, 2003 6:09 pm

Post by Robert Marquardt »

Use the SetFeature method. It works about the same as the WriteFile method.
The parameters are the report and the size of the report in bytes.
The feature report itself has of course to be declared in the report descriptor of the device.

I definitely know that it works. The KeyWarrior chips use a feature report to write the key table. The table writer app uses of course the HID component.
mirza
Posts: 2
Joined: Fri Nov 17, 2006 6:03 am

Post by mirza »

Hi Robert,

Thanks for your prompt reply...
Could you give me a simple example?

Thanks a lot.

Best Regards,
mirza
Guido Körber
Site Admin
Posts: 2856
Joined: Tue Nov 25, 2003 10:25 pm
Location: Germany/Berlin
Contact:

Post by Guido Körber »

This forum is for issues that involve our products, please take this discussion off board or to the USB IF webboard.
Post Reply