• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » StarterWare » StarterWare forum » Does StarterWare USB implement "long items"?
Share
StarterWare
  • Forum
Options
  • Subscribe via RSS

Does StarterWare USB implement "long items"?

Does StarterWare USB implement "long items"?

This question is answered
Walter Snafu
Posted by Walter Snafu
on Feb 13 2012 02:34 AM
Expert2735 points

I'm thrilled by the recent availability of StarterWare.  I'm diving into it now.

I have a deep-down question for a specialist on the TI StarterWare USB team.  Does the StarterWare USB software (for C6748 or OMAP-L138) implement the HID specification (Human Interface Device specification) for "Long items" (as defined in Section 6.2.2.3, page 27, of the USB HID class definition)?  [Reference: http://www.usb.org/developers/devclass_docs/HID1_11.pdf] That would be very helpful to TI developers, like me.

 

 

Background:  The use of "Long items" (in the USB HID class) is the fastest, most convenient, most efficient way to occasionally transmit, say, framed blocks of 250 bytes to-and-from a USB device -- for use, say, in changing the signal processing parameters within an OMAP-L138, and for occasionally obtaining measurements from the device. The "block of bytes" is framed, with a beginning and end, where the n-th byte is immediately known to have a specific meaning. (This is unlike a "stream" of unframed bytes.)  The USB spec allows for this, In effect, you are telling USB to transport, say, 250 bytes, from here to there -- and it's done.  Easy and fast. Many TI developers could use this aspect of the USB specification.  Does TI StarterWare support it?

Note: If TI developers are forced to use the "Short items" (defined in Section 6.2.2.2, page 26), then they are forced to insert a one-byte "tag" before every "item" in memory (at the least these occur every fifth byte, and at worst they occur every other byte), and also to publish (within the USB device itself) a tedious "report" and "usage" about how each item is to be employed, complete with minimum and maximum allowed values for each item, and so forth.  As you might expect, this overhead is tedious to develop, quite wasteful of USB bandwidth, and completely pointless for many TI developers. 

The solution is to use Long items -- since these do not require inter-spacing "tag" bytes, and do not require reports, nor usage, nor items, etc. 

Technical note: The HID spec assigns special tag codes (0xF0 thru 0xFF) for implementing the above technique.

 

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Naga Sirish Kumar Sannala
    Posted by Naga Sirish Kumar Sannala
    on Feb 13 2012 03:58 AM
    Verified Answer
    Verified by BrandonAzbell
    Prodigy515 points

    Hi Walter,

    I am sorry to inform you, the current HID class implementation in StarterWare doesn’t include support for HID “Long items”.

    Regards

    Sirish

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use