CN109388421B - Storage device for quickly updating firmware - Google Patents

Storage device for quickly updating firmware Download PDF

Info

Publication number
CN109388421B
CN109388421B CN201710649634.3A CN201710649634A CN109388421B CN 109388421 B CN109388421 B CN 109388421B CN 201710649634 A CN201710649634 A CN 201710649634A CN 109388421 B CN109388421 B CN 109388421B
Authority
CN
China
Prior art keywords
control unit
unit
firmware
wireless transmission
signal
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710649634.3A
Other languages
Chinese (zh)
Other versions
CN109388421A (en
Inventor
郭志鴻
程威得
呂學思
高士喬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apacer Technology Inc
Original Assignee
Apacer Technology Inc
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 Apacer Technology Inc filed Critical Apacer Technology Inc
Priority to CN201710649634.3A priority Critical patent/CN109388421B/en
Publication of CN109388421A publication Critical patent/CN109388421A/en
Application granted granted Critical
Publication of CN109388421B publication Critical patent/CN109388421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present application provides a storage device for rapidly updating firmware, which comprises a first control unit, a wireless transmission unit, a power switch unit and a second control unit. The first control unit can send out an updating signal or a first switching signal. The wireless transmission unit can receive the updating signal and download the firmware according to the updating signal. The power switching unit may conduct or block the supply of power to the first control unit according to the first switching signal. The second control unit can receive the first switching signal from the first control unit and control the power switch unit according to the first switching signal to conduct or block the supply of the supply power. After the wireless transmission unit downloads the firmware, the power switch unit can block the power supply to the first control unit, and after a period of time, the power switch unit can conduct the power supply to the first control unit again, so that the first control unit starts to execute the firmware.

Description

Storage device for quickly updating firmware
Technical Field
The present disclosure relates to a storage device, and more particularly, to a storage device capable of quickly updating firmware without rebooting.
Background
Ssd (solid State drive), also commonly referred to as a "solid State disk", is mainly composed of a Flash Memory (Flash Memory) and a microcontroller. The former records data by changing the voltage level on the memory granule, and the latter determines the functions that can be supported by an SSD.
The microcontroller is mainly responsible for three tasks, which are respectively: automatic error correction, defective block management, and wear-leveling of memory blocks. Currently, major microcontroller manufacturers include Sandforce, Marvell, Samsung, JMicron, etc., and each microcontroller has different product characteristics, some emphasizes rapid sequential reading and writing, and some strengthens 4K random reading and writing to satisfy the performance of a system disk.
Furthermore, many commercially available SSDs employ the same microcontroller, but the access effect may be greatly different because each manufacturer adjusts the firmware power to affect the performance and stability of the SSD, and therefore, after purchasing the SSD, the firmware on the SSD needs to be updated frequently to improve the access efficiency of the SSD.
The updating method of the existing SSD firmware is to electrically connect the SSD to a host, a user stores the firmware to be updated on the host firstly, writes the firmware into the SSD in a command input mode, and then reboots the host to enable a microcontroller of the SSD to start executing the updated firmware.
However, when the SSD firmware update is to be performed on a particular host, such as a server or a large workstation host, a problem may arise because this type of host must continue to operate without interruption. Therefore, how to update the SSD firmware without affecting the daily operation of the host becomes an important issue.
Disclosure of Invention
In view of the above problems in the prior art, it is an object of the present invention to provide a storage device for quickly updating firmware, which comprises a first control unit, a wireless transmission unit, a power switch unit and a second control unit. The first control unit can be used for sending an updating signal or a first switching signal. The wireless transmission unit can receive the updating signal and download the firmware according to the updating signal. The power switching unit may conduct or block the supply of power to the first control unit according to the first switching signal. The second control unit can receive the first switching signal from the first control unit and control the power switch unit according to the first switching signal to conduct or block the supply of the supply power. After the wireless transmission unit downloads the firmware, the power switch unit can block the power supply to the first control unit, and after a period of time, the power switch unit can conduct the power supply to the first control unit again, so that the first control unit starts to execute the firmware.
Preferably, the wireless transmission unit comprises a bluetooth module, and the first control unit comprises a microcontroller.
Preferably, the first control unit is electrically connected to the wireless transmission unit, the second control unit and the power switch unit, and the first control unit can only receive the supply power through the power switch unit.
In view of the above, the present application further provides a storage device for quickly updating firmware, which includes a first control unit, a wireless transmission unit and a power switch unit. The first control unit can be used for sending out an updating signal. The wireless transmission unit can receive the updating signal and download the firmware according to the updating signal. The power switching unit may conduct or block a supply power to the first control unit. After the wireless transmission unit downloads the firmware, the wireless transmission unit transmits a second switching signal to the power switch unit to block the supply power, and after a period of time, the wireless transmission unit transmits the second switching signal to the power switch unit to conduct the supply power again, so that the first control unit starts to execute the firmware.
Preferably, the wireless transmission unit may comprise a bluetooth module, and the first control unit may comprise a microcontroller.
Preferably, the wireless transmission unit transmits the second switching signal to the power switch unit through a universal input/output pin.
Preferably, the first control unit is electrically connected to the wireless transmission unit and the power switch unit, and the first control unit can only receive the supplied power through the power switch unit.
In view of the above, the present application further provides a storage device for quickly updating firmware, which includes a first control unit, a wireless transmission unit, a reset circuit unit and a second control unit. The first control unit can be used for sending out a refresh signal or a reset signal. The wireless transmission unit receives the update signal and downloads the firmware according to the update signal. The reset circuit unit can be used for restarting the first control unit. The second control unit can receive the reset signal from the first control unit and control the reset circuit unit according to the reset signal so as to restart the first control unit. After the wireless transmission unit downloads the firmware, the first control unit can transmit a reset signal to the second control unit to restart the first control unit and start to execute the firmware.
Preferably, the wireless transmission unit comprises a bluetooth module, and the first control unit comprises a microcontroller.
Preferably, the first reset circuit pin of the reset circuit unit is electrically connected to a second reset circuit pin of the first control unit, and the reset circuit unit triggers the first reset circuit pin to restart the first control unit.
Drawings
FIG. 1 is a first block diagram of a storage device for fast updating firmware according to a first embodiment of the present application.
FIG. 2 is a second block diagram of a storage device for fast updating firmware according to a first embodiment of the present application.
FIG. 3 is a first block diagram of a storage device for fast updating firmware according to a second embodiment of the present application.
FIG. 4 is a second block diagram of a storage device for fast updating firmware according to a second embodiment of the present application.
FIG. 5 is a block diagram of a storage device for fast updating firmware according to a third embodiment of the present application.
FIG. 6 is a partial circuit diagram of a storage device for fast updating firmware according to a third embodiment of the present application.
Detailed Description
For the purpose of understanding the technical features, contents and advantages of the present application and the efficacy achieved thereby, the present application will be described in detail with reference to the accompanying drawings in the form of embodiments, wherein the drawings are provided for illustration and description, and not necessarily for the actual scale and precise configuration after the application, and therefore the drawings are not to be read and limited in terms of the scale and configuration of the attached drawings.
Please refer to fig. 1 and fig. 2, which are a first block diagram and a second block diagram of a storage device for fast updating firmware according to an embodiment of the present invention. As shown, a storage device 10 for fast updating firmware includes a first control unit 11, a second control unit 12, a wireless transmission unit 13 and a power switch unit 14. In the present embodiment, the storage device 10 may be a solid state disk, and the storage device 10 may be connected to a host 100 through a SATA flat cable and a power line. The first control unit 11 and the second control unit 12 may respectively comprise a microcontroller, and the wireless transmission unit 13 may comprise a bluetooth module. A power supply 101 of the host 100 is responsible for supplying a supply power 161 to the second control unit 12, the wireless transmission unit 13 and the power switch unit 14, and then the power switch unit 14 is responsible for transmitting the supply power 161 to the first control unit 11.
In a general case, the first control unit 11 is used for controlling data access to the flash memory on the memory device 10. Before the user wants to update the firmware 50 of the storage device 10, the user must first store the firmware 50 in the electronic device 200 having a bluetooth module, wherein the electronic device 200 may include a host computer, a notebook computer, or a workstation. It should be noted that the wireless transmission unit 13 of the present embodiment is implemented by taking a bluetooth module as an example, so the wireless transmission module on the electronic device 200 is also a bluetooth module, but not limited thereto, and other wireless transmission modules, such as a wireless network chip, an NFC chip, etc., may also be used for the two to achieve the function of transmitting the firmware 50.
When the user starts to update the firmware 50 of the storage device 10, the first control unit 11 can send an update signal 111 to the wireless transmission unit 13, and connect with the bluetooth module on the electronic device 200 through the wireless transmission unit 13, so as to receive the firmware 50 from the electronic device 200, and store the firmware 50 to a reserved location in the flash memory. When the reception is confirmed, the first control unit 11 transmits a first switching signal 112 to the second control unit 12. Then, the second control unit 12 controls the power switch unit 14 to block the supplied power 161 originally supplied to the first control unit 11, as shown in fig. 2, and after a certain period of time (about 2-3 seconds later), the power switch unit 14 conducts the supplied power 161 to the first control unit 11 again, so that the first control unit 11 starts to execute the firmware 50.
It is understood that the firmware update operation on the storage device 10 can be performed by an application program on the host 100, which can be executed by the application program to output a control signal to the first control unit 11 to trigger the firmware update operation, and the related art for executing the application program is well known in the art, and therefore will not be described herein.
From the above, the memory device 10 of the present invention can update the firmware without powering off and rebooting the host 100, thereby solving the existing problems in the prior art.
Please refer to fig. 3 and 4, which are a first block diagram and a second block diagram of a storage device for fast updating firmware according to a second embodiment of the present application. As shown, the storage device 10 for fast updating firmware of the present application may include a first control unit 11, a wireless transmission unit 13 and a power switch unit 14. In the present embodiment, the storage device 10 may be a solid state disk, and the storage device 10 may be connected to a host 100 through a SATA flat cable and a power line. The first control unit 11 may be a microcontroller, the wireless transmission unit 13 may include a bluetooth module, and a power supply 101 on the host 100 is responsible for supplying a supply power 161 from the host 100 to the power switch unit 14 and the wireless transmission unit 13. The first control unit 11 is electrically connected to the wireless transmission unit 13 and the power switch unit 14, and the first control unit 11 can only receive the supply power 161 through the power switch unit 14.
When the storage device 100 is updated with the firmware 50, the first control unit 11 can send an update signal 111 to the wireless transmission unit 13, and after the wireless transmission unit 13 receives the update signal 111, the wireless transmission unit 13 downloads the firmware 50 according to the update signal 111, wherein the firmware 50 is stored in a remote electronic device 200, and the electronic device 200 can be connected to the wireless transmission unit 13 via a bluetooth module, so as to transmit the firmware 50 from the electronic device 200 to the storage device 10.
After the wireless transmission unit 13 successfully downloads or receives the firmware 50, the wireless transmission unit 13 transmits a second switching signal 131 to the power switch unit 14 to drive the power switch unit 14 to block the supply of the power 161 to the first control unit 11, and the first control unit 11 is in a power-free state at this time, as shown in fig. 4. After a period of time, the wireless transmission unit 13 will transmit the second switching signal 131 to the power switch unit 14 again to drive the power switch unit 14 to conduct the supply power 161 to the first control unit 11 again, so that the first control unit 11 starts executing the firmware 50.
It should be noted that the wireless transmission unit 13 of the present application is implemented by a bluetooth module, but not limited thereto, and may also include a network transmission module or an NFC communication module, etc., but it should be understood that the wireless transmission unit 13 must be capable of being matched with a wireless transmission device of the electronic device 200 to perform the connection and the data transmission of the firmware 50.
In a preferred embodiment, the wireless transmission unit 13 can transmit the second switching signal 131 to the power switch unit 14 through a general purpose input/output pin (GPIO pin).
Please refer to fig. 5, which is a block diagram illustrating a storage device for fast updating firmware according to a third embodiment of the present invention. As shown, the storage device 10 for fast updating firmware may include a first control unit 11, a second control unit 12, a wireless transmission unit 13 and a reset circuit unit 15.
In this embodiment, the storage device 10 may be a solid state disk, and the storage device 10 may be connected to a host through a SATA flat cable and a power line. The first control unit 11 and the second control unit 12 may be a microcontroller, the wireless transmission unit 13 may include a bluetooth module, and the Reset circuit unit 15 may include a Reset IC (Reset IC). A power supply 101 of the host 100 is responsible for supplying a supply power 161 from the host 100 to the first control unit 11, the second control unit 12 and the reset power unit 15.
When a user wants to update the firmware of the storage device 10, the first control unit 11 first sends an update signal 111 to the wireless transmission unit 13 to drive the wireless transmission unit 13 to connect to a bluetooth module on the electronic device 200, and start downloading the firmware 50 from the electronic device 200.
When the first control unit 11 successfully downloads or receives the firmware 50, the first control unit 11 sends a reset signal 113 to the second control unit 12, and then the second control unit 12 drives the reset circuit unit 15 to restart the first control unit 11, thereby starting to execute the downloaded firmware 50.
For further explanation, please refer to fig. 6, which is a partial circuit diagram of a storage device for fast updating firmware according to a third embodiment of the present invention, and also refer to fig. 5. As shown, the Reset circuit unit 15 may be a Reset integrated circuit (Reset IC), and the first control unit 11 may be a microcontroller in the memory device 10, wherein the Reset circuit unit 15 is electrically connected to the first control unit 11. In detail, a first reset circuit pin 151 of the reset circuit unit 15 is electrically connected to a second reset circuit pin 114 of the first control unit 11, such as the XEXTRSTB pin in fig. 6, and the reset circuit unit 15 can restart the first control unit 11 by triggering the first reset circuit pin 151.
From the above results, it can be seen that the storage device for rapidly updating firmware provided by the present application can directly update the SSD firmware without affecting the daily operation of the host, thereby solving the problems in the prior art.
The foregoing is by way of example only, and not limiting. It is intended that all equivalent modifications or variations not departing from the spirit and scope of the application be included in the claims.

Claims (10)

1. A storage device for rapidly updating firmware, the storage device comprising:
the first control unit is used for sending an updating signal or a first switching signal;
the wireless transmission unit is used for receiving the updating signal and downloading the firmware according to the updating signal;
a power switching unit that conducts or blocks supply power to the first control unit according to the first switching signal; and
a second control unit receiving the first switching signal from the first control unit and controlling the power switching unit according to the first switching signal to conduct or block the supply of the supply power;
after the wireless transmission unit downloads the firmware, the power switch unit blocks the supply power to the first control unit, and after a period of time, the power switch unit conducts the supply power to the first control unit again to enable the first control unit to start executing the firmware.
2. The storage device of claim 1, wherein the wireless transmission unit comprises a bluetooth module and the first control unit comprises a microcontroller.
3. The storage device according to claim 1, wherein the first control unit is electrically connected to the wireless transmission unit, the second control unit, and the power switch unit, and the first control unit can receive the supply power only through the power switch unit.
4. A storage device for rapidly updating firmware, the storage device comprising:
the first control unit is used for sending out an updating signal;
the wireless transmission unit is used for receiving the updating signal and downloading the firmware according to the updating signal; and
a power switching unit that conducts or blocks supply power to the first control unit;
after the wireless transmission unit downloads the firmware, the wireless transmission unit transmits a second switching signal to the power switch unit to block the supply power, and after a period of time, the wireless transmission unit transmits the second switching signal to the power switch unit to conduct the supply power again, so that the first control unit starts to execute the firmware.
5. The storage device of claim 4, wherein the wireless transmission unit comprises a Bluetooth module and the first control unit comprises a microcontroller.
6. The memory device of claim 4, wherein the wireless transmission unit transmits the second switching signal to the power switch unit through a General Purpose Input-Output (GPIO) pin.
7. The storage device according to claim 4, wherein the first control unit is electrically connected to the wireless transmission unit and the power switching unit, and the first control unit can receive the supply power only through the power switching unit.
8. A storage device for rapidly updating firmware, the storage device comprising:
the first control unit is used for sending an update signal or a reset signal;
the wireless transmission unit is used for receiving the updating signal and downloading the firmware according to the updating signal;
a reset circuit unit for restarting the first control unit; and
the second control unit receives the reset signal and controls the reset circuit unit according to the reset signal so as to restart the first control unit;
after the wireless transmission unit downloads the firmware, the first control unit transmits the reset signal to the second control unit to restart the first control unit and start to execute the firmware.
9. The storage device of claim 8, wherein the wireless transmission unit comprises a bluetooth module and the first control unit comprises a microcontroller.
10. The memory device according to claim 8, wherein the first reset circuit pin of the reset circuit unit is electrically connected to the second reset circuit pin of the first control unit, and the reset circuit unit triggers the first reset circuit pin to restart the first control unit.
CN201710649634.3A 2017-08-02 2017-08-02 Storage device for quickly updating firmware Active CN109388421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710649634.3A CN109388421B (en) 2017-08-02 2017-08-02 Storage device for quickly updating firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710649634.3A CN109388421B (en) 2017-08-02 2017-08-02 Storage device for quickly updating firmware

Publications (2)

Publication Number Publication Date
CN109388421A CN109388421A (en) 2019-02-26
CN109388421B true CN109388421B (en) 2022-01-04

Family

ID=65412050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710649634.3A Active CN109388421B (en) 2017-08-02 2017-08-02 Storage device for quickly updating firmware

Country Status (1)

Country Link
CN (1) CN109388421B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948320B (en) 2019-12-11 2024-01-16 瑞昱半导体股份有限公司 chip with memory
CN113687842B (en) * 2020-05-18 2023-07-18 佛山市顺德区顺达电脑厂有限公司 Server and main board module without power off for updating firmware

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763272A (en) * 2008-11-05 2010-06-30 环旭电子股份有限公司 Electronic device firmware updating method and system
CN101814034A (en) * 2009-02-19 2010-08-25 雷凌科技股份有限公司 Wireless access device with firmware updating function and method thereof
CN104123153A (en) * 2013-04-26 2014-10-29 韩国科亚电子股份有限公司 Apparatus and method for firmware upgrade using USB
CN104915237A (en) * 2015-06-24 2015-09-16 深圳市兰丁科技有限公司 Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment
CN105278992A (en) * 2015-10-27 2016-01-27 北京煜邦电力技术股份有限公司 Firmware updating method and apparatus
TW201624290A (en) * 2014-12-23 2016-07-01 宏正自動科技股份有限公司 Electronic apparatus, keyboard-video-mouse switch, and firmware updating method thereof
CN105893064A (en) * 2014-08-22 2016-08-24 深圳市易瑞微科技有限公司 Embedded device Bluetooth wireless upgrade method
WO2017048291A1 (en) * 2015-09-18 2017-03-23 Hewlett Packard Enterprise Development Lp Firmware update packages

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6448193B2 (en) * 2014-01-10 2019-01-09 キヤノン株式会社 Image forming apparatus, control method therefor, and program
TWI613544B (en) * 2015-09-30 2018-02-01 宇瞻科技股份有限公司 Status displaying device for solid-state drive
TWI566103B (en) * 2015-11-16 2017-01-11 宇瞻科技股份有限公司 Pcie bridge transformation device and method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763272A (en) * 2008-11-05 2010-06-30 环旭电子股份有限公司 Electronic device firmware updating method and system
CN101814034A (en) * 2009-02-19 2010-08-25 雷凌科技股份有限公司 Wireless access device with firmware updating function and method thereof
CN104123153A (en) * 2013-04-26 2014-10-29 韩国科亚电子股份有限公司 Apparatus and method for firmware upgrade using USB
CN105893064A (en) * 2014-08-22 2016-08-24 深圳市易瑞微科技有限公司 Embedded device Bluetooth wireless upgrade method
TW201624290A (en) * 2014-12-23 2016-07-01 宏正自動科技股份有限公司 Electronic apparatus, keyboard-video-mouse switch, and firmware updating method thereof
CN104915237A (en) * 2015-06-24 2015-09-16 深圳市兰丁科技有限公司 Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment
WO2017048291A1 (en) * 2015-09-18 2017-03-23 Hewlett Packard Enterprise Development Lp Firmware update packages
CN105278992A (en) * 2015-10-27 2016-01-27 北京煜邦电力技术股份有限公司 Firmware updating method and apparatus

Also Published As

Publication number Publication date
CN109388421A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
US20120023320A1 (en) Bios chip recovery system and computer thereof
TWI363298B (en) Communication device and firmware update method thereof
US10241807B2 (en) Vehicle control device, reprogramming system
US20130212430A1 (en) Electronic device with firmware recovery function and method for recovering firmware
US20050210458A1 (en) Communication terminal software updating method, communication terminal, and software updating method
US9864596B2 (en) Network switch system and operating method thereof
CN104424044A (en) Server system
US20100064036A1 (en) Peripheral device operation method, peripheral device and host
CN109388421B (en) Storage device for quickly updating firmware
US20160092201A1 (en) Method and Device for Updating Program Data
CN104239097A (en) Method and system for upgrading fitting by virtue of mobile terminal, and mobile terminal
CN111240753A (en) Loading method of bootstrap program, storage medium and embedded terminal
TW201602911A (en) A bridge module for updating basic input/output system and updating method thereof
CN102081526B (en) Basic input/output system architecture
CN103092648A (en) Method and system of mirror image upgrade and user device and personal computer
CN104158709A (en) Optical module identification method and port extender
CN105718416A (en) Method for upgrading configuration file of FPGA (Field Programmable Gate Array) and upgrading device
US20140317391A1 (en) Method for changing a system program and processing device utilizing the same
TWI636400B (en) Fast update firmware storage device
CN109697077B (en) Method, device and equipment for starting hard disk firmware
CN110855462A (en) Bluetooth OTA firmware upgrading device
CN104461659A (en) High-reliability computer starting method
US9529581B2 (en) Circuit and method for writing program codes of basic input/output system
CN109495119B (en) Radio frequency switch control method, device, mobile terminal and storage medium
CN113890930A (en) Bluetooth-based dual-platform direct connection switching method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant