Starting circuit, starting method and starting system

By introducing detection circuits and memory access circuits into the startup circuits, and automatically adjusting the transmission parameters, the problem of inefficient startup in the existing flash startup mode is solved, and a more efficient startup process is achieved.

CN113254085BActive Publication Date: 2024-11-29REALTEK SEMICON CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010091097.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-13
Publication Date
2024-11-29
Estimated Expiration
2040-02-13

AI Technical Summary

Technical Problem

The existing flash startup method has poor startup efficiency in the circuit system and has many disadvantages, resulting in low startup efficiency.

Method used

A startup circuit is designed, including a first control circuit, a digital signal processing circuit, a detection circuit and a memory access circuit. By detecting the received startup information, adjusting the transmission parameters, and retransmitting the startup information to the digital signal processing circuit to perform startup. Program, implements automatic correction mechanism, and improves the reliability and efficiency of transmission of startup information.

Benefits of technology

By automatically adjusting the transmission parameters, the reliability and startup efficiency of the restart information are improved, so that the startup system has the preferred startup efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113254085B_ABST
    Figure CN113254085B_ABST
Patent Text Reader

Abstract

The present invention discloses a startup circuit, a startup method and a startup system. The startup circuit is used to couple a memory. The memory stores a startup information. The startup circuit is used to receive the startup information. The startup circuit includes a first control circuit, a digital signal processing circuit, a detection circuit, a second control circuit and a memory access circuit. The detection circuit is used to generate a detection result according to the received startup information. The second control circuit is used to control the first control circuit according to the detection result to adjust a transmission parameter used to transmit the startup information. The startup information is retransmitted from the memory to the digital signal processing circuit via the memory access circuit based on the adjusted transmission parameter. The digital signal processing circuit performs a startup procedure according to the retransmitted startup information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments described in the present disclosure are related to a circuit technology, and more particularly to a startup circuit, a startup method, and a startup system. Background Art

[0002] Generally speaking, a circuit system can use direct memory access (DMA) technology to perform flash boot. Flash boot refers to the effect of booting the circuit system by reading the boot information in the flash memory. However, there are still many disadvantages in the existing flash boot method, which makes the boot efficiency of the circuit system poor. Summary of the invention

[0003] Some embodiments of the present disclosure are related to a startup circuit. The startup circuit is used to couple a memory. The memory stores a startup information. The startup circuit is used to receive the startup information. The startup circuit includes a first control circuit, a digital signal processing circuit, a detection circuit, a second control circuit and a memory access circuit. The detection circuit is used to generate a detection result based on the received startup information. The second control circuit is used to control the first control circuit based on the detection result to adjust a transmission parameter used to transmit the startup information. The startup information is retransmitted from the memory to the digital signal processing circuit via the memory access circuit based on the adjusted transmission parameter. The digital signal processing circuit performs a startup procedure based on the retransmitted startup information.

[0004] Some embodiments of the present disclosure are related to a startup method. The startup method includes: generating a detection result through a detection circuit according to a startup information transmitted from a memory; controlling a second control circuit through a first control circuit according to the detection result to adjust a transmission parameter used to transmit the startup information; and based on the adjusted transmission parameter, retransmitting the startup information from the memory and through a memory access circuit to a digital signal processing circuit, so that the digital signal processing circuit performs a startup procedure according to the retransmitted startup information.

[0005] Some embodiments of the present disclosure are related to a startup system. The startup system includes a memory and a startup circuit. The memory stores startup information. The startup circuit is used to receive the startup information, generate a detection result based on the startup information, and adjust a transmission parameter used to transmit the startup information based on the detection result. The startup information is retransmitted from the memory to the startup circuit based on the adjusted transmission parameter. The startup circuit is further used to perform a startup procedure based on the retransmitted startup information.

[0006] In summary, the starting circuit, starting method and starting system disclosed in the present invention have preferred starting efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] In order to make the above and other purposes, features, advantages and embodiments of the present disclosure more clearly understood, the accompanying drawings are described as follows:

[0008] Figure 1 is a schematic diagram of a startup system according to some embodiments of the present disclosure;

[0009] Figure 2 According to some embodiments of the present disclosure Figure 1 Operation flow chart of the startup system;

[0010] Figure 3 is a schematic diagram of a startup system according to some embodiments of the present disclosure; and

[0011] Figure 4 is a flowchart of a startup method according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0012] As used herein, the term “coupled” may also refer to “electrically coupled”, and the term “connected” may also refer to “electrically connected”. “Coupled” and “connected” may also refer to two or more components cooperating or interacting with each other.

[0013] refer to Figure 1 . Figure 1 is a schematic diagram of a starting system 100 according to some embodiments of the present disclosure.

