This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Example Spectrum Digital SD

Other Parts Discussed in Thread: OMAP-L137

Hello everybody:

I am a little confused because I'm new to working in DSP. I have OMAP-L137 but I only am working with evmc6747.

My problem is I need to create a file in to SD card whit data (for example, numbers from 1 to 255) and then see this file in Windows.

 

In order to achieve this, I downloaded "revg_EVMOMAPL137_BSL.zip" from the spectrum digital software resourse. I load  "SD project" in to my DSP and  this is working fine (I can read the numbers with the same program), but I can't see the numbers in windows when I put the SD card in my computer.

I understand that because I know the programe just write datas, not a file. How can I see the dates created by DSP in a a file?

 

I will waiting for your replies.

Thanking you in advance, Paulina.

 

  • Paulina,

    Paulina Munoz said:
    but I can't see the numbers in windows when I put the SD card in my computer.

    Did Windows recognize that you inserted the SD card? You most likely have to verify that the information that you write to the SD card via the OMAP_L137 contains the correct formatting around the data for Windows to recognize that a 'file' in on the SD card. I'm not familiar with the exact format you need, but as a quick test, you can save a file with numbers onto the SD card via Windows, and then read back the data from the SD card on the OMAP-L137. This wouldn't necessarily give you the answer, but it might reveal some information that will help you understand the format.

  • Thanks for your answer, Drew

    Yes, Windows recognize the SD card.

    Drew Abuan said:

    You most likely have to verify that the information that you write to the SD card via the OMAP_L137 contains the correct formatting around the data for Windows to recognize that a 'file' in on the SD card.



    I know I am not doing it, because the proyect only write in a particular memory direction.


    Drew Abuan said:

    you can save a file with numbers onto the SD card via Windows, and then read back the data from the SD card on the OMAP-L137.


    I would love it but I don't know how to do it

    Have you some example or code able to create (or modify) a file into SD card with Omap-L137? Where I can get?


    Sorry, but I don't have experience in this kind of proyect. I attached the "sd proyect" wich I am working.8267.sd.rar.

    If I am in a wrong way, please tell me!

     

    I would appreciate any comment

    Thanks

    Paulina

  • Paulina, 

     

      You may wish to review the FAT file system, (or whichever file system your version of Windows Supports).This should allow you to understand the format of the SD card that windows expects so you can add your information within a file. I checked around, and I'm not currently aware of any example project for this that we can provide, however I suspect there may be some source code on the web somewhere to give you an example.

  • Thanks Drew, but I have searched some source code but I have not found. It is too sad don't find this kind of examples (create file into a SDcard) in TI, because this is very usefull.

     

    If somebody have some information how to make this, please tell me.

     

    Thanks

     

     

  • Paulina,

      It's hard to provide an example for every peripheral of every device. A lot of times, -someone- has written an example and with enough searching you can find one. You can also check the LogicPD Board Support Package. They might have an example since they utilize, or at least they used to utilize the MMC port) on their SOM Baseboards.

  • Yes the example just writes raw sectors on the card, to use the filesystem i recommend you port this http://elm-chan.org/fsw/ff/00index_e.html i have it running on my L138 great.

    Or if you just want to see the data you can use a program called WinHex. Its a advanced hex editor that allows you to open any drive on your PC as one big binary file so you can go to the same sectors the code written to and see the data and do whatever you want with it.

  • Paulina/Drew

    I know I'm a bit late on this discussion, but we offer a FAT32 file system for specific use with TI DSPs (and DSP-BIOS) and we do support the L137/L138 platforms. If purchased specifically for the L137 or L138 evms, we could provide a working example/test application.  This is an optimized implementation that supports pretty decent bit-rates.

    An overview of  the filesytem/device driver is here:

    http://www.appliedsignalprocessing.com/fatcfhd.htm

    Please contact us for any further info.  (information@appliedsignalprocessing.com)

    thanks,

    Shawn.