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.

SATA access

Dear Sir:

I try to use C6748 SATA interface to access SATA hard disk. The related software version I use are:

CCSV3.3

DSP/BIOS 5.41.10.36

edma3_lld_01_11_00_02

rtfs_1_10_02_32

pspdrivers_01_30_01

biosusb_01_10_03

The target board I use is our own design. When I run C6748 experimenter test program, the response is:

-> Attempting to spin up SATA disk...

-> ...disk spin-up success.

Which means the SATA interface works. But when I run RTFS sata example program, the response is:

ATA Hard Drive Application Task 0 Starting.
Configured ATA drive.
Version : 0001.0100
NumOfCmdSlots : 32
NumOfPorts : 1
Speed : 3 Gbps
SATA:AHCI-CAP:SNCQ SSNTF SMPS SSS SLAP SAL SCLO SAM SPM PMD SSC PSC
Block Driver Initialization Succeeded
ATA Build: Debug.
SATA PHY Not initialized : offline
Check for SATA cable connected properly

I have read all related POSTs and try the method they pointed to, but I still could not get it done.

Did I miss some steps to setup? Could someone help me out?

Thank you so much.

Yu-Fu

  • Yu-Fu,

    1. If you are using SATA, check that the SATA_REFCLK source complies with datasheet table "SATA Input Clock  Source Requirements"

       Key Considerations for designing the Clocking Subsystem:
       A 100MHz reference clock is required by the processor when using SATA port.

    2. For high-speed interfaces for which no datasheet timings exist (ex.SATA),
    3. Ensure that the datasheet layout guidelines are adhered to
    4. Ensure that the SATA clock receiver is powered up via the PWRDN register in the SYSCFG module.

  • Hi, Pubesh:

    Thank you for your answers. Actually, I have run the same program on LOGIC C6748 EVM board. I got the same response as my target board. The EVM board info is:

    SOM: 101325 REV 5

    UI board: 1013527 REV 4 (1013126 REV A)

    Anyway, I will further check my target board and software in more detail.

    Yu-Fu

  • I have encountered the same problem as you, have you solved it? How to solve it? My QQ:625477784