# US 2018/0321854 A1 · Sas/sata hard disk drive update via management controller

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0321854 A1
- Document ID: US20180321854A1
- Status: Published application
- Kind: A1
- Application number: 15/584,589
- Filed: 2017-05-02
- Published: 2018-11-08
- Earliest claimed: 2017-05-02
- Assignees: Quanta Computer Inc.
- Applicants: Quanta Computer Inc.
- Inventors: Te-Hsien LAI
- Web page: https://patentgrep.com/patent/US20180321854A1

## CPC

- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F 8/656: while running
- G06F 8/66: {of program code stored in read-only memory [ROM]}
- G06F 3/064: {Management of blocks}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 9/02: using wired connections, e.g. plugboards
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems of updating serial attached small computer system interface (SAS)/serial advanced technology attachment (SATA) hard disk drive (HDD) firmware (FW) using a management controller (MC) are provided. The method includes uploading the HDD FW to the MC via the local area network (LAN), breaking the HDD FW into a plurality of chunks, issuing a plurality of write commands and writing the plurality of chunks into the SAS HDD.

## Claims

### Claim 1

A method of updating a serial attached small computer system interface (SAS) hard disk drive (HDD) firmware (FW) using a management controller (MC), the method, performed by the MC, comprising:
uploading the HDD FW via the local area network (LAN);
breaking the HDD FW into a plurality of chunks;
issuing a plurality of small computer system interface (SCSI) Write Buffer commands with the plurality of chunks; and
writing the plurality of chunks into the SAS HDD.

### Claim 2 (depends on 1)

The method of claim 1, further comprising establishing a connection between a serial attached SAS initial port and an SAS target port.

### Claim 3 (depends on 1)

The method of claim 1, wherein the plurality of SCSI Write Buffer commands are issued one by one.

### Claim 4 (depends on 1)

The method of claim 1, wherein
a first SCSI Write Buffer command with a first chunk from among the plurality of SCSI Write Buffer commands with the plurality of chunks is issued prior to establishing the connection between the SAS initial port and the SAS target port; and
the first chunk is written into the SAS HDD once the connection between the SAS initial port and the SAS target port is established.

### Claim 5 (depends on 1)

The method of claim 1, wherein the plurality of SCSI Write Buffer commands with the plurality of chunks are issued through an inter-integrated circuit (I2C).

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
determining if the update of the HDD FW is complete; and
terminating the connection between the SAS initial port and the SAS target port based on the determination.

### Claim 7 (depends on 1)

The method of claim 1, wherein the plurality of SCSI Write Buffer commands with the plurality of chunks are issued through a Management Component Transfer Protocol (MCTP) over Peripheral Component Interconnect Express (PCIe).

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
determining if the update of the HDD FW is complete; and
terminating the connection between the SAS initial port and the SAS target port based on the determination.

### Claim 9 (depends on 1)

The method of claim 1, wherein if the SAS HDD is going through an Expander, the establishing comprises establishing the connection between the SAS initial port and the SAS target port through the Expander.

### Claim 10

A method of updating a serial advanced technology attachment (SATA) hard disk drive (HDD) firmware (FW) using a management controller (MC), the method, performed by the MC, comprising:
uploading the HDD FW via the local area network (LAN);
breaking the HDD FW into a plurality of chunks;
issuing a plurality of small computer system interface (SCSI) advanced technology attachment (ATA) PASS-THROUGH commands with DOWNLOAD MICROCODE ATA commands and the plurality of chunks; and
writing the plurality of chunks into the SATA HDD.

### Claim 11 (depends on 10)

The method of claim 10, further comprising establishing a connection between a serial attached small computer system interface (SAS) initial port and an SAS target port.

### Claim 12 (depends on 10)

The method of claim 10, wherein the plurality of SCSI ATA PASS-THROUGH commands with DOWNLOAD MICROCODE ATA commands are issued one by one.

### Claim 13 (depends on 10)

The method of claim 10, wherein
a first SCSI ATA PASS-THROUGH command with DOWNLOAD MICROCODE ATA command and a first chunk from among the plurality of SCSI ATA PASS-THROUGH commands with DOWNLOAD MICROCODE ATA commands and the plurality of chunks is issued prior to establishing the connection between the SAS initial port the SAS target port; and
the first chunk is written into the SATA HDD once the connection between the SAS initial port and the SAS target port is established.

### Claim 14 (depends on 10)

The method of claim 10, wherein the plurality of SCSI ATA PASS-THROUGH commands with DOWNLOAD MICROCODE ATA commands and the plurality of chunks are issued through an inter-integrated circuit (I2C).

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
determining if the update of the HDD FW is complete; and
terminating the connection between the SAS initial port and the SAS target port based on the determination.

### Claim 16 (depends on 10)

The method of claim 10, wherein the plurality of SCSI ATA PASS-THROUGH commands with DOWNLOAD MICROCODE ATA commands and the plurality of chunks are issued through a Management Component Transfer Protocol (MCTP) over Peripheral Component Interconnect Express (PCIe).

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
determining if the update of the HDD FW is complete; and
terminating the connection between the SAS initial port and the SAS target port based on the determination.

### Claim 18 (depends on 10)

The method of claim 10, wherein the SAS initial port is a Host Bus Adapter (HBA) and the SAS target port is an Expander.

### Claim 19

A system for updating a serial attached small computer system interface (SAS) hard disk drive (HDD) firmware (FW) comprising:
a management controller (MC);
the SAS HDD; and
a management software (SW),
wherein the management SW is configured to upload the SAS HDD FW to the MC; and
wherein the MC is configured to break the uploaded HDD FW into a plurality of chunks and issue a write command to write the plurality of chunks in the SAS HDD.

### Claim 20

A system for updating serial advanced technology attachment (SATA) hard disk drive (HDD) firmware (FW) comprising:
a management controller (MC);
the SATA HDD; and
a management software (SW),
wherein the management SW is configured to upload the SATA HDD FW to the MC; and
wherein the MC is configured to break the uploaded HDD FW into a plurality of chunks and issue a write command to write the plurality of chunks in the SAS HDD.
