• 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 » Digital Signal Processors (DSP) » OMAP™ Processors » OMAP-L13x, AM1x and C674x Processors Forum » Reading and writing to SDcard via DSP
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Reading and writing to SDcard via DSP

    Reading and writing to SDcard via DSP

    This question is not answered
    Amy Chua
    Posted by Amy Chua
    on May 13 2012 22:52 PM
    Prodigy210 points

    Hi,

    I am new to omap-l138. I used to work with tms320c6713.

    I understand that omap-l138 can only access the sdcard via ARM.

    Please advise if it is possible for the DSP to read/write data to the sd card without using the ARM.

    I am currently using the EVM but will soon proceed to the SOM.

    Hope i have been clear. Thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Rahul Prabhu
      Posted by Rahul Prabhu
      on May 17 2012 16:52 PM
      Genius16095 points

      Amy,

      It is possible for DSP to read/write data to the SD card without using the ARM. There is a MMCSD driver and example code in the BIOS PSP that demonstrates this functionality. I have provided the link where you can find the installer for the software package. Please ensure you download the appropriate package based on whether you are using BIOS 5 or SYSBIOS

      BIOS PSP:

      http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/index.html

      Regards,

      Rahul

      ---------------------------------------------------------------------------------
      Please click the
      Verify Answer button on this post if it answers your question.
      ---------------------------------------------------------------------------------

      OMAPl138 mmcsd
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Amy Chua
      Posted by Amy Chua
      on May 18 2012 03:15 AM
      Prodigy210 points

      Hi Rahul,

      Thanks for the reply.

      I keep getting error 13 at the MMC_identifyCard function.

      Any help?

      Thanks.

      Regards,

      Amy

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Accel Abarca
      Posted by Accel Abarca
      on Jul 04 2012 14:44 PM
      Prodigy150 points

      Hi Amy, 

      I had the same error than you, I was testing the identifyCard function with a 4GB Sdcard class 4 and I had the error 13. I repeated the test with a 2GB sdcard class 2 and this time functioned giving the rca number.

      At the moment I don´t know the exactly reason why the test worked with the 2GB sdcard, but I´m working in that. In parallel,  I´m trying to create the FAT directory. If you know something about that please let me know.

      Regards

      Accel

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Renjith Thomas
      Posted by Renjith Thomas
      on Jul 24 2012 06:37 AM
      Guru26150 points

      Accel & Amy,

      L138 doesn't support High capacity (SDHC) cards. SD cards above 2GB capacity belongs to SDHC spec and therefore it doesn't work. 

      -Renjith | www.pathpartnertech.com | Verify the answer if you think your query is resolved

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Mukul Bhatnagar
      Posted by Mukul Bhatnagar
      on Jul 24 2012 08:32 AM
      Mastermind24640 points

      Hi

      While the  MMC/SD controller on OMAPL138 is SDv1.1 compliant, it is tested and works with higher then 2GB SD cards. If you are working with the BIOS PSP drivers, you can look at  the datasheet for the drivers, and it lists out a 4GB and 8GB SD card as part of what is tested etc.

      What SDHC cards are you trying and would it be possible for you to try a Sandisk or Patriot card mentioned in the driver datasheet

      Regards

      Mukul

       

       

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Accel Abarca
      Posted by Accel Abarca
      on Jul 24 2012 09:19 AM
      Prodigy150 points

      Thanks for the answer.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Accel Abarca
      Posted by Accel Abarca
      on Jul 24 2012 09:22 AM
      Prodigy150 points

      Hi Mukul, 

      I´m trying with a Kingstone SDcard (2GB and 4GB). I will try with a Sandisk or Patriot, maybe with one´s of them it will work.

      Thanks for the answer.

      Regards

      Accel

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Amy Chua
      Posted by Amy Chua
      on Jul 26 2012 05:13 AM
      Prodigy210 points

      Hi,

      I am using the SD card that comes with the EVM and a Sandisk SDHC 4gb card.

      I am now able to identify both cards and they do return with a rca value.

      However, the test failed because i cannot write to the card.

      --- read/print chunk of sd memory ---

      MMCSD Status Refs: 0x301 0x0000 0x30

      error reading sd memory... try again.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Amy Chua
      Posted by Amy Chua
      on Aug 15 2012 04:06 AM
      Prodigy210 points

      Any help appreciated :)

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Renjith Thomas
      Posted by Renjith Thomas
      on Aug 15 2012 14:56 PM
      Guru26150 points

      If you can share the board and the required setup, I can help you out. If this is okay, please do mail me at renjith.thomas@pathpartnertech.com

      -Renjith | www.pathpartnertech.com | Verify the answer if you think your query is resolved

      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