TWI720468B - Firmware update method for pcie switch - Google Patents

Firmware update method for pcie switch Download PDF

Info

Publication number
TWI720468B
TWI720468B TW108115016A TW108115016A TWI720468B TW I720468 B TWI720468 B TW I720468B TW 108115016 A TW108115016 A TW 108115016A TW 108115016 A TW108115016 A TW 108115016A TW I720468 B TWI720468 B TW I720468B
Authority
TW
Taiwan
Prior art keywords
firmware update
peripheral component
interconnection switch
management unit
update file
Prior art date
Application number
TW108115016A
Other languages
Chinese (zh)
Other versions
TW202042058A (en
Inventor
清秀 泰
Original Assignee
神雲科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 神雲科技股份有限公司 filed Critical 神雲科技股份有限公司
Priority to TW108115016A priority Critical patent/TWI720468B/en
Publication of TW202042058A publication Critical patent/TW202042058A/en
Application granted granted Critical
Publication of TWI720468B publication Critical patent/TWI720468B/en

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

A firmware update method for PCIe Switch is implemented by a firmware update system, the firmware update system includes a BMC connected to a computer host via a communication network, and a PCIe Switch connected to the BMC, the PCIe Switch is connected to the UART of the BMC via its UART, the method contain: (A) the BMC, and after receiving a firmware update file from the computer host and related to the PCIe Switch, transmits the firmware update file to the PCIe Switch;(B) the PCIe Switch, and after receiving the firmware update file, generates and transmits a successful response reply to the BMC;(C) the BMC, and after receiving the successful response, generates and transmits an update command related to the firmware update file to the PCIe Switch;(D) PCIe Switch, and after receiving the update command, updating according to the firmware update file;(E) PCIe Switch, and after the firmware update file is updated, the firmware update file is restarted and executed.

Description

周邊元件快速互連切換器的韌體更新方法Firmware update method of peripheral element rapid interconnection switch

本發明是有關於一種韌體更新方法,特別是指一種用於周邊元件快速互連切換器的韌體更新方法。 The present invention relates to a firmware update method, in particular to a firmware update method used for a peripheral element to quickly interconnect a switch.

參閱圖1,傳統的周邊元件快速互連切換器9(Peripheral Component Interconnect Express Switch,簡稱PCIe Switch)的韌體更新方法,是藉由一電腦8透過一電腦端通用非同步收發傳輸介面81(UART,Universal Asynchronous Receiver/Transmitter)與該周邊元件快速互連切換器9的一切換端通用非同步收發傳輸介面91實體連線溝通以進行韌體上的更新。 Referring to Figure 1, the traditional Peripheral Component Interconnect Express Switch (PCIe Switch) firmware update method uses a computer 8 through a computer-side universal asynchronous transceiver interface 81 (UART , Universal Asynchronous Receiver/Transmitter) and a switching end of the peripheral component rapid interconnection switch 9 are physically connected to the universal asynchronous transceiver transmission interface 91 for firmware update.

然而,這意味著傳統的韌體更新方法必須在該周邊元件快速互連切換器9設置一實體的接頭,由操作人員接線,將該周邊元件快速互連切換器9之對應於該切換端通用非同步收發傳輸介面91的實體接頭與該電腦8的主機端通用非同步收發傳輸介面81現場接線(並非透過無線傳輸),並透過該電腦8對該周邊元件快速 互連切換器9下指令,才可進行更新,實屬不便。 However, this means that the traditional firmware update method must provide a physical connector on the peripheral component rapid interconnection switch 9, which is wired by the operator, and the peripheral component rapid interconnection switch 9 corresponds to the switch terminal. The physical connector of the asynchronous sending and receiving transmission interface 91 is connected to the host side universal asynchronous sending and receiving transmission interface 81 of the computer 8 on site (not through wireless transmission), and the peripheral components can be quickly connected through the computer 8 It is really inconvenient that the update can be performed only after the interconnection switch 9 is issued.

有鑑於此,故如何提供一種以遠端的方式進行該周邊元件快速互連切換器9的韌體更新,即為本創作所欲解決之首要課題。 In view of this, how to provide a remote way to update the firmware of the peripheral component rapid interconnection switch 9 is the primary issue that this author intends to solve.

因此,本發明的目的,即在提供一種能以遠端的方式對周邊元件快速互連切換器進行韌體更新之周邊元件快速互連切換器的韌體更新方法。 Therefore, the object of the present invention is to provide a firmware update method for the peripheral element rapid interconnection switch that can perform firmware update of the peripheral element rapid interconnection switch in a remote manner.

於是,本發明一種周邊元件快速互連切換器的韌體更新方法,藉由一韌體更新系統來實施,該韌體更新系統經由一通訊網路與一電腦主機連接,並包含一經由該通訊網路與該電腦主機連接的基板管理單元,以及一連接該基板管理單元的周邊元件快速互連切換器,該周邊元件快速互連切換器係經由其通用非同步收發傳輸介面來與該基板管理單元的通用非同步收發傳輸介面連接,該周邊元件快速互連切換器的韌體更新方法包含一步驟(A)、一步驟(B)、一步驟(C)、一步驟(D),以及一步驟(E)。 Therefore, the present invention provides a method for updating the firmware of a peripheral component fast interconnection switch, which is implemented by a firmware update system, which is connected to a computer host via a communication network, and includes a device via the communication network. The baseboard management unit connected to the computer mainframe, and a peripheral element quick interconnection switch connected to the baseboard management unit. The peripheral element rapid interconnection switch is connected to the baseboard management unit through its universal asynchronous transceiver transmission interface. Universal asynchronous transceiver transmission interface connection, the firmware update method of the peripheral component rapid interconnection switch includes one step (A), one step (B), one step (C), one step (D), and one step ( E).

該步驟(A)是藉由該基板管理單元,在接收到一來自該電腦主機且相關於該周邊元件快速互連切換器的韌體更新檔後,將該韌體更新檔傳送至該周邊元件快速互連切換器。 The step (A) is to send the firmware update file to the peripheral device after receiving a firmware update file from the host computer and related to the peripheral device quick interconnect switch through the baseboard management unit Fast interconnect switch.

該步驟(B)是藉由該周邊元件快速互連切換器,在接收到 該韌體更新檔後,產生並傳送一接收成功回覆至該基板管理單元。 This step (B) is to quickly interconnect the switch by the peripheral components, and after receiving After the firmware update file, a successful reception response is generated and sent to the baseboard management unit.

該步驟(C)是藉由該基板管理單元,在接收到該接收成功回覆後,產生並傳送一相關於該韌體更新檔的更新指令至該周邊元件快速互連切換器。 In the step (C), the substrate management unit generates and transmits an update command related to the firmware update file to the peripheral component rapid interconnection switch after receiving the successful reply.

該步驟(D)是藉由該周邊元件快速互連切換器,在接收到該更新指令後,根據該韌體更新檔進行更新。 The step (D) is to quickly interconnect the switch by the peripheral component, and after receiving the update command, update according to the firmware update file.

該步驟(E)是藉由該周邊元件快速互連切換器,在完成該韌體更新檔的更新後,重新啟動並執行該韌體更新檔。 The step (E) is to quickly interconnect the switch through the peripheral components, and after completing the update of the firmware update file, restart and execute the firmware update file.

本發明之功效在於:藉由該電腦主機以遠端的方式,將該韌體更新檔傳送至該基板管理單元,接著,由該基板管理單元將該韌體更新檔傳送至該周邊元件快速互連切換器,以使該周邊元件快速互連切換器,根據該韌體更新檔進行更新,便可在無需現場接線的情況下,經由遠端操作輕鬆地完成該周邊元件快速互連切換器的韌體更新。 The effect of the present invention is that the computer host transmits the firmware update file to the baseboard management unit in a remote manner, and then the baseboard management unit transmits the firmware update file to the peripheral components quickly. Connect the switch, so that the peripheral component can quickly interconnect the switch, and update according to the firmware update file, and the peripheral component can be easily connected to the switch via remote operation without field wiring. Firmware update.

8:電腦 8: Computer

81:電腦端通用非同步收發傳輸介面 81: General non-synchronous transceiver interface on computer

9:周邊元件快速互連切換器 9: Peripheral components fast interconnection switch

91:切換端通用非同步收發傳輸介面 91: Universal non-synchronous transmit and receive transmission interface at the switching end

200:通訊網路 200: Communication network

1:電腦主機 1: Computer host

11:主機端通訊模組 11: Host communication module

12:主機端儲存模組 12: Host storage module

13:主機端處理模組 13: Host-side processing module

14:主機端通用非同步收發傳輸介面 14: Host-side universal asynchronous transceiver transmission interface

21:基板管理單元 21: baseboard management unit

211:基板端通訊模組 211: Board-side communication module

212:基板端通用非同步收發傳輸介面 212: Universal non-synchronous transceiver transmission interface on the substrate side

213:基板端處理模組 213: Substrate end processing module

214:基板端處理模組 214: Substrate end processing module

22:周邊元件快速互連切換器 22: Peripheral components fast interconnection switch

221:切換端通用非同步收發傳輸介面 221: Universal Asynchronous Transceiver Interface for Switching End

222:切換端儲存模組 222: Switching storage module

223:切換端處理模組 223: Switching end processing module

51~54:步驟 51~54: Steps

521~523:子步驟 521~523: Sub-step

531~536:子步驟 531~536: substeps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,說明一執行傳統的周邊元件快速互連切換器的韌體更新方法的系統; 圖2是一方塊圖,說明一執行本發明周邊元件快速互連切換器的韌體更新方法的一硬體架構;圖3是一流程圖,說明本發明周邊元件快速互連切換器的韌體更新方法的流程步驟;圖4是一流程圖,說明本發明周邊元件快速互連切換器的韌體更新方法之一基板管理單元如何傳送一韌體更新檔的細部流程;及圖5是一示意圖,說明本發明周邊元件快速互連切換器的韌體更新方法之一周邊元件快速互連切換器如何確認該韌體更新檔接收完成的細部流程。 The other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: FIG. 1 is a block diagram illustrating a system that executes the firmware update method of a traditional peripheral component rapid interconnection switch ; FIG. 2 is a block diagram illustrating a hardware architecture for implementing the firmware update method of the peripheral component rapid interconnection switch of the present invention; FIG. 3 is a flowchart illustrating the firmware of the peripheral component rapid interconnection switch of the present invention The process steps of the update method; FIG. 4 is a flowchart illustrating the detailed process of how the substrate management unit transmits a firmware update file, which is one of the firmware update methods of the peripheral component rapid interconnection switch of the present invention; and FIG. 5 is a schematic diagram , To describe the detailed process of how the peripheral component rapid interconnection switch confirms the completion of the firmware update file receiving, one of the firmware update methods of the peripheral component rapid interconnection switch of the present invention.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。 Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same numbers.

參閱圖2,執行本發明周邊元件快速互連切換器的韌體更新方法之一實施例之一經由一通訊網路200連接一電腦主機1的韌體更新系統2,該韌體更新系統2包含一基板管理單元21及一周邊元件快速互連切換器22。 Referring to FIG. 2, one of the embodiments of the firmware update method for the peripheral component rapid interconnection switch of the present invention is connected to a firmware update system 2 of a computer host 1 via a communication network 200, and the firmware update system 2 includes a The substrate management unit 21 and a peripheral component are quickly interconnected with the switch 22.

該電腦主機1包括一連接至該通訊網路200的主機端通訊模組11、一主機端儲存模組12,以及一電連接該主機端通訊模組11與該主機端儲存模組12的主機端處理模組13。 The computer host 1 includes a host-side communication module 11 connected to the communication network 200, a host-side storage module 12, and a host-side electrically connected to the host-side communication module 11 and the host-side storage module 12 Processing module 13.

該主機端儲存模組12儲存有一相關於該周邊元件快速互連切換器的韌體更新檔。 The host storage module 12 stores a firmware update file related to the peripheral component rapid interconnect switch.

該基板管理單元21包含一連接至該通訊網路200的基板端通訊模組211、一基板端通用非同步收發傳輸介面212、一基板端儲存模組213,以及一電連接該基板端通訊模組211、該基板端通用非同步收發傳輸介面212及該基板端儲存模組213的基板端處理模組214。 The substrate management unit 21 includes a substrate-side communication module 211 connected to the communication network 200, a substrate-side universal asynchronous transceiver transmission interface 212, a substrate-side storage module 213, and a substrate-side communication module electrically connected to the substrate 211. The substrate-side universal asynchronous transceiver transmission interface 212 and the substrate-side processing module 214 of the substrate-side storage module 213.

該周邊元件快速互連切換器22包含一切換端通用非同步收發傳輸介面221、一切換端儲存模組222,以及一電連接該切換端通用非同步收發傳輸介面221及該切換端儲存模組222的切換端處理模組223。 The peripheral element rapid interconnection switch 22 includes a universal asynchronous transceiving transmission interface 221 for the switching end, a storage module 222 for the switching end, and a universal asynchronous transceiving transmission interface 221 electrically connected to the switching end and the storage module for the switching end 222 switching end processing module 223.

在該實施例中,該電腦主機1之實施態樣例如為一個人電腦、一伺服器或一雲端主機,但不以此為限。 In this embodiment, the implementation aspect of the computer host 1 is, for example, a personal computer, a server, or a cloud host, but it is not limited to this.

在該實施例中,該基板管理單元21之實施態樣例如為Baseboard Management Controller,簡稱BMC。 In this embodiment, the implementation of the baseboard management unit 21 is, for example, Baseboard Management Controller, or BMC for short.

在該實施例中,該周邊元件快速互連切換器22之實施態樣例如為Peripheral Component Interconnect Express Switch,簡稱PCIe Switch,但不以此為限。 In this embodiment, the implementation of the peripheral component rapid interconnection switch 22 is, for example, Peripheral Component Interconnect Express Switch, or PCIe Switch for short, but it is not limited to this.

在該實施例中,該基板端通用非同步收發傳輸介面212與該切換端通用非同步收發傳輸介面221之實施態樣例如為 Universal Asynchronous Receiver/Transmitter,簡稱UART,並可透過一非同步檔案傳輸協定例如為Xmodem Protocol進行溝通,但不以此為限。 In this embodiment, the implementation aspects of the universal asynchronous transceiving transmission interface 212 on the substrate side and the universal asynchronous transceiving transmission interface 221 on the switching side are, for example, Universal Asynchronous Receiver/Transmitter, referred to as UART, can communicate through an asynchronous file transfer protocol such as Xmodem Protocol, but it is not limited to this.

參閱圖3,以下將藉由本發明周邊元件快速互連切換器的韌體更新方法之該實施例來說明該電腦主機1與該韌體更新系統2所包含之該基板管理單元21,以及該周邊元件快速互連切換器22各元件的運作細節,本發明周邊元件快速互連切換器的韌體更新方法包含一步驟51、一步驟52、一步驟53,以及一步驟54。 Referring to FIG. 3, the following describes the baseboard management unit 21 included in the computer host 1 and the firmware update system 2 and the peripheral device by using the embodiment of the firmware update method of the peripheral component rapid interconnection switch of the present invention The operation details of the components of the fast interconnect switch 22. The firmware update method of the fast interconnect switch for peripheral components of the present invention includes a step 51, a step 52, a step 53, and a step 54.

在該步驟51中,該電腦主機1將儲存於該主機端儲存模組12且相關於該周邊元件快速互連切換器的韌體更新檔傳送至該基板管理單元21。 In the step 51, the computer host 1 transmits the firmware update file stored in the host-side storage module 12 and related to the peripheral component rapid interconnect switch to the baseboard management unit 21.

在該步驟52中,該基板管理單元21在接收到來自該電腦主機1的該韌體更新檔後,將該韌體更新檔儲存至該基板端儲存模組213,並將該韌體更新檔經由該非同步檔案傳輸協定傳送至該周邊元件快速互連切換器22。值得特別說明的是,在該實施例中,該基板管理單元21係透過Restful Api Service檢測該基板管理單元21中對應的管理網路通訊埠(PORT)是否有接收到來自該電腦主機1的該更新請求,並於檢測出對應的管理網路通訊埠有接收到該更新請求後,才產生並傳送一相關於該韌體更新檔的資訊請求至該電腦主機1,以使該電腦主機1在接收該資訊請求後,將所儲存的該 韌體更新檔傳送至該基板管理單元21。 In step 52, after receiving the firmware update file from the computer host 1, the baseboard management unit 21 stores the firmware update file in the base-side storage module 213, and stores the firmware update file It is transmitted to the peripheral device rapid interconnection switch 22 via the asynchronous file transfer protocol. It is worth noting that in this embodiment, the baseboard management unit 21 detects whether the corresponding management network communication port (PORT) of the baseboard management unit 21 has received the communication port (PORT) from the computer host 1 through Restful Api Service. Update request, and after detecting that the corresponding management network port has received the update request, it generates and sends an information request related to the firmware update file to the host computer 1, so that the host computer 1 is After receiving the information request, the stored The firmware update file is sent to the baseboard management unit 21.

參閱圖4,值得特別說明的是,將該韌體更新檔傳送至該周邊元件快速互連切換器22之程序還包含一子步驟521、一子步驟522,以及一子步驟523。 Referring to FIG. 4, it is worth noting that the procedure of transmitting the firmware update file to the peripheral component rapid interconnection switch 22 further includes a sub-step 521, a sub-step 522, and a sub-step 523.

在該子步驟521中,該基板管理單元21在接收到該韌體更新檔後,產生並傳送一韌體更新檔傳送請求至該周邊元件快速互連切換器22。 In the sub-step 521, after receiving the firmware update file, the baseboard management unit 21 generates and transmits a firmware update file transfer request to the peripheral component rapid interconnection switch 22.

在該子步驟522中,該周邊元件快速互連切換器22在接收到該韌體更新檔傳送請求後,啟動該非同步檔案傳輸協定,並等待該基板管理單元21所傳送之該韌體更新檔。 In the sub-step 522, after receiving the firmware update file transfer request, the peripheral component rapid interconnect switch 22 activates the asynchronous file transfer protocol, and waits for the firmware update file sent by the baseboard management unit 21 .

在該子步驟523中,該基板管理單元21將該韌體更新檔經由該非同步檔案傳輸協定傳送至該周邊元件快速互連切換器22。 In the sub-step 523, the baseboard management unit 21 transmits the firmware update file to the peripheral device rapid interconnection switch 22 via the asynchronous file transfer protocol.

在該步驟53中,該周邊元件快速互連切換器22在接收到來自該基板管理單元21的該韌體更新檔後,根據該韌體更新檔進行更新。 In the step 53, the peripheral component rapid interconnection switch 22 receives the firmware update file from the baseboard management unit 21, and then updates it according to the firmware update file.

參閱圖5,值得特別說明的是,根據該韌體更新檔進行更新之程序還包含一子步驟531、一子步驟532、一子步驟533、一子步驟534、一子步驟535,以及一子步驟536。 Referring to FIG. 5, it is worth noting that the procedure for updating according to the firmware update file further includes a sub-step 531, a sub-step 532, a sub-step 533, a sub-step 534, a sub-step 535, and a sub-step. Step 536.

在該子步驟531中,該周邊元件快速互連切換器22在經由該非同步檔案傳輸協定接收到來自該電腦主機1的該韌體更新檔 後,判定該韌體更新檔於傳輸過程中是否受損。當該周邊元件快速互連切換器22判定該韌體更新檔於傳輸過程中無受損時,流程進行子步驟532;當該周邊元件快速互連切換器22判定該韌體更新檔於傳輸過程中受損時,流程進行子步驟535。值得特別說明的是,在該實施例中,該周邊元件快速互連切換器22係利用循環冗餘校驗法(Cyclic Redundancy Check,CRC)及/或檢查總和法(Checksum),判定該韌體更新檔於傳輸過程中是否受損。 In the sub-step 531, the peripheral component rapid interconnection switch 22 receives the firmware update file from the computer host 1 via the asynchronous file transfer protocol. Then, it is determined whether the firmware update file is damaged during the transfer process. When the peripheral component rapid interconnection switch 22 determines that the firmware update file is not damaged during the transfer process, the process proceeds to sub-step 532; when the peripheral component rapid interconnection switch 22 determines that the firmware update file is in the transfer process When it is damaged, the process proceeds to sub-step 535. It is worth noting that, in this embodiment, the peripheral component rapid interconnection switch 22 uses cyclic redundancy check (Cyclic Redundancy Check, CRC) and/or checksum method (Checksum) to determine the firmware Whether the update file was damaged during transmission.

在該子步驟532中,該周邊元件快速互連切換器22將該韌體更新檔儲存於該切換端儲存模組222後,產生一接收成功回覆,並將該接收成功回覆經由該非同步檔案傳輸協定傳送至該基板管理單元21。 In the sub-step 532, the peripheral component rapid interconnection switch 22 stores the firmware update file in the switch storage module 222, generates a received success response, and transmits the received success response via the asynchronous file The agreement is sent to the baseboard management unit 21.

在該子步驟533中,該基板管理單元21在經由該非同步檔案傳輸協定接收到該接收成功回覆後,產生一相關於該韌體更新檔的更新指令,並將該更新指令經由該非同步檔案傳輸協定傳送至該周邊元件快速互連切換器22。 In the sub-step 533, the substrate management unit 21, after receiving the successful response response via the asynchronous file transfer protocol, generates an update command related to the firmware update file, and transmits the update command via the asynchronous file The protocol is transmitted to the peripheral component rapid interconnection switch 22.

在該子步驟534中,該周邊元件快速互連切換器22在經由該非同步檔案傳輸協定接收到來自該基板管理單元21的該更新指令後,根據在該子步驟534中儲存於該切換端儲存模組222的該韌體更新檔進行更新。 In the sub-step 534, after the peripheral component rapid interconnection switch 22 receives the update command from the baseboard management unit 21 via the asynchronous file transfer protocol, it is stored in the switch terminal according to the storage in the sub-step 534. The firmware update file of the module 222 is updated.

在該子步驟535中,該周邊元件快速互連切換器22產生 一接收失敗回覆,並將該接收失敗回覆經由該非同步檔案傳輸協定傳送至該基板管理單元21。 In this sub-step 535, the peripheral component rapid interconnection switch 22 generates A receiving failure response, and sending the receiving failure response to the baseboard management unit 21 via the asynchronous file transfer protocol.

在該子步驟536中,該基板管理單元21在經由該非同步檔案傳輸協定接收到該接收失敗回覆後,回到流程步驟52。 In the sub-step 536, the substrate management unit 21 returns to the process step 52 after receiving the reception failure response via the asynchronous file transfer protocol.

在該步驟54中,該周邊元件快速互連切換器22在完成該韌體更新檔的更新後,重新啟動並執行該韌體更新檔。 In the step 54, the peripheral component rapid interconnection switch 22 restarts and executes the firmware update file after completing the update of the firmware update file.

綜上所述,本發明周邊元件快速互連切換器的韌體更新方法,藉由該電腦主機1以遠端的方式,經由該無線網路200將該韌體更新檔傳送至該基板管理單元21,接著,由該基板管理單元21將該韌體更新檔經由該非同步檔案傳輸協定傳送至該周邊元件快速互連切換器22,再由該周邊元件快速互連切換器22利用循環冗餘校驗法及/或檢查總和法確認該韌體更新檔完整正確後,根據該韌體更新檔進行更新後並重新開機啟動,便可在無需現場接線的情況下,經由遠端操作輕鬆地完成該周邊元件快速互連切換器22的韌體更新。因此,故確實能達成本發明的目的。 In summary, the method for updating the firmware of a peripheral component rapid interconnection switch of the present invention uses the host computer 1 to remotely send the firmware update file to the baseboard management unit via the wireless network 200 21. Then, the baseboard management unit 21 transmits the firmware update file to the peripheral component rapid interconnection switch 22 via the asynchronous file transfer protocol, and then the peripheral component rapid interconnection switch 22 utilizes cyclic redundancy correction After verifying and/or checking the sum method to confirm that the firmware update file is complete and correct, perform the update according to the firmware update file and restart the computer. This can be easily completed via remote operation without on-site wiring. The peripheral components are quickly interconnected and the firmware of the switch 22 is updated. Therefore, it can indeed achieve the purpose of the invention.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。 However, the above are only examples of the present invention. When the scope of implementation of the present invention cannot be limited by this, all simple equivalent changes and modifications made in accordance with the scope of the patent application of the present invention and the content of the patent specification still belong to Within the scope of the patent of the present invention.

51~54··· 步驟51~54··· Step

Claims (6)

一種周邊元件快速互連切換器的韌體更新方法,藉由一韌體更新系統來實施,該韌體更新系統包含一經由一通訊網路與一電腦主機連接的基板管理單元,以及一連接該基板管理單元的周邊元件快速互連切換器,該周邊元件快速互連切換器係經由其通用非同步收發傳輸介面來與該基板管理單元的通用非同步收發傳輸介面連接,該周邊元件快速互連切換器的韌體更新方法包含以下步驟: (A) 藉由該基板管理單元,在接收到一來自該電腦主機且相關於該周邊元件快速互連切換器的韌體更新檔後,將該韌體更新檔傳送至該周邊元件快速互連切換器; (B) 藉由該周邊元件快速互連切換器,在接收到該韌體更新檔後,產生並傳送一接收成功回覆至該基板管理單元; (C) 藉由該基板管理單元,在接收到該接收成功回覆後,產生並傳送一相關於該韌體更新檔的更新指令至該周邊元件快速互連切換器; (D) 藉由該周邊元件快速互連切換器,在接收到該更新指令後,根據該韌體更新檔進行更新;及 (E) 藉由該周邊元件快速互連切換器,在完成該韌體更新檔的更新後,重新啟動並執行該韌體更新檔。A firmware update method for a peripheral component rapid interconnection switch is implemented by a firmware update system. The firmware update system includes a substrate management unit connected to a computer host via a communication network, and a substrate connected to the substrate The peripheral element fast interconnection switch of the management unit, the peripheral element fast interconnection switch is connected to the general asynchronous transceiver transmission interface of the baseboard management unit through its universal asynchronous transceiver transmission interface, and the peripheral element fast interconnection switch The firmware update method of the device includes the following steps: (A) After receiving a firmware update file from the host computer and related to the peripheral component rapid interconnection switch, the baseboard management unit uses the following steps: The update file is sent to the peripheral component rapid interconnection switch; (B) through the peripheral component rapid interconnection switch, after receiving the firmware update file, it generates and sends a successful reception response to the baseboard management unit; (C) Through the board management unit, after receiving the successful reply, it generates and sends an update command related to the firmware update file to the peripheral component fast interconnect switch; (D) through the peripheral The device fast interconnection switch, after receiving the update command, updates according to the firmware update file; and (E) through the peripheral component fast interconnection switch, after completing the firmware update file update, Restart and execute the firmware update file. 如請求項1所述的周邊元件快速互連切換器的韌體更新方法,其中,該步驟(B)包含以下步驟: (B-1) 藉由該周邊元件快速互連切換器,在接收到該韌體更新檔後,判定該韌體更新檔於傳輸過程中是否受損;及 (B-2) 當該周邊元件快速互連切換器判定出該韌體更新檔於傳輸過程中並無受損時,該周邊元件快速互連切換器產生並傳送該接收成功回覆至該基板管理單元。The firmware update method of the peripheral component rapid interconnection switch according to claim 1, wherein the step (B) includes the following steps: (B-1) The peripheral component rapid interconnection switch is used to receive the After the firmware update file, determine whether the firmware update file is damaged during the transfer process; and (B-2) When the peripheral component quick interconnect switch determines that the firmware update file was not affected during the transfer process When damaged, the peripheral component rapid interconnection switch generates and transmits the received success response to the baseboard management unit. 如請求項2所述的周邊元件快速互連切換器的韌體更新方法,其中,在該步驟(A)中,該基板管理單元在接收到一來自該電腦主機且指示出該周邊元件快速互連切換器需要更新的更新請求後,產生並傳送一相關於該韌體更新檔的資訊請求至該電腦主機,以使該電腦主機傳送該韌體更新檔至該基板管理單元。The firmware update method of the peripheral component rapid interconnection switch according to claim 2, wherein, in the step (A), the baseboard management unit receives a message from the computer host and instructs the peripheral component to quickly interact After connecting the update request that the switch needs to update, generate and send an information request related to the firmware update file to the host computer, so that the host computer sends the firmware update file to the baseboard management unit. 如請求項3所述的周邊元件快速互連切換器的韌體更新方法,其中,在該步驟(A)中,該基板管理單元檢測該基板管理單元中對應的管理網路通訊埠是否有接收到來自該電腦主機的該更新請求,並於檢測出對應的管理網路通訊埠有接收到該更新請求後,才產生並傳送該資訊請求至該電腦主機,以使該電腦主機傳送該韌體更新檔至該基板管理單元。The firmware update method of the peripheral component rapid interconnection switch according to claim 3, wherein, in the step (A), the baseboard management unit detects whether the corresponding management network communication port in the baseboard management unit receives Upon receiving the update request from the host computer and detecting that the corresponding management network port has received the update request, the information request is generated and sent to the host computer so that the host computer can send the firmware Update the file to the baseboard management unit. 如請求項2所述的周邊元件快速互連切換器的韌體更新方法,其中,在該步驟(B-1)中,該周邊元件快速互連切換器係利用循環冗餘校驗法及檢查總和法,判定該韌體更新檔於傳輸過程中是否受損。The method for updating the firmware of a peripheral component rapid interconnection switch according to claim 2, wherein, in this step (B-1), the peripheral component rapid interconnection switch uses a cyclic redundancy check method and inspection The sum method is used to determine whether the firmware update file is damaged during the transfer process. 如請求項1所述的周邊元件快速互連切換器的韌體更新方法,其中,該步驟(A)包含以下子步驟: (A-1) 藉由該基板管理單元,在接收到該韌體更新檔後,傳送一韌體更新檔傳送請求至該周邊元件快速互連切換器,以使該周邊元件快速互連切換器啟動一非同步檔案傳輸協定;及 (A-2) 藉由該基板管理單元以該非同步檔案傳輸協定傳送該韌體更新檔至該周邊元件快速互連切換器。The method for updating the firmware of a peripheral component rapid interconnection switch according to claim 1, wherein the step (A) includes the following sub-steps: (A-1) After receiving the firmware by the baseboard management unit After the update file, a firmware update file transfer request is sent to the peripheral component rapid interconnection switch, so that the peripheral component rapid interconnection switch activates an asynchronous file transfer protocol; and (A-2) through the board The management unit transmits the firmware update file to the peripheral component rapid interconnection switch using the asynchronous file transfer protocol.
TW108115016A 2019-04-30 2019-04-30 Firmware update method for pcie switch TWI720468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108115016A TWI720468B (en) 2019-04-30 2019-04-30 Firmware update method for pcie switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108115016A TWI720468B (en) 2019-04-30 2019-04-30 Firmware update method for pcie switch

Publications (2)

Publication Number Publication Date
TW202042058A TW202042058A (en) 2020-11-16
TWI720468B true TWI720468B (en) 2021-03-01

Family

ID=74201561

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108115016A TWI720468B (en) 2019-04-30 2019-04-30 Firmware update method for pcie switch

Country Status (1)

Country Link
TW (1) TWI720468B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI779858B (en) * 2021-09-26 2022-10-01 新加坡商鴻運科股份有限公司 System and method for upgrading firmware

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050229173A1 (en) * 2004-04-07 2005-10-13 Mihm James T Automatic firmware update proxy
TW201222413A (en) * 2010-11-22 2012-06-01 Hon Hai Prec Ind Co Ltd System and method for updating firmware of a baseboard management controller
CN103809990A (en) * 2012-11-09 2014-05-21 英业达科技有限公司 Server and firmware updating method thereof
TWI478061B (en) * 2012-04-03 2015-03-21 Asrock Inc Method for updating firmware
US20170010884A1 (en) * 2015-07-06 2017-01-12 Wei G. Liu Systems And Methods To Securely Inject Binary Images And Code Into Firmware
TWI592872B (en) * 2012-12-11 2017-07-21 英業達股份有限公司 Server and firmware updating method thereof
US20170242686A1 (en) * 2016-02-19 2017-08-24 Sumanth Vidyadhara Systems And Methods Of Updating Hot-Pluggable Devices
TWI605389B (en) * 2014-02-14 2017-11-11 啟碁科技股份有限公司 Communication device and firmware upgrade method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050229173A1 (en) * 2004-04-07 2005-10-13 Mihm James T Automatic firmware update proxy
TW201222413A (en) * 2010-11-22 2012-06-01 Hon Hai Prec Ind Co Ltd System and method for updating firmware of a baseboard management controller
TWI478061B (en) * 2012-04-03 2015-03-21 Asrock Inc Method for updating firmware
CN103809990A (en) * 2012-11-09 2014-05-21 英业达科技有限公司 Server and firmware updating method thereof
TWI592872B (en) * 2012-12-11 2017-07-21 英業達股份有限公司 Server and firmware updating method thereof
TWI605389B (en) * 2014-02-14 2017-11-11 啟碁科技股份有限公司 Communication device and firmware upgrade method
US20170010884A1 (en) * 2015-07-06 2017-01-12 Wei G. Liu Systems And Methods To Securely Inject Binary Images And Code Into Firmware
US20170242686A1 (en) * 2016-02-19 2017-08-24 Sumanth Vidyadhara Systems And Methods Of Updating Hot-Pluggable Devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI779858B (en) * 2021-09-26 2022-10-01 新加坡商鴻運科股份有限公司 System and method for upgrading firmware
US11868758B2 (en) 2021-09-26 2024-01-09 Fulian Precision Electronics (Tianjin) Co., Ltd. Method for improving the updating of firmware and system applying the method

Also Published As

Publication number Publication date
TW202042058A (en) 2020-11-16

Similar Documents

Publication Publication Date Title
KR101042745B1 (en) System and method for reestablishing the session between terminal and server
TWI602122B (en) Firmware updating method
CN105786753A (en) Method and device for data transmission between master and slave devices on I2C bus
CN104618187A (en) Method for on-line testing of functional completeness of network controller sideband interface (NCSI) network card
WO2015085664A1 (en) Synchronization method, terminal and server
CN104615455A (en) Remote upgrading method and device for IPMC program of ATCA structure
TWI720468B (en) Firmware update method for pcie switch
CN104598353A (en) Method for on-line testing functional completeness of NCSI (Network Connectivity Status Indicator) adapter card
US7783964B2 (en) Redundant 3-wire communication system and method
CN107247596B (en) Starting method and device and electronic equipment
US7587294B2 (en) SATA device having self-test function for OOB-signaling
TWI536176B (en) User - side host redundancy system and its implementation
WO2017049557A1 (en) Adapter upgrade method, mobile terminal, and adapter
US20090319699A1 (en) Preventing Loss of Access to a Storage System During a Concurrent Code Load
CN103607311B (en) System and method for reestablishing TCP connection seamlessly
US7120837B1 (en) System and method for delayed error handling
JP4413806B2 (en) Fault isolation method, communication apparatus and program having fault isolation function
WO2017084587A1 (en) Interactive method and apparatus based on network file system
US10101987B2 (en) Method and system of processing an image upgrade
CN107852275B (en) Data transmission device, data transmission method, reception device, and reception method
CN112083937B (en) Firmware updating method for peripheral component quick interconnection switcher
US7562109B2 (en) Connectivity confirmation method for network storage device and host computer
CN107665123B (en) Firmware updating method
CN109885519B (en) Connection switching method for serial port of main control board and main control board
US10754636B2 (en) Communication device updating system