[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113467796B - Solid state disk and starting method - Google Patents

Solid state disk and starting method Download PDF

Info

Publication number
CN113467796B
CN113467796B CN202010234597.1A CN202010234597A CN113467796B CN 113467796 B CN113467796 B CN 113467796B CN 202010234597 A CN202010234597 A CN 202010234597A CN 113467796 B CN113467796 B CN 113467796B
Authority
CN
China
Prior art keywords
firmware
storage unit
control circuit
switching circuit
circuit
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
CN202010234597.1A
Other languages
Chinese (zh)
Other versions
CN113467796A (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.)
Giga Byte Technology Co Ltd
Original Assignee
Giga Byte Technology Co Ltd
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 Giga Byte Technology Co Ltd filed Critical Giga Byte Technology Co Ltd
Priority to CN202010234597.1A priority Critical patent/CN113467796B/en
Publication of CN113467796A publication Critical patent/CN113467796A/en
Application granted granted Critical
Publication of CN113467796B publication Critical patent/CN113467796B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C5/00Details of stores covered by group G11C11/00
    • G11C5/14Power supply arrangements, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels
    • G11C5/148Details of power up or power down circuits, standby circuits or recovery circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Engineering (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a solid state disk and a starting method. The solid state disk comprises a control circuit, a firmware switching circuit, a first firmware storage unit and a second firmware storage unit. The firmware switching circuit is coupled to the control circuit. The first firmware storage unit is coupled to the firmware switching circuit and stores the first firmware. The second firmware storage unit is coupled to the firmware switching circuit and stores the second firmware. The control circuit reads the first firmware storage unit or the second firmware storage unit according to whether the firmware switching circuit is triggered or not so as to start according to the first firmware or the second firmware.

Description

固态硬盘以及启动方法Solid state drive and boot method

技术领域Technical Field

本发明涉及一种硬盘启动技术,且特别涉及一种固态硬盘以及启动方法。The present invention relates to a hard disk startup technology, and in particular to a solid state hard disk and a startup method.

背景技术Background technique

对于一般的固态硬盘来说,固态硬盘的固件可能进行更新,以更新为例如由硬盘制造商所提供的较新固件版本的固件数据。然而,当发生固件更新失败的情况时,一般的固态硬盘将会因为无法读取到有效的固件数据而无法进行正常启动操作,并且使用者可能必需将固态硬盘送回原厂来对固件存储单元进行重新烧录后才能再继续使用此固态硬盘。有鉴于此,如何可有效地克服当固态硬盘发生固件更新失败时,此固态硬盘因为无法依据更新失败的固件来进行启动操作而无法使用问题,以下将提出几个实施例的解决方案。For a general solid-state drive, the firmware of the solid-state drive may be updated to, for example, a newer firmware version provided by the hard drive manufacturer. However, when a firmware update fails, the general solid-state drive will not be able to perform normal startup operations because it cannot read valid firmware data, and the user may need to send the solid-state drive back to the original manufacturer to re-burn the firmware storage unit before continuing to use the solid-state drive. In view of this, how to effectively overcome the problem that when a solid-state drive fails to update its firmware, the solid-state drive cannot be used because it cannot perform startup operations based on the firmware that failed to update. The following will propose several embodiments of solutions.

发明内容Summary of the invention

本发明提供一种固态硬盘以及启动方法,可有效地进行固态硬盘的控制电路的启动操作。The invention provides a solid state hard disk and a startup method, which can effectively perform a startup operation of a control circuit of the solid state hard disk.

本发明的固态硬盘包括控制电路、固件切换电路、第一固件存储单元以及第二固件存储单元。固件切换电路耦接控制电路。第一固件存储单元耦接固件切换电路,并且用以存储第一固件。第二固件存储单元耦接固件切换电路,并且用以存储第二固件。控制电路用以依据固件切换电路是否被触发而读取第一固件存储单元或第二固件存储单元,以依据第一固件或第二固件进行启动。The solid state drive of the present invention comprises a control circuit, a firmware switching circuit, a first firmware storage unit and a second firmware storage unit. The firmware switching circuit is coupled to the control circuit. The first firmware storage unit is coupled to the firmware switching circuit and is used to store the first firmware. The second firmware storage unit is coupled to the firmware switching circuit and is used to store the second firmware. The control circuit is used to read the first firmware storage unit or the second firmware storage unit according to whether the firmware switching circuit is triggered, so as to start according to the first firmware or the second firmware.

本发明的启动方法适用于固态硬盘。固态硬盘包括控制电路、固件切换电路、第一固件存储单元以及第二固件存储单元。启动方法包括:通过控制电路依据固件切换电路是否被触发而读取第一固件存储单元所存储的第一固件或第二固件存储单元所存储第二固件;通过控制电路依据第一固件或第二固件进行启动。The startup method of the present invention is applicable to a solid state drive. The solid state drive includes a control circuit, a firmware switching circuit, a first firmware storage unit, and a second firmware storage unit. The startup method includes: reading the first firmware stored in the first firmware storage unit or the second firmware stored in the second firmware storage unit by the control circuit according to whether the firmware switching circuit is triggered; and starting according to the first firmware or the second firmware by the control circuit.

基于上述,本发明的固态硬盘以及启动方法,可通过两个固件存储单元存储两个固件,以供控制电路选择性读取,以使固态硬盘可进行启动。Based on the above, the solid state drive and the boot method of the present invention can store two firmwares through two firmware storage units for selective reading by the control circuit, so that the solid state drive can be booted.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合说明书附图作详细说明如下。In order to make the above features and advantages of the present invention more obvious and easy to understand, embodiments are given below and described in detail with reference to the accompanying drawings.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是依照本发明的一实施例的固态硬盘的方框示意图。FIG. 1 is a block diagram of a solid state drive according to an embodiment of the present invention.

图2是依照本发明的一实施例的启动方法的流程图。FIG. 2 is a flow chart of a startup method according to an embodiment of the present invention.

图3是依照本发明的一实施例的切换线路的线路示意图。FIG. 3 is a schematic diagram of a switching circuit according to an embodiment of the present invention.

图4是依照本发明的另一实施例的启动方法的流程图。FIG. 4 is a flow chart of a startup method according to another embodiment of the present invention.

附图标记说明:Description of reference numerals:

100:固态硬盘100: Solid State Drive

110、310:控制电路110, 310: Control circuit

120、320:固件切换电路120, 320: Firmware switching circuit

130、330:第一固件存储单元130, 330: first firmware storage unit

140、340:第二固件存储单元140, 340: second firmware storage unit

150:固态硬盘存储单元150: Solid state drive storage unit

160:电源模组160: Power module

301、311~313、321~326:线路301, 311-313, 321-326: Lines

S210、S220、S410~S460:步骤S210, S220, S410 to S460: Steps

具体实施方式Detailed ways

为了使本公开的内容可以被更容易明了,以下特举实施例做为本公开确实能够据以实施的范例。另外,凡可能之处,在附图及实施方式中使用相同标号的元件/构件/步骤,是代表相同或类似部件。In order to make the content of the present disclosure more understandable, the following embodiments are specifically cited as examples that the present disclosure can be implemented. In addition, wherever possible, the elements/components/steps with the same reference numerals in the drawings and embodiments represent the same or similar parts.

图1是依照本发明的一实施例的固态硬盘的方框示意图。参考图1,固态硬盘(Solid-state drive,SSD)100包括控制电路110、固件切换电路120、第一固件存储单元130、第二固件存储单元140、固态硬盘存储单元150以及电源模组160。控制电路110耦接固件切换电路120、固态硬盘存储单元150以及电源模组160。固件切换电路120还耦接第一固件存储单元130以及第二固件存储单元140。在本实施例中,第一固件存储单元130用以存储第一固件。第二固件存储单元140用以存储第二固件。控制电路110用以依据固件切换电路120是否被触发而读取第一固件存储单元130或第二固件存储单元140,以依据第一固件或第二固件进行启动。FIG. 1 is a block diagram of a solid-state drive according to an embodiment of the present invention. Referring to FIG. 1 , a solid-state drive (SSD) 100 includes a control circuit 110, a firmware switching circuit 120, a first firmware storage unit 130, a second firmware storage unit 140, a solid-state drive storage unit 150, and a power module 160. The control circuit 110 is coupled to the firmware switching circuit 120, the solid-state drive storage unit 150, and the power module 160. The firmware switching circuit 120 is also coupled to the first firmware storage unit 130 and the second firmware storage unit 140. In this embodiment, the first firmware storage unit 130 is used to store the first firmware. The second firmware storage unit 140 is used to store the second firmware. The control circuit 110 is used to read the first firmware storage unit 130 or the second firmware storage unit 140 according to whether the firmware switching circuit 120 is triggered, so as to start according to the first firmware or the second firmware.

举例而言,第二固件存储单元140可用以存储备援固件。当固态硬盘100进行固件更新时,控制电路110可对第一固件存储单元130所存储的第一固件进行更新。然而,当控制电路110在第一固件存储单元130的固件更新结束后进行启动时,若控制电路110读取第一固件存储单元130所存储的第一固件来进行启动操作失败,则固件切换电路120将被触发。因此,当控制电路110重新启动时,控制电路110将经由被触发的固件切换电路120来读取第二固件存储单元140所存储的第二固件来进行重新启动。换言之,本实施例的固态硬盘100可有效地克服当固态硬盘100发生固件更新失败时,固态硬盘100因控制电路110无法依据更新失败的固件来进行启动操作而无法使用问题。For example, the second firmware storage unit 140 can be used to store backup firmware. When the solid-state drive 100 performs a firmware update, the control circuit 110 can update the first firmware stored in the first firmware storage unit 130. However, when the control circuit 110 is started after the firmware update of the first firmware storage unit 130 is completed, if the control circuit 110 fails to read the first firmware stored in the first firmware storage unit 130 to perform a startup operation, the firmware switching circuit 120 will be triggered. Therefore, when the control circuit 110 restarts, the control circuit 110 will read the second firmware stored in the second firmware storage unit 140 through the triggered firmware switching circuit 120 to restart. In other words, the solid-state drive 100 of this embodiment can effectively overcome the problem that when the solid-state drive 100 fails to update its firmware, the solid-state drive 100 cannot be used because the control circuit 110 cannot perform a startup operation based on the firmware that failed to update.

然而,本发明并不限于上应用范例。在其他应用范例中,第一固件存储单元130所存储的第一固件以及第二固件存储单元140所存储的第二固件可分别用以被控制电路执行而实现不同存取效能或不同节能程度。固态硬盘100的控制电路110可例如依据中央处理器(Central Processing Unit,CPU)的工作效能、电源模组160的供电状态或环境温度等因素来选择性地触发固件切换电路120,以经由固件切换电路120的触发结果来选择性地读取第一固件存储单元130所存储的第一固件或第二固件存储单元140所存储的第二固件来进行启动操作。又或者,在另其他应用范例中,第一固件存储单元130所存储的第一固件以及第二固件存储单元140所存储的第二固件可为不同固件版本,并且固态硬盘100可通过使用者以手动切换的方式来触发固件切换电路120,以使固态硬盘100的控制电路110可选择性地读取第一固件存储单元130所存储的第一固件或第二固件存储单元140所存储的第二固件来进行启动操作。However, the present invention is not limited to the above application examples. In other application examples, the first firmware stored in the first firmware storage unit 130 and the second firmware stored in the second firmware storage unit 140 can be respectively used to be executed by the control circuit to achieve different access performance or different energy saving levels. The control circuit 110 of the solid-state drive 100 can selectively trigger the firmware switching circuit 120 based on factors such as the working performance of the central processing unit (CPU), the power supply status of the power module 160, or the ambient temperature, so as to selectively read the first firmware stored in the first firmware storage unit 130 or the second firmware stored in the second firmware storage unit 140 through the trigger result of the firmware switching circuit 120 to perform a startup operation. Alternatively, in other application examples, the first firmware stored in the first firmware storage unit 130 and the second firmware stored in the second firmware storage unit 140 may be different firmware versions, and the solid-state drive 100 may trigger the firmware switching circuit 120 by manual switching by the user, so that the control circuit 110 of the solid-state drive 100 can selectively read the first firmware stored in the first firmware storage unit 130 or the second firmware stored in the second firmware storage unit 140 to perform a startup operation.

图2是依照本发明的一实施例的启动方法的流程图。参考图1以及图2,本实施例的启动方法可至少适用于图1的固态硬盘100。在步骤S210中,控制电路110依据固件切换电路120是否被触发而读取第一固件存储单元130所存储的第一固件或第二固件存储单元140所存储第二固件。在步骤S220中,控制电路110依据第一固件或第二固件进行启动。因此,本实施例的启动方法,可使固态硬盘100能有效地进行控制电路110的启动操作。另外,关于本实施例的固态硬盘100的其他装置特征、实施范例以及技术细节可参考上述图1实施例的说明而获致足够的启示、建议以及实施说明,因此在此不再赘述。FIG. 2 is a flow chart of a startup method according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 2 , the startup method of the present embodiment can be at least applicable to the solid-state drive 100 of FIG. 1 . In step S210, the control circuit 110 reads the first firmware stored in the first firmware storage unit 130 or the second firmware stored in the second firmware storage unit 140 according to whether the firmware switching circuit 120 is triggered. In step S220, the control circuit 110 is started according to the first firmware or the second firmware. Therefore, the startup method of the present embodiment enables the solid-state drive 100 to effectively perform the startup operation of the control circuit 110. In addition, other device features, implementation examples and technical details of the solid-state drive 100 of the present embodiment can refer to the description of the embodiment of FIG. 1 above to obtain sufficient inspiration, suggestions and implementation instructions, so they are not repeated here.

图3是依照本发明的一实施例的切换线路的线路示意图。参考图3,本发明的固态硬盘的切换线路可如图3所示。控制电路310的多个引脚可经由线路311~313电性连接固件切换电路320,其中所述多个引脚可包括芯片选择引脚(Chip Selection,CS)、写入保护引脚(Write Protection,WP)以及保持引脚(Hold)。固件切换电路320分别经由线路321~323以及线路324~326来分别将控制电路310的上述多个引脚切换以耦接至第一固件存储单元330或第二固件存储单元340。值得注意的是,本实施例的控制电路310与固件切换电路320之间可电性连接一条额外的走线301。当控制电路310发生如上述举例说明的范例或其他情况时,控制电路310可通过走线301来提供触发信号至固件切换电路320,以触发固件切换电路320。FIG. 3 is a schematic diagram of a switching circuit according to an embodiment of the present invention. Referring to FIG. 3 , the switching circuit of the solid state drive of the present invention may be shown in FIG. Multiple pins of the control circuit 310 may be electrically connected to the firmware switching circuit 320 via lines 311 to 313, wherein the multiple pins may include a chip selection pin (Chip Selection, CS), a write protection pin (Write Protection, WP) and a hold pin (Hold). The firmware switching circuit 320 switches the above-mentioned multiple pins of the control circuit 310 to couple to the first firmware storage unit 330 or the second firmware storage unit 340 via lines 321 to 323 and lines 324 to 326, respectively. It is worth noting that an additional wiring 301 may be electrically connected between the control circuit 310 and the firmware switching circuit 320 of this embodiment. When the control circuit 310 occurs in the example described above or other situations, the control circuit 310 may provide a trigger signal to the firmware switching circuit 320 via the wiring 301 to trigger the firmware switching circuit 320.

换言之,在固件切换电路320被触发前,控制电路310是通过固件切换电路320来存取第一固件存储单元330所存储的第一固件。并且,在固件切换电路320被触发后,控制电路310是通过固件切换电路320来存取第二固件存储单元340所存储的第二固件。然而,固件切换电路320并不限于由走线301来接收由控制电路310的触发信号。在另一实施例中,固件切换电路320亦可通过另一额外的走线来连接至供使用者手动触发的触发单元,以接收由使用者触发所产生的另一触发信号,来决定控制电路310的存取对象。In other words, before the firmware switching circuit 320 is triggered, the control circuit 310 accesses the first firmware stored in the first firmware storage unit 330 through the firmware switching circuit 320. And, after the firmware switching circuit 320 is triggered, the control circuit 310 accesses the second firmware stored in the second firmware storage unit 340 through the firmware switching circuit 320. However, the firmware switching circuit 320 is not limited to receiving the trigger signal from the control circuit 310 through the wiring 301. In another embodiment, the firmware switching circuit 320 can also be connected to a trigger unit for manual triggering by a user through another additional wiring to receive another trigger signal generated by the user trigger to determine the access object of the control circuit 310.

图4是依照本发明的另一实施例的启动方法的流程图。参考图1以及图4,本实施例的启动方法可至少适用于图1的固态硬盘100。在步骤S410,控制电路110进行启动操作。控制电路110判断固件切换电路120是否被触发。若否,则固态硬盘100执行步骤S430。在步骤S430,控制电路110通过固件切换电路120读取第一固件存储单元130所存储的第一固件。控制电路110执行所述第一固件,以进行启动操作。在步骤S450,控制电路110判断是否成功启动。若是,则固态硬盘100执行步骤S470。在步骤S470,控制电路110结束启动操作。然而,若否,则固态硬盘100执行步骤S460。FIG. 4 is a flow chart of a startup method according to another embodiment of the present invention. Referring to FIG. 1 and FIG. 4 , the startup method of this embodiment can be applied to at least the solid-state drive 100 of FIG. 1 . In step S410, the control circuit 110 performs a startup operation. The control circuit 110 determines whether the firmware switching circuit 120 is triggered. If not, the solid-state drive 100 executes step S430. In step S430, the control circuit 110 reads the first firmware stored in the first firmware storage unit 130 through the firmware switching circuit 120. The control circuit 110 executes the first firmware to perform a startup operation. In step S450, the control circuit 110 determines whether the startup is successful. If so, the solid-state drive 100 executes step S470. In step S470, the control circuit 110 ends the startup operation. However, if not, the solid-state drive 100 executes step S460.

在步骤S460,控制电路110触发固件切换电路120。接着,控制电路110重新执行步骤S410,以进行重新启动。当控制电路110再次步骤S420时,由于控制电路110判断固件切换电路120被触发,因此控制电路110执行步骤S440。在步骤S440,控制电路110通过固件切换电路120读取第二固件存储单元140所存储的第二固件。控制电路110执行所述第二固件,以重新进行启动操作,并且控制电路110继续执行步骤S450及步骤S470。因此,本实施例的启动方法,可使固态硬盘100能有效地进行控制电路110的启动操作。另外,关于本实施例的固态硬盘100的其他装置特征、实施范例以及技术细节可参考上述图1实施例的说明而获致足够的启示、建议以及实施说明,因此在此不再赘述。In step S460, the control circuit 110 triggers the firmware switching circuit 120. Then, the control circuit 110 re-executes step S410 to restart. When the control circuit 110 again executes step S420, since the control circuit 110 determines that the firmware switching circuit 120 is triggered, the control circuit 110 executes step S440. In step S440, the control circuit 110 reads the second firmware stored in the second firmware storage unit 140 through the firmware switching circuit 120. The control circuit 110 executes the second firmware to restart the startup operation, and the control circuit 110 continues to execute steps S450 and S470. Therefore, the startup method of this embodiment can enable the solid state drive 100 to effectively perform the startup operation of the control circuit 110. In addition, other device features, implementation examples and technical details of the solid state drive 100 of this embodiment can refer to the description of the embodiment of FIG. 1 above to obtain sufficient inspiration, suggestions and implementation instructions, so they are not repeated here.

综上所述,本发明的固态硬盘以及启动方法,可通过两个固件存储单元来存储两个固件,并且在控制电路与两个固件存储单元之间设置有固件切换电路,以依据固件切换电路是否被触发来决定控制电路从所述两个固件存储单元的其中的一来存取固态硬盘的固件。并且,固件切换电路的触发方式可为自动或手动。据此,本发明的固态硬盘以及启动方法,可提供能够读取到有效的固态硬盘的固件来进行启动的技术效果,或可提供能够选择性读取特定固件来进行特殊启动的技术效果。In summary, the solid-state hard disk and the boot method of the present invention can store two firmwares through two firmware storage units, and a firmware switching circuit is provided between the control circuit and the two firmware storage units to determine whether the control circuit accesses the firmware of the solid-state hard disk from one of the two firmware storage units according to whether the firmware switching circuit is triggered. In addition, the triggering method of the firmware switching circuit can be automatic or manual. Accordingly, the solid-state hard disk and the boot method of the present invention can provide a technical effect of being able to read the valid firmware of the solid-state hard disk for booting, or can provide a technical effect of being able to selectively read specific firmware for special booting.

虽然本发明已以实施例公开如上,然其并非用以限定本发明,任何所属技术领域中技术人员,在不脱离本发明的构思和范围内,当可作些许的变动与润饰,故本发明的保护范围当视权利要求所界定者为准。Although the present invention has been disclosed as above by way of embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some changes and modifications without departing from the concept and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the claims.

Claims (8)

1. A solid state disk comprising:
a control circuit;
A firmware switching circuit coupled to the control circuit;
a first firmware storage unit coupled to the firmware switching circuit and used for storing a first firmware; and
A second firmware storage unit coupled to the firmware switching circuit for storing a second firmware,
Wherein the control circuit is used for reading the first firmware storage unit or the second firmware storage unit according to whether the firmware switching circuit is triggered or not so as to start according to the first firmware or the second firmware,
Wherein the control circuit is preset to read the first firmware of the first firmware storage unit to start according to the first firmware, and when the control circuit fails to start according to the first firmware, the firmware switching circuit is triggered to switch the control circuit to read the second firmware of the second firmware storage unit, and the control circuit restarts according to the second firmware,
It is characterized in that when the control circuit fails to start, the control circuit outputs a trigger signal to the firmware switching circuit through a wiring coupled with the firmware switching circuit to trigger the firmware switching circuit to switch the control circuit to read the first firmware storage unit or the second firmware storage unit,
Wherein the first firmware and the second firmware are different firmware versions.
2. The solid state disk of claim 1, wherein the firmware switching circuit receives a trigger signal from outside to trigger the firmware switching circuit to switch the control circuit to read the first firmware storage unit or the second firmware storage unit.
3. The solid state disk of claim 1, wherein the first firmware and the second firmware are executed by the control circuit to achieve different access performance or different energy saving levels, respectively.
4. The solid state disk of claim 1, wherein the firmware switching circuit is configured to switch pins of the control circuit to be coupled to the first firmware storage unit or the second firmware storage unit, wherein the pins include a chip select pin, a write protection pin, and a retention pin.
5. The starting method is suitable for a solid state disk, and is characterized in that the solid state disk comprises a control circuit, a firmware switching circuit, a first firmware storage unit and a second firmware storage unit, and the starting method comprises the following steps:
reading a first firmware stored in the first firmware storage unit or a second firmware stored in the second firmware storage unit by the control circuit according to whether the firmware switching circuit is triggered; and
Starting by the control circuit according to the first firmware or the second firmware,
The step of reading the first firmware stored in the first firmware storage unit or the second firmware stored in the second firmware storage unit by the control circuit according to whether the firmware switching circuit is triggered comprises the following steps:
the control circuit is preset to read the first firmware of the first firmware storage unit so as to start the solid state disk according to the first firmware; and
When the control circuit fails to start according to the first firmware, the control circuit is triggered by the firmware switching circuit to switch the control circuit to read the second firmware of the second firmware storage unit and restart according to the second firmware,
The method is characterized in that when the control circuit fails to start the solid state disk according to the first firmware, the firmware switching circuit is triggered to switch the control circuit to read the second firmware of the second firmware storage unit, and the step of restarting according to the second firmware comprises the following steps:
The control circuit outputs a trigger signal to the firmware switching circuit through a wiring coupled with the firmware switching circuit to trigger the firmware switching circuit to switch the control circuit to read the second firmware storage unit,
Wherein the first firmware and the second firmware are different firmware versions.
6. The method of claim 5, wherein the step of reading the first firmware stored in the first firmware storage unit or the second firmware stored in the second firmware storage unit by the control circuit according to whether the firmware switching circuit is triggered comprises:
And receiving a trigger signal from the outside through the firmware switching circuit so as to trigger the firmware switching circuit to switch the control circuit to read the first firmware storage unit or the second firmware storage unit.
7. The method of claim 5, wherein the first firmware and the second firmware are executed by the control circuit to achieve different access performance or different power saving levels, respectively.
8. The method of claim 5, wherein the firmware switching circuit is configured to switch pins of the control circuit to be coupled to the first firmware storage unit or the second firmware storage unit, wherein the pins include a chip select pin, a write protection pin, and a retention pin.
CN202010234597.1A 2020-03-30 2020-03-30 Solid state disk and starting method Active CN113467796B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010234597.1A CN113467796B (en) 2020-03-30 2020-03-30 Solid state disk and starting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010234597.1A CN113467796B (en) 2020-03-30 2020-03-30 Solid state disk and starting method

Publications (2)

Publication Number Publication Date
CN113467796A CN113467796A (en) 2021-10-01
CN113467796B true CN113467796B (en) 2024-07-23

Family

ID=77864740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010234597.1A Active CN113467796B (en) 2020-03-30 2020-03-30 Solid state disk and starting method

Country Status (1)

Country Link
CN (1) CN113467796B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308935A (en) * 2018-03-27 2019-10-08 纬创资通股份有限公司 Electronic device and method of operation thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295255B (en) * 2007-04-27 2011-05-18 英业达股份有限公司 Firmware updating system and method
JP2008299709A (en) * 2007-06-01 2008-12-11 Nec Corp Firmware updating system, network connection apparatus, firmware updating method, and program
JP2009025967A (en) * 2007-07-18 2009-02-05 Nec Computertechno Ltd Backup system of duplicated firmware, method and operating system
US9934151B2 (en) * 2016-06-28 2018-04-03 Dell Products, Lp System and method for dynamic optimization for burst and sustained performance in solid state drives
US10146527B2 (en) * 2016-10-12 2018-12-04 Samsung Electronics Co., Ltd. Method and apparatus for using BMC as proxy for NVME over fabrics device firmware upgrade
US10642693B2 (en) * 2017-09-06 2020-05-05 Western Digital Technologies, Inc. System and method for switching firmware

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308935A (en) * 2018-03-27 2019-10-08 纬创资通股份有限公司 Electronic device and method of operation thereof

Also Published As

Publication number Publication date
CN113467796A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US8751783B2 (en) Booting computing devices with EFI aware operating systems
TWI515660B (en) Firmware variable update method
CN102135927B (en) Method and device for system booting based on NAND FLASH
US7979687B2 (en) Quick start
US10409617B2 (en) BIOS switching device
WO2008104117A1 (en) An electronic equipment, a starting method thereof and a method and device for upgrading bios
US20090271660A1 (en) Motherboard, a method for recovering the bios thereof and a method for booting a computer
US20100125752A1 (en) System for auto-operating backup firmware and method thereof
US20190228157A1 (en) Computing device having two trusted platform modules
JP5665923B2 (en) Electronic device capable of updating basic input / output system and update method
US11704198B2 (en) Method and apparatus for providing recovery from a computing device boot up error
US9348603B2 (en) Electronic apparatus and booting method
US9652259B2 (en) Apparatus and method for managing register information in a processing system
TWI722852B (en) Solid-state disk and startup method
JP6599725B2 (en) Information processing apparatus, log management method, and computer program
CN101739315A (en) System and method for automatically starting backup firmware
CN101436097B (en) Electronic device and wake-up method thereof
CN113467796B (en) Solid state disk and starting method
CN112214353B (en) Firmware recovery method, device, computer equipment and storage medium
US20160179626A1 (en) Computer system, adaptable hibernation control module and control method thereof
CN113867807A (en) Method, device, equipment and storage medium for shortening power-on time of server
TWI482004B (en) Processing device and method of system booting failure
CN101739262A (en) Firmware updating method and electronic device applying same
CN100394392C (en) Automatic starting control method and system for computer program recovery mode
TW201327173A (en) Electronic apparatus and BIOS updating apparatus thereof

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