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.

Missing source in example of document SPRUGJ8C March 2011 for compilation

Other Parts Discussed in Thread: OMAPL138

Hello,

I'm evaluating SATA of OMAPL138 using Eva brd.

I failed to compile sample code in section 3 of document TMS320C674x/OMAP-L1x Processor Serial ATA (SATA) Controller (Literature Number: SPRUGJ8C March 2011) Where to find the whole source code for this example]

Use CCS v5.1.1. to create an empty project for C6000
There're so many compile error due to UNDEFINED
 
There must be some kind of header file for those missings

Any idea where to get the whole source file for this sample mentioned in this section

Thanks,

~Duy-Ky

  • It is my understanding that the code was suppose to be more like pseudo-code. There are no plans to release the code for productization and was not intended for customers to use as is. For SATA drivers we recommend using the BIOS PSP or Linux PSP based SATA drivers.

    Regards

    Mukul

  • I did try that package and ran into several critical problems

    1) It works with Hitachi HDD only

    2) It supports up to 128 GB for my Hitachi 500 GB. However I have full 500 GB when using Linux to do partition and format FAT32

    3) It's NOT recognized by many brand of USB-SATA cables, include a well-known StarTek after kept ordering different brand, but none works and ONLY my very old one sone somehow I got it few years ago !!!

    I do not believe this limitations come from HW chip itself, but rather from SW

    That's why I attempt to use this sample for further investigation

    Thanks,

    ~Duy-Ky

  • Duy

    I am not sure where you got the datapoints on Hitachi and 128 GB , I looked through the BIOS PSP release on the SATA driver

    http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/01_30_01/content/C6748_BIOSPSP_Datasheet.pdf

    It talks about a 500GB Seagate HDD being used to test (same on the Linux PSP side).

    There is also a device errata on GEN3 HDDs , can you please confirm that you are not running into issues because of that

    http://www.ti.com/lit/er/sprz301g/sprz301g.pdf  (2.1.22)

    Regards

    Mukul

  • Hi Mukul,

    1) I did look at that datasheet about the test and results on throughput

    2) I must have problem in SATA type as I could confirm the Hitachi I have is clearly stated SATA II, while not able to confirm 2.5" Seagate ones (500 GB and 750 GB)

    Thanks,

    ~Duy-Ky