[0014] by Figure 1 For example, the boot system 100 includes a boot circuit 120 and a memory 140. The boot circuit 120 is coupled to the memory 140. The memory 140 stores the boot information BTI. The boot circuit 120 is used to receive the boot information BTI to execute the boot procedure. In some embodiments, the boot circuit 120 is a system on chip (SoC), and the memory 140 is a flash memory, but the present disclosure is not limited thereto.

[0015] The startup circuit 120 includes a digital signal processing (DSP) circuit 121, a control circuit 122, a control circuit 123, a control circuit 124, a detection circuit 125, and a memory access circuit 126. The digital signal processing circuit 121 includes a memory 1211. In some embodiments, the memory 1211 is a random access memory (RAM), the control circuits 122, 123, and 124 are microcontrollers, and the memory access circuit 126 is a direct memory access (DMA) control circuit, but the present disclosure is not limited to the above. The control circuit 122, the control circuit 123, the detection circuit 125, the memory access circuit 126, and the memory 140 are respectively coupled to the control circuit 124. The detection circuit 125 is further coupled between the memory access circuit 126 and the memory 1211. In another embodiment, the control circuit 122 , the control circuit 123 , and the control circuit 124 are integrated into the same control circuit to replace their original functions, such as a microcontroller, but the present disclosure is not limited thereto.

[0016] In addition to the boot information BTI, the memory 140 further stores error correction information ERI and initialization information INI. The error correction information ERI includes an error correction descriptor E1 and a check code E2. The initialization information INI includes an initialization descriptor N1 and a check code N2. The boot information BTI includes a boot program B1 and a check code B2.

[0017] The above configuration of the starting system 100 is for exemplary purposes only, and various configurations of the starting system 100 are within the scope of the present disclosure.

[0018] Figure 2 According to some embodiments of the present disclosure Figure 1 Please refer to the following operation flow chart of the startup system 100. Figure 1 as well as Figure 2 .

[0019] In operation S202, the control circuit 124 receives the initialization information INI from the memory 140. Specifically, the control circuit 124 sends a request. In response to the request, the memory 140 returns the initialization information INI to the control circuit 124. Next, in operation S204, the control circuit 124 determines whether the initialization information INI is correctly received according to the check code N2 of the initialization information INI.

[0020] If the initialization information INI is not correctly received by the control circuit 124, in operation S206, the control circuit 124 controls the control circuit 123 to adjust the transmission clock and / or transmission protocol used to transmit the initialization information INI. The initialization information INI is retransmitted to the control circuit 124 based on the adjusted transmission clock and / or transmission protocol. In some embodiments, the transmission clock is reduced (for example, reduced to the lowest speed). The transmission protocol is adjusted to a single bit transmission protocol. Accordingly, the reliability of the transmission process of the initialization information INI can be improved.

[0021] If the initialization information INI is correctly received by the control circuit 124, in operation S208, the control circuit 124 performs an initialization procedure according to the initialization information INI to initialize (e.g., power on) the clock controller (not shown) and the power controller (not shown) of the startup circuit 120 and program the detection circuit 125 and the memory access circuit 126. Accordingly, the startup circuit 120 can operate according to the initialized clock controller and the power controller, and the memory access circuit 126 can receive the startup information BTI according to the access position.

[0022] In operation S210, the startup information BTI is transmitted. Specifically, the memory access circuit 126 transmits the startup information BTI stored in the memory 140 to the detection circuit 125. Next, in operation S212, the detection circuit 125 determines whether the startup information BTI is correctly received according to the check code B2 of the received startup information BTI to generate a detection result FLAG.

[0023] If the detection result FLAG indicates that the boot information BTI is correctly received by the detection circuit 125 , in operation S214 , the digital signal processing circuit 121 of the boot system 120 will execute the boot procedure according to the boot procedure B1 .

[0024] If the detection result FLAG indicates that the start information BTI is not correctly received by the detection circuit 125, in operation S216, the control circuit 124 receives the error correction information ERI from the memory 140. Next, in operation S218, the control circuit 124 determines whether the error correction information ERI is correctly received according to the check code E2 of the error correction information ERI. Similar to operation S206, in operation S220, if the error correction information ERI is not correctly received by the control circuit 124, the control circuit 124 controls the control circuit 123 to adjust the transmission clock and / or transmission protocol used to transmit the error correction information ERI. The error correction information ERI is retransmitted to the control circuit 124 based on the adjusted transmission clock and / or transmission protocol. In some embodiments, the transmission clock is reduced (for example, reduced to the lowest speed). The transmission protocol is adjusted to a single-bit transmission protocol. Accordingly, the reliability of the transmission process of the error correction information ERI can be improved.

