• 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 » C6748 starterware usb mass storage demo run failed!
Share
StarterWare
  • Forum
Options
  • Subscribe via RSS

Forums

C6748 starterware usb mass storage demo run failed!

This question is not answered
Denny Yang99373
Posted by Denny Yang99373
on Aug 06 2012 20:23 PM
Prodigy80 points

Hi all,

I’m trying C6748_StarterWare_1_20_02_02\examples\evmC6748\usb_host_msc  but failed.

 I connect a fat32 format usb disk to logic pd L138 EVM usb otg port. And use CCS5.2 run this demo. First use gel file to set the cpu 300M ddr 150M and psc enable all.

then run this demo:

If use DMA_MODE the program always failed at usb_host_msc.c

 if(USBHMSCDriveReady(g_ulMSCInstance) != 0)

{
//
// Wait about 100ms before attempting to check if the
// device is ready again.
//
delay(100);

break;
}

When I disable DMA_MODE it always loop at usbhostenum.c

        while(g_sUSBHCD.USBOUTPipes[ulPipeIdx].eState == PIPE_WRITING)

        {

        }

Do you have any commits? Thanks!

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vinay Kumar
    Posted by Vinay Kumar
    on Aug 07 2012 11:07 AM
    Intellectual300 points

    Hi Denny,

    Could you please test the prebuilt binary on your setup? The prebuilt binary can be located at -

    C6748_StarterWare_1_20_02_02\binary\c674x\cgt\c6748\evmC6748\usb_host_msc\Release\usb_host_msc.out

    Also, make sure that

    • Device is connected to logicPD USB OTG port using a Mini-A USB Connector 
    • Load the gel file from C6748_StarterWare_1_20_02_02\tools\gel\C6748.gel, before connecting to board.

    Please refer to User guide for details.

    If the prebuilt binary is working fine, then

    -          Build and test the example application without modification

    -          Test after adding the modifications one by one

    It is observed that non standard USB disks fail to function with starterware.

    Regards,

    Vinay

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Denny Yang99373
    Posted by Denny Yang99373
    on Aug 08 2012 21:40 PM
    Prodigy80 points

    Vinay,

    Thanks for your commits, I follow you instructions do the test.

    hardware: connect the usb disk to logic PD otg interface via mini-a cable(I have verified it use L138 SOM, run linux it can mount this disk)

    software:

    1,use the pre-build release version

    2,use starterware gel file(setup memory map->set cpu and ddr frequency->psc all on)

    it seems the same like debug version 

    1, the uart2 can output:

    "USB Mass Storage Host program

    Type 'help' for help

    NODEV>            "

    but I can't input anything.

    2,when I stop the program at ccs, it allways stop at 

    USBHCDPipeRead(.....)

    thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vinay Kumar
    Posted by Vinay Kumar
    on Aug 13 2012 10:06 AM
    Intellectual300 points

    Hi Denny,

    Could you please verify the setup with a different standard USB disk?

    The prebuilt binaries should work with logicPD EVM.

    If you are using gel file C6748_StarterWare_1_20_02_02\tools\gel\C6748.gel ;

    1. Load the gel file before connecting to board

    2. Connect to target (C674x)

    On target connect the gel file initailzies everything.

    You do not have to setup anything manually. Just load and run the prebuilt binary.

    Please let me know if this works for you.

    Regards,

    Vinay



    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Denny Yang99373
    Posted by Denny Yang99373
    on Aug 14 2012 05:23 AM
    Prodigy80 points

    Hi Vinay,

    I have test it follow your instructions.

    1,load gel before connect to c674x

    2,use pre-build binary file.

    3,use different use disk do the test.

    but failed , it still like previous description. 

    BR,
    Denny 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vinay Kumar
    Posted by Vinay Kumar
    on Aug 16 2012 06:24 AM
    Intellectual300 points

    Hi Denny,

    As i have told earlier, non standard USB disks fail to function with starterware.

    Could you please use a standard USB 2.0 compliant disk ?

    For ex:

    1. Kingston
    2. Transcend
    3. San disk
    4. HP
    5. Sony
    Regards,
    Vinay
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Denny Yang99373
    Posted by Denny Yang99373
    on Aug 16 2012 21:53 PM
    Prodigy80 points

    Vinay,

    Thanks for your help it can work now, here is my test result.

    1,kingston  dt101 g2  can work

    2,transcend 2GB jf t3  can work

    3,kawau sdhc mmc card reader can work

    4,lenove usb disk can't work

    5,aigo can't work

    2 conditions:

    1, usb 2.0 disk

    2,fat32 file system format

    BR,
    Denny 

    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