• 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 » Microcontrollers » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » USB Device controller RM48
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

USB Device controller RM48

USB Device controller RM48

This question has suggested answer(s)
Helmi Jouini
Posted by Helmi Jouini
on Jan 18 2012 17:11 PM
Prodigy90 points

Hello,

I have the RM48 Hercules™ ARM® Safety MCU Development Kit (HDK) with Cortex R4 Rm48L950. I am using Code Composer Studio 4.2. Do you have a working sample demonstrating how to use the USB Device (not the sci usb for debugging). I want to communicate with the PC over the USB Device (J16, USB Device Connector).

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Prathap
    Posted by Prathap
    on Jan 19 2012 09:44 AM
    Expert6185 points

    Hi Helmi,

    I have forwarded your request to the concerned team. We will get back to you as soon as possible.

    Best Regards
    Prathap

    ~~~ If a post answers your question, please mark it with the"Verify Answer" button. ~~~

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vanderwegen Martin
    Posted by Vanderwegen Martin
    on Jan 27 2012 02:44 AM
    Prodigy60 points

    Hello,


    I have the same board, and I want to communicate with the PC over the USB Device too
    Do you have news about sample code ?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Helmi Jouini
    Posted by Helmi Jouini
    on Jan 27 2012 07:09 AM
    Prodigy90 points

    No Not yet.  I am waiting since the last friday. I hope we receive an answer soon.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brian Fortman
    Posted by Brian Fortman
    on Jan 27 2012 09:39 AM
    Expert5255 points

    I apologize for the delay in responding.  There are two options coming for examples of a USB device stack support on the RM48HDK hardware supporting.

    1. Micrium uC/OS is developing an example for their RTOS using their USB stack and I will check on the latest schedule.  This should be available very soon.

    2. TI is working on a general purpose, RTOS-less example.  This project has a release timeline of early March and will be released to the Hercules wiki site: www.ti.com/hercules-wiki.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Helmi Jouini
    Posted by Helmi Jouini
    on Mar 04 2012 11:27 AM
    Prodigy90 points

    Any news?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Helmi Jouini
    Posted by Helmi Jouini
    on Apr 03 2012 11:10 AM
    Prodigy90 points

    Hello

    Is the USB Stack for Hercules RM48 released?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vanderwegen Martin
    Posted by Vanderwegen Martin
    on May 07 2012 04:35 AM
    Prodigy60 points

    Hi,

    no news ?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brian Fortman
    Posted by Brian Fortman
    on May 23 2012 08:01 AM
    Suggested Answer
    Expert5255 points

    Sorry for the delay in making this post.

    The USB stack release is included in Halcogen 3.01.00 which should be posted on the TI web about June 11th.  www.ti.com/tool/halcogen

    Here’s the scope for USB in HALCoGen 3.01.00 release:

    1. HAL Driver for USB-Device
    2. CDC Class implementation for USB-Device
    3. Example application to demonstrate the usage of the CDC Class

    With the HALCoGen release, we will also have a Wiki page (www.ti.com/hercules-wiki) with description of the design & usage of these components.

    If you need further details on the implementation or have further requests feel free to post those here.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Scott Gove
    Posted by Scott Gove
    on Jun 24 2012 19:57 PM
    Prodigy140 points

    Hi,

    Just wondering about point number 3. Is the example application to demonstrate the usage of the CDC Class available? If yes, where can I find it?

    Thanks,

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pramod Bhardwaj
    Posted by Pramod Bhardwaj
    on Jun 25 2012 03:29 AM
    Prodigy450 points

    Scott, USB CDC Class is now available as a part of HALCoGen 3.01.00 release. For details of the stack please visit http://processors.wiki.ti.com/index.php/HALCoGen_USB_Device_-_driver_%26_CDC_Class

    For downloading the latest version of HALCoGen you can use the Auto-Update feature or visit http://www.ti.com/tool/halcogen.

    Regards,

    Pramod

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Scott Gove
    Posted by Scott Gove
    on Jul 01 2012 19:59 PM
    Prodigy140 points

    **************************UPDATE***************************************

    I tested it with the original CDC example and it happens the same. Does this mean this is the default behavior?

    Which interrupts should I enable? Step seven instructs to  "Step 7: Enable the USBD Interrupts on ‘VIM Channel 63-94’ tab " There is not such thing as VIM Channel 63-94 tab in HalCoGen 3.01 but I am assuming it refers to VIM Channel 64-95 in this version. The image is incomplete and does not show enabling USB_DSWAKERQON and USBRESETO. In addition, USB_IRQISOON is not market as enabled. I have ALL the 5 USB interrupts enabled as in step 8 I see that all are directed to serviceIrq routine. Please correct me if I am wrong.

    ********************END OF UPDATE**********************************

     

    Hi,

    Could anyone give me a hint or an explanation for the image below?

    I have been testing the CDC usb example. I modified the descriptor in order to have my own device. I have 4 endpoints and I changed the enpoint handler to receive the information and signal when I send information. The enumeration process is working fine and I see my device in Windows Device Manager.

    The problem is that I keep getting an interrupt and the program does not get a chance to return to the main loop. The issue is that when I read the interrupt source (uIrqSrc in the image) it returns zero. Half of the times it returns 0x80 (SOF) which should be normal. There are no other values for the interrupt source.

    Is there an explanation for a IntSrc = 0 within this function? 

    If not, what can be the explanation for this behavior? 

    Thank you,


     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pramod Bhardwaj
    Posted by Pramod Bhardwaj
    on Jul 04 2012 04:02 AM
    Prodigy450 points

    Scott,

    SOF is generated by the Host every 1ms. And this will flood the Device. Unless you are planning to use SOF for synchronizing you can disable the SOF interrupt. Regarding rest of the interrupts:

    • DSWAKEUP - We are not using the wakeup logic in USB, so you can safely disable this interrupt.
    • ISOC - The CDC Application does not use isochronous transfers, we have turned the interrupt off. 

    So the recommendation is to turn off the SOF, DSWAKEUP & ISOC interrupts.

    Since the IRQSRC is zero, it looks like the Device has not rcvd any transfers from Host. What are you running on the Host side?

    Your assumption on Step#7 is correct. We will rectify in the next Wiki update.

    Regards,
    Pramod 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Helmi Jouini
    Posted by Helmi Jouini
    on Aug 26 2012 15:36 PM
    Prodigy90 points

    Hi,

    Is the tutorial at http://processors.wiki.ti.com/index.php/HALCoGen_USB_Device_-_driver_%26_CDC_Class working with CCS 5.2?

    I tried this but without any success :(

    Please help!!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Helmi Jouini
    Posted by Helmi Jouini
    on Aug 26 2012 15:46 PM
    Prodigy90 points

    Hi,

    Can you also provide the working example as CCS project.

    Thanks

    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