TW202042058A - Firmware update method for pcie switch - Google Patents
Firmware update method for pcie switch Download PDFInfo
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本發明是有關於一種韌體更新方法,特別是指一種用於周邊元件快速互連切換器的韌體更新方法。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
然而,這意味著傳統的韌體更新方法必須在該周邊元件快速互連切換器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
有鑑於此,故如何提供一種以遠端的方式進行該周邊元件快速互連切換器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
該電腦主機1包括一連接至該通訊網路200的主機端通訊模組11、一主機端儲存模組12,以及一電連接該主機端通訊模組11與該主機端儲存模組12的主機端處理模組13。The
該主機端儲存模組12儲存有一相關於該周邊元件快速互連切換器的韌體更新檔。The
該基板管理單元21包含一連接至該通訊網路200的基板端通訊模組211、一基板端通用非同步收發傳輸介面212、一基板端儲存模組213,以及一電連接該機板端通訊模組211、該基板端通用非同步收發傳輸介面212及該基板端儲存模組213的基板端處理模組214。The
該周邊元件快速互連切換器22包含一切換端通用非同步收發傳輸介面221、一切換端儲存模組222,以及一電連接該切換端通用非同步收發傳輸介面221及該切換端儲存模組222的切換端處理模組223。The peripheral component
在該實施例中,該電腦主機1之實施態樣例如為一個人電腦、一伺服器或一雲端主機,但不以此為限。In this embodiment, the implementation of the
在該實施例中,該基板管理單元21之實施態樣例如為Baseboard Management Controller ,簡稱BMC。In this embodiment, the implementation aspect of the
在該實施例中,該周邊元件快速互連切換器22之實施態樣例如為Peripheral Component Interconnect Express Switch,簡稱PCIe Switch,但不以此為限。In this embodiment, the implementation of the peripheral component
在該實施例中,該基板端通用非同步收發傳輸介面212與該切換端通用非同步收發傳輸介面221之實施態樣例如為Universal Asynchronous Receiver / Transmitter,簡稱UART,並可透過一非同步檔案傳輸協定例如為Xmodem Protocol進行溝通,但不以此為限。In this embodiment, the implementation of the universal asynchronous
參閱圖3,以下將藉由本發明周邊元件快速互連切換器的韌體更新方法之該實施例來說明該電腦主機1與該韌體更新系統2所包含之該基板管理單元21,以及該周邊元件快速互連切換器22各元件的運作細節,本發明周邊元件快速互連切換器的韌體更新方法包含一步驟51、一步驟52、一步驟53,以及一步驟54。3, the following describes the
在該步驟51中,該電腦主機1將儲存於該主機端儲存模組12且相關於該周邊元件快速互連切換器的韌體更新檔傳送至該基板管理單元21。In the
在該步驟52中,該基板管理單元21在接收到來自該電腦主機1的該韌體更新檔後,將該韌體更新檔儲存至該基板端儲存模組213,並將該韌體更新檔經由該非同步檔案傳輸協定傳送至該周邊元件快速互連切換器22。值得特別說明的是,在該實施例中,該基板管理單元21係透過Restful Api Service檢測該基板管理單元21中對應的管理網路通訊埠(PORT)是否有接收到來自該電腦主機1的該更新請求,並於檢測出對應的管理網路通訊埠有接收到該更新請求後,才產生並傳送一相關於該韌體更新檔的資訊請求至該電腦主機1,以使該電腦主機1在接收該資訊請求後,將所儲存的該韌體更新檔傳送至該基板管理單元21。In
參閱圖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
在該子步驟521中,該基板管理單元21在接收到該韌體更新檔後,產生並傳送一韌體更新檔傳送請求至該周邊元件快速互連切換器22。In the
在該子步驟522中,該周邊元件快速互連切換器22在接收到該韌體更新檔傳送請求後,啟動該非同步檔案傳輸協定,並等待該基板管理單元21所傳送之該韌體更新檔。In the
在該子步驟523中,該基板管理單元21將該韌體更新檔經由該非同步檔案傳輸協定傳送至該周邊元件快速互連切換器22。In the
在該步驟53中,該周邊元件快速互連切換器22在接收到來自該基板管理單元21的該韌體更新檔後,根據該韌體更新檔進行更新。In the
參閱圖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
在該子步驟531中,該周邊元件快速互連切換器22在經由該非同步檔案傳輸協定接收到來自該電腦主機1的該韌體更新檔後,判定該韌體更新檔於傳輸過程中是否受損。當該周邊元件快速互連切換器22判定該韌體更新檔於傳輸過程中無受損時,流程進行子步驟532;當該周邊元件快速互連切換器22判定該韌體更新檔於傳輸過程中受損時,流程進行子步驟535。值得特別說明的是,在該實施例中,該周邊元件快速互連切換器22係利用循環冗餘校驗法(Cyclic Redundancy Check,CRC)及/或檢查總和法(Checksum),判定該韌體更新檔於傳輸過程中是否受損。In the
在該子步驟532中,該周邊元件快速互連切換器22將該韌體更新檔儲存於該切換端儲存模組222後,產生一接收成功回覆,並將該接收成功回覆經由該非同步檔案傳輸協定傳送至該基板管理單元21。In the
在該子步驟533中,該基板管理單元21在經由該非同步檔案傳輸協定接收到該接收成功回覆後,產生一相關於該韌體更新檔的更新指令,並將該更新指令經由該非同步檔案傳輸協定傳送至該周邊元件快速互連切換器22。In the
在該子步驟534中,該周邊元件快速互連切換器22在經由該非同步檔案傳輸協定接收到來自該基板管理單元21的該更新指令後,根據在該子步驟534中儲存於該切換端儲存模組222的該韌體更新檔進行更新。In the
在該子步驟535中,該周邊元件快速互連切換器22產生一接收失敗回覆,並將該接收失敗回覆經由該非同步檔案傳輸協定傳送至該基板管理單元21。In the
在該子步驟536中,該基板管理單元21在經由該非同步檔案傳輸協定接收到該接收失敗回覆後,回到流程步驟52。In the
在該步驟54中,該周邊元件快速互連切換器22在完成該韌體更新檔的更新後,重新啟動並執行該韌體更新檔。In the
綜上所述,本發明周邊元件快速互連切換器的韌體更新方法,藉由該電腦主機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
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。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
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖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)
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)
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)
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 |
-
2019
- 2019-04-30 TW TW108115016A patent/TWI720468B/en active
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 |