TW202042058A - Firmware update method for pcie switch - Google Patents

Firmware update method for pcie switch Download PDF

Info

Publication number
TW202042058A
TW202042058A TW108115016A TW108115016A TW202042058A TW 202042058 A TW202042058 A TW 202042058A TW 108115016 A TW108115016 A TW 108115016A TW 108115016 A TW108115016 A TW 108115016A TW 202042058 A TW202042058 A TW 202042058A
Authority
TW
Taiwan
Prior art keywords
firmware update
interconnection switch
peripheral component
management unit
file
Prior art date
Application number
TW108115016A
Other languages
Chinese (zh)
Other versions
TWI720468B (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 rapid interconnection switch 9 (Peripheral Component Interconnect Express Switch, PCIe Switch for short) firmware update method is to use a computer 8 through a computer-side universal asynchronous transceiver transmission interface 81 (UART , Universal Asynchronous Receiver/Transmitter) is physically connected to a switching end of the peripheral component rapid interconnection switch 9 with 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 transceiving transmission interface 91 is connected to the host side universal asynchronous transceiving transmission interface 81 of the computer 8 on site (not through wireless transmission), and commands are given to the peripheral components to quickly interconnect the switch 9 through the computer 8. It is inconvenient to update.

有鑑於此,故如何提供一種以遠端的方式進行該周邊元件快速互連切換器9的韌體更新,即為本創作所欲解決之首要課題。In view of this, how to provide a remote way to perform the firmware update of the peripheral component rapid interconnection switch 9 is the primary problem 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 the 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 rapid interconnection switch, which is implemented by a firmware update system that is connected to a computer host via a communication network, and includes a The baseboard management unit connected to the host computer, and a peripheral element quick interconnection switch connected to the baseboard management unit. The peripheral element quick interconnection switch is connected to the baseboard management unit via 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)是藉由該周邊元件快速互連切換器,在接收到該韌體更新檔後,產生並傳送一接收成功回覆至該基板管理單元。The step (B) is to use the peripheral component to quickly interconnect the switch, and after receiving the firmware update file, generate and send a successful reception response 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 interconnected through the remote operation without field wiring. Firmware update.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are represented 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. 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 board The group 211, the substrate-side universal asynchronous transceiving 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 component 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 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 aspect 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 of the universal asynchronous transceiver transmission interface 212 on the substrate side and the universal asynchronous transceiver transmission interface 221 on the switch side are, for example, Universal Asynchronous Receiver / Transmitter, UART for short, and can be transmitted via an asynchronous file. The protocol is, for example, Xmodem Protocol for communication, but it is not limited to this.

參閱圖3,以下將藉由本發明周邊元件快速互連切換器的韌體更新方法之該實施例來說明該電腦主機1與該韌體更新系統2所包含之該基板管理單元21,以及該周邊元件快速互連切換器22各元件的運作細節,本發明周邊元件快速互連切換器的韌體更新方法包含一步驟51、一步驟52、一步驟53,以及一步驟54。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 interconnect switch of the present invention The operation details of each component 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 substrate management unit 21 stores the firmware update file in the substrate 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 through Restful Api Service whether the corresponding management network communication port (PORT) of the baseboard management unit 21 has received the computer host 1 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 computer host 1, so that the computer host 1 is After receiving the information request, the stored 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 interconnect 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 fast 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, after receiving the firmware update file from the computer host 1 via the asynchronous file transfer protocol, the peripheral component rapid interconnect switch 22 determines whether the firmware update file is affected during the transfer process. damage. When the peripheral component rapid interconnection switch 22 determines that the firmware update file is not damaged during the transmission 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 transmission 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 successful reception response, and transmits the successful reception 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 generates an update command related to the firmware update file after receiving the successful reception response via the asynchronous file transfer protocol, 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 the sub-step 535, the peripheral component rapid interconnection switch 22 generates a reception failure response, and transmits the reception 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 firmware update method of the 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 system. This can be easily completed via remote operation without on-site wiring. The peripheral components are quickly interconnected with the firmware update of the switch 22. 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 for the present invention.

