Patent ID: 11868758
Assignee: FULIAN PRECISION ELECTRONICS (TIANJIN) CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A method of updating firmware, used in a firmware updating system, the firmware updating system comprises a storage, the storage comprises an expander/switch, a baseboard manager controller (BMC), and a storage interface, the expander/switch is configured to manage hard disks or flash memories; the method comprises:
obtaining firmware data packets;
initializing a universal asynchronous receiver/transmitter (UART) in the expander/switch;
sending a firmware updating instruction to the expander/switch by the BMC;
the BMC converting the firmware data packets into a standard format and sending the firmware data packets in the standard format to the expander/switch, segmenting and encapsulating the firmware updating data to form several fragmented packets, sending the several fragmented packets to the expander/switch, the standard format meeting one of a Xmodem protocol or a Xmodem-1K protocol;
updating the firmware stored in the expander/switch with the several fragmented packets;
sending a serial instruction to reset the expander/switch by the BMC; and
ending serial communication by the BMC;
wherein:
establishing a communication between a first UART in the BMC and a second UART in the expander/switch to transmit the fragmented packets.