[0025] In operation S222, if the error correction information ERI is correctly received by the control circuit 124, the control circuit 124 controls the control circuit 122 according to the error correction information ERI to adjust the transmission parameters used to transmit the startup information BTI. The transmission parameters include the clock frequency, power supply voltage, pad driving capability or transmission protocol used to transmit the startup information BTI. For example, the control circuit 122 can reduce the clock frequency used to transmit the startup information BTI. The control circuit 122 can increase the power supply voltage. The control circuit 122 can increase the pad driving capability. The control circuit 122 can adjust the transmission protocol used to transmit the startup information BTI to a transmission protocol with preferred reliability. Through the above adjustment, the reliability of the transmission process of the startup information BTI can be improved.

[0026] Next, in operation S224, the detection circuit 125 and the memory access circuit 126 are reprogrammed. In operation S210, based on the transmission parameters adjusted in operation S222, the activation information BTI is retransmitted from the memory 140 to the digital signal processing circuit 121 via the memory access circuit 126.

[0027] Next, in operation S212 , the detection circuit 125 determines whether the retransmitted start-up information BTI is correctly received according to the check code B2 of the received start-up information BTI to generate a detection result FLAG.

[0028] In operation S214 , if the detection result FLAG indicates that the retransmitted startup information BTI is correctly received by the detection circuit 125 , the digital signal processing circuit 121 of the startup system 120 executes the startup procedure according to the retransmitted startup procedure B1 .

[0029] In some related technologies, if the startup information BTI is not correctly received, the system simply uses the same transmission parameters to perform a retransmission procedure. Compared to these related technologies, the startup system 100 disclosed in the present invention has an automatic correction mechanism that can automatically adjust the transmission parameters of the startup information BTI for retransmission to improve the reliability of the retransmission procedure. Accordingly, the retransmitted startup information BTI is more likely to be correctly received, thereby enabling the startup system 100 to have a preferred startup efficiency.

[0030] refer to Figure 3 . Figure 3 is a schematic diagram of a starting system 300 according to some embodiments of the present disclosure. Figure 3 The starting system 300 is similar to Figure 1 The starting system 100.

[0031] Figure 3 The starting system 300 with Figure 1 The difference between the booting system 100 and the booting system 300 is that the detection circuit 325 and the memory access circuit 326 of the booting system 300 are respectively coupled to the memory 1211 of the digital signal processing circuit 121. The detection circuit 325 can directly receive the booting information BTI from the memory 140 without passing through the memory access circuit 326. Figure 3 The operation of the starting system 300 is similar to Figure 1 The starting system 100 is not described in detail here.

[0032] refer to Figure 4 . Figure 4 4 is a flowchart of a startup method 400 according to some embodiments of the present disclosure. The startup method 400 includes operations S410, S420, and S430. In some embodiments, the startup method 400 is applied to Figure 1 Start system 100 or Figure 3 In the startup system 300, but the present disclosure is not limited thereto. For ease of understanding, the startup method 400 will be used with Figure 1 The startup system 100 is discussed.

[0033] In operation S410, the detection circuit 125 generates a detection result FLAG according to the startup information BTI transmitted from the memory 140. In some embodiments, the detection circuit 125 determines whether the startup information BTI is correctly received according to the check code B2 of the received startup information BTI to generate the detection result FLAG.

[0034] In operation S420, the control circuit 122 is controlled by the control circuit 124 according to the detection result FLAG to adjust the transmission parameters used to transmit the startup information BTI. In some embodiments, if the startup information BTI is not correctly received, the transmission parameters used to transmit the startup information BTI are adjusted. The transmission parameters include the clock frequency, power supply voltage, pad driving capability or transmission protocol used to transmit the startup information BTI.

[0035] In operation S430 , based on the adjusted transmission parameters, the activation information BTI is retransmitted from the memory 140 to the digital signal processing circuit 121 via the memory access circuit 126 , so that the digital signal processing circuit 121 performs the activation procedure according to the retransmitted activation information BTI.

[0036] In summary, the starting circuit, starting method and starting system disclosed in the present invention have preferred starting efficiency.

[0037] Various functional components and blocks have been disclosed herein. It will be apparent to one of ordinary skill in the art that the functional blocks may be implemented by circuits (whether dedicated circuits or general purpose circuits operating under the control of one or more processors and coded instructions) that generally include transistors or other circuit components for controlling the operation of electrical circuits corresponding to the functions and operations described herein. As will be further understood, the specific structure and interconnection of the circuit components generally may be determined by a compiler, such as a Register Transfer Language (RTL) compiler. The Register Transfer Language compiler operates on a script that is quite similar to assembly language code, compiling the script into a form that is used to lay out or fabricate the final circuit. Indeed, Register Transfer Language is well known for its role and use in facilitating the design process of electronic and digital systems.

[0038] Although the present disclosure has been disclosed in the above-mentioned implementation mode, it is not intended to limit the present disclosure. Any ordinary technician in the field can make various changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be determined by the definition of the appended claims.

[0039]

Explanation of symbols

[0040] 100: Start the system