8:電腦81:電腦端通用非同步收發傳輸介面9:周邊元件快速互連切換器91:切換端通用非同步收發傳輸介面200:通訊網路1:電腦主機11:主機端通訊模組12:主機端儲存模組13:主機端處理模組14:主機端通用非同步收發傳輸介面21:基板管理單元211:基板端通訊模組212:基板端通用非同步收發傳輸介面213:基板端處理模組214:基板端處理模組22:周邊元件快速互連切換器221:切換端通用非同步收發傳輸介面222:切換端儲存模組223:切換端處理模組51~54:步驟521~523:子步驟531~536:子步驟8: Computer 81: Computer-side universal asynchronous transceiver transmission interface 9: Peripheral component rapid interconnection switch 91: Switch-side universal asynchronous transceiver transmission interface 200: Communication network 1: Computer host 11: Host-side communication module 12: Host End storage module 13: Host-side processing module 14: Host-side general asynchronous transceiver transmission interface 21: Substrate management unit 211: Substrate-side communication module 212: Substrate-side general asynchronous transceiver transmission interface 213: Substrate-side processing module 214: Substrate-side processing module 22: Peripheral component rapid interconnection switch 221: Switching end general asynchronous transceiver transmission interface 222: Switching end storage module 223: Switching end processing module 51~54: Steps 521~523: Sub Steps 531~536: sub-steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖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 conventional peripheral component rapid interconnect switch Figure 2 is a block diagram illustrating a hardware architecture for implementing the firmware update method of the peripheral component rapid interconnect switch of the present invention; Figure 3 is a flowchart illustrating the firmware of the peripheral component rapid interconnect switch of the present invention Figure 4 is a flow chart illustrating the detailed process of how the baseboard management unit transmits a firmware update file, one of the firmware update methods of the peripheral component rapid interconnect switch of the present invention; and Figure 5 is a The schematic diagram illustrates the detailed process of how the peripheral component rapid interconnection switch confirms the completion of the firmware update file reception, which is one of the firmware update methods of the peripheral component rapid interconnection switch of the present invention.

51~54:步驟 51~54: steps

Claims (6)

