• 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 » StarterWare USB CDC problems
Share
StarterWare
  • Forum
Options
  • Subscribe via RSS

StarterWare USB CDC problems

StarterWare USB CDC problems

This question is answered
Björn
Posted by Björn
on Nov 17 2011 02:56 AM
Prodigy195 points

I've got some problems with the USB CDC example of the StarterWare package for OMAPL138 and Code Composer 5 (and an XDS100v2 JTAG emulator).

I) Since the project didn't have a .gel file to initialize the DDR controler I used an old one from Logic. On other projects, the file worked good, however, since I used it with the USB example, it gets reproducible stuck at two lines in the PLL configuration (setting GOSET in PLLCMD and PLLEN in PLLCTL). After outcommenting these lines it does work somehow... The annoying thing is that the problem now also occurs in other project, where it worked before.

II) Any time I terminate the debug session, power cycle the OMAP and reconnect via the green bug I get an Icepick error (-2131 @ 0x0). The only way I found to resolve this is to restart Code Composer.

III) getting past this mayhem, the USB CDC example doesn't work. It can't initialize the USB and always gets stuck in an infinite loop in function UsbPhyOn() in file 'usbphyGS60.c'.

IV) After replacing the USB initialization with some self written code, the example reaches the main loop. Anyway, a connected PC recognizes an 'unknown device', so the CDC code doesn't seem to register the device right.

StarterWare OMAPL138 USB CDC
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Baskaran Chidambaram
    Posted by Baskaran Chidambaram
    on Nov 21 2011 06:15 AM
    Expert4385 points

    Bjorn,

              Please try with the gel file from \\StarterWaere\tools\gel

    Regards

    Baskaran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Björn
    Posted by Björn
    on Nov 21 2011 06:46 AM
    Prodigy195 points

    Hello   Baskaran,

     

    Baskaran Chidambaram

             Please try with the gel file from \\StarterWaere\tools\gel

    I tried, but I get the same error: Target failed to write memory at 0x01C11138 (PLL0_PLLCMD), and a consecutive Data verification failure at 0xC1080000 in the DDR. The latter one of course is a logical consequence of the failed PLL initialization.

     

    Regards,

    Björn

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Baskaran Chidambaram
    Posted by Baskaran Chidambaram
    on Nov 21 2011 06:49 AM
    Expert4385 points

    which target board are you using.? Is it the AM1808 EVM from LogicPd or a custom board?

     

    regards

    baskaran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Björn
    Posted by Björn
    on Nov 24 2011 00:54 AM
    Prodigy195 points

    Hello Baskaran,

    I'm using a custom board. However, until a few weeks ago, I had no problems executing the gel files; this is a recent bug.

    And no, we didn't change anything on the hardware during the last weeks.

    Regards,

    Björn

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Baskaran Chidambaram
    Posted by Baskaran Chidambaram
    on Nov 24 2011 01:18 AM
    Expert4385 points

    The gel file supplied with StarterWare package assumes DDR start address as 0xC108000. For your custom board the DDR address might be different, so you may need to update the gel file for new DDR address.

    You have mentioned that the same set of files worked earlier. In that case I suspect your board went bad - to confirm this you can try with other binaries other than StarterWare.

     

    Regards

    Baskaran

    StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Björn
    Posted by Björn
    on Nov 24 2011 03:19 AM
    Prodigy195 points

    Hi Baskaran

     

    Baskaran Chidambaram

    The gel file supplied with StarterWare package assumes DDR start address as 0xC108000. For your custom board the DDR address might be different, so you may need to update the gel file for new DDR address.

    Our DDR memory lies at 0xC0000000 to 0xC3FFFFFF.

    Still, the DDR problem most likely is just a follow up of the real problem, that is, that the gel file fails to write bits GOSET in PLLCMD and PLLEN in PLLCTL. Any ideas about this?

     

    Baskaran Chidambaram

    You have mentioned that the same set of files worked earlier. In that case I suspect your board went bad - to confirm this you can try with other binaries other than StarterWare.

    Programs do work on the board, no matter if they are loaded from JTAG or SPI-Flash. It's the gel file that doesn't work.

     

    Regards,

    Björn

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Baskaran Chidambaram
    Posted by Baskaran Chidambaram
    on May 09 2012 04:35 AM
    Expert4385 points

    do you still have this issue

    Regards

    Baskaran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Björn
    Posted by Björn
    on May 11 2012 03:11 AM
    Verified Answer
    Verified by Baskaran Chidambaram
    Prodigy195 points

    Hello there!

    Baskaran Chidambaram

    do you still have this issue

    Yes an no.

    I)
    I've out-commented some lines in the GEL file, and now it works again. Which is shouldn't, as far as I understood it, but I've quit wondering about CC4 related issues a long time ago.
    So I think you can count this as solved.

    II)
    It's still there, but I got used to it.

    III), IV)
    Never got any respose 'bout these problems. After trying for some more time, I through the CDC example away and started again from scratch. This time it worked, so I don't need any help here any more, too.

    Regards,
      Björn

    Regards,
      Björn

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Baskaran Chidambaram
    Posted by Baskaran Chidambaram
    on May 12 2012 01:14 AM
    Expert4385 points

    Thanks for the update.

    For II i suggest you to post query in CCS forum as we (StarterWare team) have less insight into the issue.

    Regards

    Baskaran

    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