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.

TUSB9261 SMART drive commands

Other Parts Discussed in Thread: TUSB9261

My customer is designing in the TUSB9261 on his Sitara board.  The SATA interface connects to a compact flash (CFast) from Cactus Technologies, which supports S.M.A.R.T., a feature the customer wishes to utilize.

The customer has the TUSB9261 EVM and has it connected to his Sitara board which is running Linux kernel v3.2.0.  Cactus' code uses SCSI ATA Translation (SAT) to access the SMART data from the flash device.  The customer is using SAT as well, but his code hangs whenever an attempt to access the SMART information from the flash card is made.

I have found other E2E posts which indicate (or imply) the TUSB9261 supports SAT (SCSI ATA Translation), but nothing stating definitively that SMART diagnostics are covered.

Can you confirm SMART support for the 9261 or give any advice to help move this along?  Thanks in advance.

  • Hello Peter,

    Let me contact the firmware developers and see if the TUSB9261 supports SMART.
    Regards,
    Diego.
  • Hello Peter,

    The firmware team said that The should use ATA Pass through to send the SMART command.

    Regards,
    Diego.
  • Thanks Diego,

    Follow-up question: is SAT supported in the 9261 firmware?

    Peter

  • Hello Peter, 

    Some commands are supported by SAT.  

    The following SCSI commands are supported for ATA devices (i.e. HDD):

    • INQUIRY (standard, supported VPD pages page, unit serial number, device ID, ATA info, block limits, block device characteristics, and logical block provisioning VPD page)

    • READ FORMAT CAPACITIES

    • MODE SENSE (6 and 10-byte)

    • MODE SELECT (6 and 10-byte)

    • READ CAPACITY(10 and 16-byte)

    • READ (6, 10, 12, and 16-byte)

    • REQUEST SENSE

    • TEST UNIT READY

    • WRITE (6, 10, 12, and 16-byte)

    • VERIFY (10, 12, and 16-byte)

    • START STOP UNIT

    • REPORT LUNS

    • PREVENT ALLOW MEDIUM REMOVAL

    • SYNCHRONIZE CACHE (10 and 16-byte)

    Generated on Fri Oct 3 2014 16:31:34 for TUSB926x Firmware by Doxygen 10 Software Architecture

    • UNMAP

    • SEND DIAGNOSTIC (default self-test only)

    • FORMAT UNIT (fmt_data=0, defect_list_format=0 only)

    • SECURITY PROTOCOL IN/OUT

    • ATA PASS-THROUGH (12 and 16-byte)

    For ATAPI devices such as CD/DVD/BD-ROM, all SCSI commands are passed directly to the device so command support depends on the device.

    Best regards,

    Diego.