一種周邊元件快速互連切換器的韌體更新方法,藉由一韌體更新系統來實施,該韌體更新系統包含一經由一通訊網路與一電腦主機連接的基板管理單元,以及一連接該基板管理單元的周邊元件快速互連切換器,該周邊元件快速互連切換器係經由其通用非同步收發傳輸介面來與該基板管理單元的通用非同步收發傳輸介面連接,該周邊元件快速互連切換器的韌體更新方法包含以下步驟: (A) 藉由該基板管理單元,在接收到一來自該電腦主機且相關於該周邊元件快速互連切換器的韌體更新檔後,將該韌體更新檔傳送至該周邊元件快速互連切換器; (B) 藉由該周邊元件快速互連切換器,在接收到該韌體更新檔後,產生並傳送一接收成功回覆至該基板管理單元; (C) 藉由該基板管理單元,在接收到該接收成功回覆後,產生並傳送一相關於該韌體更新檔的更新指令至該周邊元件快速互連切換器; (D) 藉由該周邊元件快速互連切換器,在接收到該更新指令後,根據該韌體更新檔進行更新;及 (E) 藉由該周邊元件快速互連切換器,在完成該韌體更新檔的更新後,重新啟動並執行該韌體更新檔。A firmware update method for a quick interconnection switch of peripheral components 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 quick interconnect switch, the firmware update The update file is sent to the peripheral component rapid interconnection switch; (B) the peripheral component rapid interconnection switch generates and sends a successful reception response to the baseboard management unit after receiving the firmware update file; (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) the peripheral device fast interconnection switch is used to complete the firmware update file update, Restart and execute the firmware update file. 如請求項1所述的周邊元件快速互連切換器的韌體更新方法,其中,該步驟(B)包含以下步驟: (B-1) 藉由該周邊元件快速互連切換器,在接收到該韌體更新檔後,判定該韌體更新檔於傳輸過程中是否受損;及 (B-2) 當該周邊元件快速互連切換器判定出該韌體更新檔於傳輸過程中並無受損時,該周邊元件快速互連切換器產生並傳送該接收成功回覆至該基板管理單元。The firmware update method of a 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 receives the After the firmware update file, determine whether the firmware update file was 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 this step (A), the baseboard management unit detects whether the corresponding management network communication port in the baseboard management unit receives Only when the update request from the host computer is detected and 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 element rapid interconnection switch according to claim 2, wherein, in this step (B-1), the peripheral element rapid interconnection switch uses a cyclic redundancy check method and inspection The summation method determines whether the firmware update file is damaged during the transfer process. 如請求項1所述的周邊元件快速互連切換器的韌體更新方法,其中,該步驟(A)包含以下子步驟: (A-1) 藉由該基板管理單元,在接收到該韌體更新檔後,傳送一韌體更新檔傳送請求至該周邊元件快速互連切換器,以使該周邊元件快速互連切換器啟動一非同步檔案傳輸協定;及 (A-2) 藉由該基板管理單元以該非同步檔案傳輸協定傳送該韌體更新檔至該周邊元件快速互連切換器。The method for updating the firmware of the 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, send a firmware update file transfer request 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 true TW202042058A (en) 2020-11-16
TWI720468B 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878528A (en) 2021-09-26 2023-03-31 富联精密电子(天津)有限公司 Firmware upgrading system and method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7809836B2 (en) * 2004-04-07 2010-10-05 Intel Corporation System and method for automating bios firmware image recovery using a non-host processor and platform policy to select a donor system
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
CN103809990B (en) * 2012-11-09 2016-12-21 英业达科技有限公司 Servomechanism
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
US9626181B2 (en) * 2015-07-06 2017-04-18 Dell Products L.P. Systems and methods to securely inject binary images and code into firmware
US10019253B2 (en) * 2016-02-19 2018-07-10 Dell Products L.P. Systems and methods of updating hot-pluggable devices

Also Published As

Publication number Publication date
TWI720468B (en) 2021-03-01

Similar Documents

Publication Publication Date Title
US20200351354A1 (en) System and method for supporting data communication in a heterogeneous environment
KR101042745B1 (en) System and method for reestablishing the session between terminal and server
TWI602122B (en) Firmware updating method
CN112118137B (en) Firmware upgrading method, device, computer equipment and readable storage medium
WO2015085664A1 (en) Synchronization method, terminal and server
US20090254641A1 (en) Network card capable of remote boot and method thereof
TWI327275B (en) Substitute sata host for communicating with a sata device and related methods
JP5387227B2 (en) Setting change method and program by network manager device, control method and program for network device, network manager device and network device
US20030226139A1 (en) System update protocol
TWI720468B (en) Firmware update method for pcie switch
CN107247596B (en) Starting method and device and electronic equipment
US7587294B2 (en) SATA device having self-test function for OOB-signaling
JP2007013980A (en) Redundant three-wire communication system and method
US20090319699A1 (en) Preventing Loss of Access to a Storage System During a Concurrent Code Load
TWI536176B (en) User - side host redundancy system and its implementation
JP4413806B2 (en) Fault isolation method, communication apparatus and program having fault isolation function
CN103607311B (en) System and method for reestablishing TCP connection seamlessly
US10101987B2 (en) Method and system of processing an image upgrade
CN112083937B (en) Firmware updating method for peripheral component quick interconnection switcher
WO2017084587A1 (en) Interactive method and apparatus based on network file system
US7562109B2 (en) Connectivity confirmation method for network storage device and host computer
JP2005258632A5 (en)
CN107665123B (en) Firmware updating method
US10754636B2 (en) Communication device updating system
TWI587109B (en) System structure and deployment method for installing operating systems of a plurality of devices under test