[0041] 120: Startup circuit

[0042] 121: Digital signal processing circuit

[0043] 1211: Memory

[0044] 122: Control circuit

[0045] 123: Control circuit

[0046] 124: Control circuit

[0047] 125: Detection circuit

[0048] 126: Memory access circuit

[0049] 140: Memory

[0050] 300: Start the system

[0051] 325: Detection circuit

[0052] 326: Memory access circuit

[0053] 400: Startup method

[0054] BTI: Startup Information

[0055] B1: Start the program

[0056] B2: Check code

[0057] ERI: Error Correction Information

[0058] E1: Error Correction Descriptor

[0059] E2: Check code

[0060] INI: Initialization information

[0061] N1: Initialize the descriptor

[0062] N2: Check code

[0063] FLAG: Detection results

[0064] S202, S204, S206, S208, S210, S212, S214, S216, S218, S220, S222, S224, S410, S420, S430: operation.

Claims

1. A startup circuit, coupled to a memory, the memory storing startup information, the startup circuit receiving the startup information, wherein the startup circuit comprises: a first control circuit; a digital signal processing circuit; A detection circuit, used to generate a detection result according to the received startup information; a second control circuit, used for controlling the first control circuit according to the detection result, so as to adjust a transmission parameter used for transmitting the startup information; a memory access circuit, wherein the activation information is retransmitted from the memory to the digital signal processing circuit via the memory access circuit based on the adjusted transmission parameter, wherein the digital signal processing circuit performs a startup procedure according to the retransmitted activation information, and a third control circuit, in, The second control circuit is used to receive an error correction information from the memory according to the detection result, and wherein, When the error correction information is correctly received by the second control circuit, the second control circuit is used to control the first control circuit to adjust the transmission parameter according to the error correction information. When the error correction information is not correctly received by the second control circuit, the second control circuit controls the third control circuit to adjust a transmission clock or a transmission protocol, and the error correction information is retransmitted to the second control circuit based on the adjusted transmission clock or the transmission protocol. 2 . The startup circuit according to claim 1 , wherein the third control circuit reduces the transmission clock and controls the transmission protocol to be a single-bit transmission protocol.

3. The startup circuit according to claim 1, wherein the second control circuit is used to receive an initialization information from the memory, and when the initialization information is correctly received by the second control circuit, the second control circuit initializes a clock controller and a power controller according to the initialization information and programs the memory access circuit and the detection circuit.

4. The starting circuit according to claim 3, When the initialization information is not correctly received by the second control circuit, the second control circuit controls the third control circuit to adjust a transmission clock or a transmission protocol, and the initialization information is retransmitted to the second control circuit based on the adjusted transmission clock or the transmission protocol. 5 . The startup circuit as claimed in claim 1 , wherein the transmission parameter comprises a clock frequency, a power supply voltage, a pad driving capability or a transmission protocol.

6. A startup method, comprising: Generate a detection result through a detection circuit according to a start-up information transmitted from a memory; Controlling a second control circuit according to the detection result through a first control circuit to adjust a transmission parameter used to transmit the startup information; and Based on the adjusted transmission parameter, the activation information is retransmitted from the memory to a digital signal processing circuit via a memory access circuit, so that the digital signal processing circuit performs a startup procedure according to the retransmitted activation information. in, The second control circuit is used to receive an error correction information from the memory according to the detection result, and wherein, When the error correction information is correctly received by the second control circuit, the second control circuit is used to control the first control circuit to adjust the transmission parameter according to the error correction information. When the error correction information is not correctly received by the second control circuit, the second control circuit controls a third control circuit to adjust a transmission clock or a transmission protocol, and the error correction information is retransmitted to the second control circuit based on the adjusted transmission clock or the transmission protocol.

7. A starting system, comprising: a memory storing a startup information; and a startup circuit for receiving the startup information, generating a detection result according to the startup information, and adjusting a transmission parameter for transmitting the startup information according to the detection result, wherein the startup information is retransmitted from the memory to the startup circuit based on the adjusted transmission parameter, wherein the startup circuit is further configured to perform a startup procedure according to the retransmitted startup information, in, The startup circuit is used to receive an error correction information from the memory according to the detection result, and wherein, When the error correction information is correctly received by the startup circuit, the startup circuit is used to adjust the transmission parameter according to the error correction information. When the error correction information is not correctly received by the startup circuit, the startup circuit adjusts a transmission clock or a transmission protocol, and the error correction information is retransmitted to the startup circuit based on the adjusted transmission clock or the transmission protocol.

Citation Information

Patent Citations

  • Intelligent charging equipment and application program starting method based same

    CN104967160A

  • Integrated circuit, measuring device convenient for self-calibration

    CN2932310Y

  • Data retransmission system in data transfer device

    JP1985053348A

  • Protection circuit and method for floating power transfer device

    TW200417120A