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.

USB2.0-USB3.0 / SATA Bridge Controllers

Other Parts Discussed in Thread: TUSB9261

Dear All;

My question is;

Can TI's USB / SATA Bridge Controllers can send S.M.A.R.T ATA Commands from USB side?

I'm going to design USB / SATA Converter card to connect my SSD to PC over USB.

But, I also need to send SMART ATA Commands to SSD to set some parameters from PC.

I have written application code and it works on my recent SSD which is connected to directly SATA port of PC.

Need your urgent responses.

Regards.

Ilgaz

  • Hi Ilgaz,

    The TUSB9261 supports ATA pass-through commands so I believe you can send SMART commands using that method, however it hasn't been tested though. I would recommend trying this on a TUSB9261 DEMO board to see if it actually works.

    The SCSI/ATA translation layer handles SCSI commands from the active mass storage class (BOT or UAS) and is compliant to the following specifications :  AT Attachment 8 - ATA/ATAPI Command Set (ATA8-ACS), Revision 6. Multi-Media Commands 5 (MMC-5), Revision 4.  SCSI/ATA Translation 3 (SAT-3), Revision 2. SCSI Block Commands 3 (SBC-3), Revision 16.  SCSI Primary Commands 4 (SPC-4), Revision 16.

    For ATA devices, the SCSI block translates READ, WRITE, TEST UNIT READY, SYNCHRONIZE CACHE, ATA PASS-THROUGH, START STOP UNIT, commands to their ATA counterparts. Responses for all other commands are generated by the SCSI block for ATA devices.

    For ATAPI devices, all SCSI commands are passed directly to the device as PACKET commands, so command support depends on the device.

    All SCSI commands required by the USB MSC Compliance Specification for bootable direct-access block devices (PDT = 0x0) are supported.

    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)

    • 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)

    Best Regards,

    Alexis Cortes.

  • Dear Alexis;

    Tjanks for informations.

    Let me explain my real application.

    I have an encryption-capable SSD. To set encryption key into device, I should send SMART WRITE LOG (command byte 0xB0) command following with 512 byte which includes encryption key.

    We have designed USB/SATA Converter board with PLX OXU Series USB / SATA Converter bridge ic.

    But it's not capable to send given SMART command. So, we mind to design new one.

    Now I'm looking for an ic which is capable of sending SMART commands.

    To be sure, I'm going to purchase TUSB9261 DEMO and tested it with my current SSD.

    However, any information is helpful for me.

    Best Regards.

  • Any command including the one you mentioned should be able to be sent via ATA PASS-THROUGH if all the fields are properly populated.  Be very careful to encode the fields for the transfer length correctly.