Embedded flash memory control circuit, chip and electronic equipment
By separating command decoding, authority control and command arbitration in the embedded flash memory control circuit, a structured component is formed, which solves the problem of inconsistent interfaces of embedded flash memory controllers from different manufacturers, achieves efficient chip design and verification, and reduces costs. Human input and improved product sustainability.
Patent Information
- Application Number
- CN202410935143.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-18
AI Technical Summary
Embedded flash memory controllers from different manufacturers lack unified interfaces, which requires a lot of manpower investment in the MCU product development and verification process, and it is difficult to reuse embedded flash memory controllers between different products.
Design an embedded flash memory control circuit that separates command decoding, authority control, command arbitration and command timing through the decoding module, arbitration module and timing generation module to form a structured component, reduce high coupling, and integrate in different products Make minimal modifications or modular replacements.
It effectively saves the manpower investment in chip design and verification, improves the inheritability and reusability of embedded flash memory control circuits, and reduces the development investment in embedded Flash controllers in different projects.
Smart Images

Figure CN118796734A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic circuits, and in particular to an embedded flash memory control circuit, chip and electronic device. Background Art
[0002] In the related art, microcontroller units (MCU) products use embedded Flash (eFlash) memory (eFlash for short). Different manufacturers' eFlash do not have a unified interface, so different eFlash controllers (eFlash controllers) need to be designed for different MCU products. When developing products, eFlash controllers require a lot of manpower for both chip design and verification. Summary of the invention
[0003] In view of the above problems, the embodiments of the present application provide an embedded flash memory control circuit, a chip and an electronic device to solve the above technical problems.
[0004] In the first aspect, the embodiment of the present application provides an embedded flash memory control circuit, including: a decoding module, an arbitration module and a timing generation module, wherein the decoding module is used to convert the first address assigned by the host in the flash memory access command into the second address of the embedded flash memory and judge the authority of the flash memory access command; the arbitration module is used to arbitrate the priority of multiple flash memory access commands; the timing generation module is used to generate the flash memory timing corresponding to the flash memory access command. The control circuit of the embodiment of the present application separates command decoding and authority control, command arbitration, command timing generation, etc., and is designed into a structured component, which can reduce the high coupling of the embedded flash memory control circuit, and can be modified or modularly replaced to a minimum extent when reused in different products, which can greatly save the manpower investment in chip design and verification.
[0005] In a second aspect, an embodiment of the present application further provides a chip, comprising the above-mentioned embedded flash memory control circuit.
[0006] In a third aspect, an embodiment of the present application further provides an electronic device, comprising the above-mentioned chip or embedded flash memory control circuit.
[0007] The embedded flash memory control circuit, chip and electronic device provided in the embodiments of the present application separate command decoding and permission control, command arbitration, command timing generation, etc. through a decoding module, an arbitration module and a timing generation module, and are designed into structured components. This can reduce the high coupling of the embedded flash memory control circuit, and can be modified or modularly replaced to a minimum extent when reused in different products, which can greatly save the manpower investment in chip design and verification.
[0008] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A structural block diagram of an integrated circuit provided in an embodiment of the present application is shown.
[0011] Figure 2 A structural block diagram of an embedded flash memory control circuit provided in an embodiment of the present application is shown.
[0012] Figure 3 A structural block diagram of another embedded flash memory control circuit provided in an embodiment of the present application is shown.
[0013] Figure 4 A structural block diagram of a multiplexer provided in an embodiment of the present application is shown.
[0014] Figure 5 A flowchart of an exemplary erase command provided in an embodiment of the present application is shown.
[0015] Figure 6 A flowchart of an exemplary programming command provided by an embodiment of the present application is shown.
[0016] Figure 7 A flowchart of an exemplary read command provided by an embodiment of the present application is shown. DETAILED DESCRIPTION
[0017] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0018] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0019] In the embodiments of the present application, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0020] Moreover, the terms "comprises," "comprising," or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0021] In the description of the embodiments of the present application, words such as "example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "example" or "for example" in the embodiments of the present application is not to be interpreted as being more preferred or having more advantages than another embodiment or design. The use of words such as "example" or "for example" is intended to present relative concepts in a clear manner.
[0022] In addition, the "plurality" in the embodiments of the present application refers to two or more than two. In view of this, in the embodiments of the present application, "plurality" can also be understood as "at least two". "At least one" can be understood as one or more, for example, one, two or more. For example, including at least one means including one, two or more, and there is no limit on which ones are included. For example, including at least one of A, B and C, then A, B, C, A and B, A and C, B and C, or A, B and C can be included.
[0023] It should be noted that, in the embodiments of the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
[0024] It should be noted that in the embodiments of the present application, "connection" can be understood as electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components.
[0025] In the circuit structure provided in the embodiments of the present application, the first node, the second node and other nodes do not represent actual existing components, but represent the junction points of related couplings in the circuit diagram, that is, these nodes are nodes formed by the equivalent junction points of related couplings in the circuit diagram.
[0026] The embedded flash memory control circuit 100 provided in the embodiment of the present application can be applied in Figure 1 In the integrated circuit shown, the integrated circuit includes but is not limited to a system on a chip (SOC) such as an MCU. Figure 1 As shown, the integrated circuit 200 may include a processor (CPU) 201 and an embedded flash memory (eFlash memory) 202. The processor 201 may be connected to the embedded flash memory control circuit 100 of the embodiment of the present application via a bus, and the processor 201 accesses the embedded flash memory 202 via the embedded flash memory control circuit 100.
[0027] In some embodiments, the integrated circuit 200 may further include a direct memory access (DMA) controller 203 . The DMA controller 203 may be connected to the embedded flash memory 100 of the embodiment of the present application via a bus. The DMA controller 203 may access the embedded flash memory 202 via the embedded flash memory control circuit 100 .
[0028] In some implementations, multiple hosts such as the processor 201 and the DMA controller 203 can access the embedded flash memory 202 through the embedded flash memory control circuit 100, which will not be elaborated in the embodiments of the present application.
[0029] In some implementations, the integrated circuit 200 may further include one or more circuit modules 204 . The circuit modules 204 may include a clock module, etc. The embedded flash memory 202 may store initialization data of the one or more circuit modules 204 .
[0030] Figure 2 FIG. 1 shows a structural block diagram of an embedded flash memory control circuit 100 provided in an embodiment of the present application. Figure 2As shown, the embedded flash control circuit 100 may include: a decoding module 101, an arbitration module 102 and a timing generation module 103. Among them, the decoding module 101 can be used to convert the first address assigned by the host in the flash access command into the second address of the embedded flash, and determine the authority of the flash access command. The arbitration module 102 can be used to arbitrate the priority of multiple flash access commands. The timing generation module 103 can be used to generate a flash timing corresponding to the flash access command. Through the decoding module, the arbitration module and the timing generation module, the command decoding and authority control, command arbitration, command timing generation, etc. are separated and designed into structured components, which can reduce the high coupling of the embedded flash control circuit, and can be modified or modularly replaced to a minimum extent when reused in different products, which can greatly save the manpower investment in chip design and verification.
[0031] In some cases, the bit width of the embedded flash memory is larger than the bus bit width, so the data retrieved from the embedded flash memory at one time is larger than the data that the bus can carry at one time. For example, the bit width of the embedded flash memory is 128 bits, and the bus bit width is 32 bits. In this scenario, the host reads 128 bits from the embedded flash memory at one time, but the bus can only take away 32 bits, and the remaining 96 bits of data will be discarded. For this reason, in some implementations, such as Figure 3 As shown, the embedded flash memory control circuit 100 may further include: a read cache module 104. The read cache module 104 is used to cache data read from the embedded flash memory and send the cached data in batches according to the bus width. By caching the data read from the embedded flash memory by the read cache module 104 and sending the cached data in batches according to the bus width, the embedded flash memory resources are effectively utilized and the power consumption is reduced.
[0032] As an implementation method, the read cache module 104 can be used to cache the current read address and the data read from the read address. If the next read address is the same as the cached read address, the corresponding number of bits of data is sent from the cached data according to the bus bit width; if the cached read address undergoes a write or erase operation, the cached read address and data are cleared. Exemplarily, the embedded flash memory bit width is 128 bits, the bus bit width is 32 bits, the host reads from the embedded flash memory address once, and obtains 128 bits of data. The read cache module 104 caches the 128 bits of data and the read address obtained. The next time the same embedded flash memory address is accessed, 32 bits of data are read from the cached data each time, and the read data command is not passed back. The read cache module 104 can also clear the information in the cache when a write or erase operation occurs to the cached read address.
[0033] As an implementation, the read cache module 104 can be used to: when the read command comes from a preset host, cache the data read from the embedded flash memory according to the read command. When the read command comes from a host other than the preset host, the read address and the read address are not cached, and the read data is passed to the host. This implementation can cache only the data read by a specific host.
[0034] In some embodiments, Figure 3 As shown, the embedded flash memory control circuit 100 may further include: a bus selection module 105. The bus selection module 105 may select a host from multiple hosts to access the embedded flash memory. As an implementation, the bus selection module 105 selects a host to access the embedded flash memory according to the access priorities of the multiple hosts. This implementation enables multiple hosts to access the embedded flash memory.
[0035] In some embodiments, Figure 3 As shown, the embedded flash memory control circuit 100 may further include: a loading module 106. The loading module 106 is connected to the embedded flash memory and is used to load data from the embedded flash memory when powered on, and write the loaded data into a position corresponding to the data.
[0036] As an implementation, the data may include flash memory configuration data. The loading module 106 may load the flash memory configuration data from the embedded flash memory and write the flash memory configuration data into corresponding registers in the embedded flash memory. The flash memory configuration data may be data defined by the embedded flash memory manufacturer.
[0037] As an example, the loading module 106 may be connected to the timing generation module 103, and is used to write the flash configuration data into the corresponding register in the embedded flash memory through the timing generation module 103. For example, the loading module 106 generates a write command (also called a programming command) for writing the flash configuration data into the corresponding register in the embedded flash memory, and the timing generation module 103 generates a flash timing corresponding to the write command to write the flash configuration data into the corresponding register in the embedded flash memory.
[0038] As an implementation, the data includes initialization data of one or more circuit modules. The loading module 106 can load the initialization data of the one or more circuit modules from the embedded flash memory and write the initialization data into the corresponding circuit modules. Exemplarily, the one or more circuit modules can include a clock module, and the initialization data of the clock module can include a trimming value.
[0039] As an implementation method, the data may include permission configuration data. The loading module 106 may be used to load the permission configuration data from the embedded flash memory and write the permission configuration data into the decoding module 101. The decoding module 101 is used to determine the permissions of at least some flash memory access commands based on the permission configuration data written by the loading module 106. Optionally, the decoding module 101 may define the permissions of some flash memory access commands. That is, in some examples, some permissions of the decoding module 101 are based on the permission configuration data stored in the embedded flash memory, and some permissions may be defined by the decoding module 101 itself.
[0040] The decoding module 101 determines the authority of the flash memory access command, which may include: determining whether programming (writing) is allowed, determining whether reading is allowed, and determining whether erasing is allowed. When the decoding module 101 determines that the flash memory access command has the corresponding authority, the flash memory access command is sent to the command arbitration module 102.
[0041] As an example, the loading module 106 can be connected to the arbitration module 102 to write the permission configuration data into the decoding module 101 through the arbitration module 102. This embodiment can use the channel between the arbitration module 102 and the decoding module 101 to transmit the permission configuration data to the decoding module 101, which can simplify the transmission line.
[0042] In some implementations, the data may include flash configuration data, permission configuration data, and initialization data of one or more circuit modules. The loading module 106 may: load the initialization data of the one or more circuit modules from the embedded flash memory, and write the initialization data into the corresponding circuit modules; load the flash configuration data from the embedded flash memory, and write the flash configuration data into the corresponding registers in the embedded flash memory; load the permission configuration data from the embedded flash memory, and write the permission configuration data into the decoding module 101. Figure 3 As shown, the loading module 106 is connected to the timing generation module 103, and the flash configuration data is written into the corresponding register in the embedded flash memory through the timing generation module 103. The loading module 106 is connected to the arbitration module 102, and the permission configuration data is written into the decoding module 101 through the arbitration module 102.
[0043] In some embodiments, Figure 3 As shown, the embedded flash memory control circuit 100 may further include: a configuration module 107. The loading module 106 is also used to read data from the embedded flash memory and write the read data into the configuration module.
[0044] In some embodiments, Figure 3As shown, the embedded flash memory control circuit 100 may further include: a configuration module 107. The configuration module 107 may be used to generate a flash memory access enable signal and output the flash memory access enable signal to the decoding module 101. Exemplarily, the configuration module 107 may generate the flash memory access enable signal based on the configuration of the host.
[0045] The flash memory access enable signal may include an erase enable signal, a program enable signal, and a read enable signal (also referred to as a read enable signal). As an implementation, the configuration module 107 may generate an erase enable signal, generate an erase command for erasing an erase address, and output the erase command to the decoding module 101.
[0046] As an implementation, the configuration module 107 can be used to read data from registers in the embedded flash memory and transmit the read data to the host. Through this implementation, the host can obtain the data of the registers in the embedded flash memory, which can at least facilitate debugging of the embedded flash memory.
[0047] As an implementation, the configuration module 107 can write data to the registers in the embedded flash memory based on the host command. Through this implementation, the host can configure the registers in the embedded flash memory, which can at least facilitate debugging of the embedded flash memory.
[0048] As an implementation, the configuration module 107 is connected to the arbitration module 102, and is connected to the embedded flash memory through the arbitration module 102 and the timing generation module 103. This implementation can utilize the transmission channels of the arbitration module 102 and the timing generation module 103 to simplify the circuit for the configuration module 107 to access the embedded flash memory.
[0049] In some embodiments, Figure 3 As shown, the embedded flash memory control circuit 100 may further include a multiplexer module 108. The multiplexer module 108 may switch a Degree of Testability (DFT) mode, a Built-in Self Test (BIST), and flash memory access.
[0050] As an implementation method, Figure 4As shown, the multi-way selection module 108 may include: a first channel connected to the timing generation module 103; a second channel for connecting to a built-in self-test (BIST) module; and a third channel for receiving a signal of a testability (DFT) mode. The multi-way selection module 108 selects one of the first channel, the second channel, and the third channel to be connected to the embedded flash memory, and the priority of the third channel is higher than that of the first channel and the second channel. Exemplarily, the multi-way selection module 108 receives a built-in self-test (BIST) control command Ctrl_BIST and a testability (DFT) mode control command Ctrl_DFT. If the testability mode control command Ctrl_DFT is received, the third channel is selected to be connected to the embedded flash memory. If the testability mode control command Ctrl_DFT is not received, one of the first channel and the second channel is selected to be connected to the embedded flash memory based on the built-in self-test control command Ctrl_BIST.
[0051] As an implementation method, Figure 3 As shown, the multi-way selection module 108 may include: a first multi-way selection unit 109 includes: a first channel and a second channel; a second multi-way selection unit includes: a third channel and a fourth channel; the first multi-way selection unit 109 selects one of the first channel and the second channel to be connected to the fourth channel, and the second multi-way selection unit 110 selects one of the third channel and the fourth channel to be connected to the embedded flash memory. Exemplarily, the first multi-way selection unit 109 selects one of the first channel and the second channel to be connected to the fourth channel based on a built-in self-test (BIST) control command, and the second multi-way selection unit 110 selects one of the third channel and the fourth channel to be connected to the embedded flash memory based on a testability (DFT) mode control command.
[0052] refer to Figure 3 As shown, when the first multiplexer 109 selects the first channel, the timing generation module 103 is connected to the fourth channel. If the second multiplexer 110 selects the fourth channel, the timing generation module 103 is connected to the embedded flash memory to implement the flash memory access command; if the second multiplexer 110 selects the third channel, the signal of the testability (DFT) mode received by the third channel is transmitted to the embedded flash memory, and the embedded flash memory is in the DFT mode. When the first multiplexer 109 selects the second channel, the built-in self-test (BIST) module is connected to the fourth channel. If the second multiplexer 110 selects the fourth channel, the built-in self-test (BIST) module is connected to the embedded flash memory to implement the built-in self-test (BIST); if the second multiplexer 110 selects the third channel, the signal of the testability (DFT) mode received by the third channel is transmitted to the embedded flash memory, and the embedded flash memory is in the DFT mode. In this way, the priority of the third channel is higher than that of the first channel and the second channel, that is, the priority of the testability (DFT) mode is higher than that of the built-in self-test (BIST) and the flash memory access command.
[0053] The embedded flash control circuit in the embodiment of the present application has different requirements for embedded Flash for different MCUs / SoCs, which makes it difficult to inherit and use the embedded Flash controller in different projects. More manpower is needed in the chip development process. By making structured components for command generation, permission control, command arbitration, command timing generation, etc., the inheritability of the Flash controller is improved and the development investment in the embedded Flash controller in different projects is reduced.
[0054] Combine the following Figure 5 , Figure 6 , Figure 7 An exemplary flash memory access process is described.
[0055] Figure 5 A flowchart of an exemplary erase command provided in an embodiment of the present application is shown, referring to Figure 5 As shown, the erase command can be set by the configuration module 107 to set the erase enable signal, erase address, initiate the erase command, etc. Then the decoding module 101 converts the system address assigned by the host into the physical address of the embedded flash memory, and determines whether the erase is allowed. If the erase is allowed, the command is submitted to the arbitration module 102 for arbitration, and the arbitration module 102 determines which command is currently executed. Finally, the timing generation module 103 generates the corresponding flash timing according to the command to be executed.
[0056] Figure 6 A flowchart of an exemplary programming command provided in an embodiment of the present application is shown, referring to Figure 6 As shown, the programming command sets the programming enable signal through the configuration module 107, and then the bus initiates programming. The decoding module 101 converts the system address assigned by the host into the physical address of the embedded flash memory, and determines whether programming is allowed. If programming is allowed, the command is submitted to the arbitration module 102 for arbitration, and the arbitration module 102 determines which command is currently executed. Finally, the timing generation module 103 generates the corresponding flash timing according to the command to be executed.
[0057] Figure 7 A flowchart of an exemplary read command provided in an embodiment of the present application is shown, referring to Figure 7 As shown, the read command can be directly initiated by the bus, and the decoding module 101 converts the system address assigned by the host into the physical address of the embedded flash memory, and determines whether the read is allowed. If the read is allowed, the command is submitted to the arbitration module 102 for arbitration, and the arbitration module 102 determines which command is currently executed. Finally, the timing generation module 103 generates the corresponding flash timing according to the command to be executed.
[0058] The embodiment of the present application also provides a chip, which includes the above-mentioned embedded flash memory control circuit. The chip is also called an integrated circuit (IC), and the chip can be, but is not limited to, a SOC (System on Chip) chip or a SIP (system in package) chip. The chip improves the inheritability of the Flash controller by making structured components such as command generation, permission control, command arbitration, and command timing generation, thereby reducing the development investment in embedded Flash controllers in different projects.
[0059] The embodiment of the present application also provides an electronic device, which includes a device body and a chip as described above disposed in the device body. The electronic device may be, but is not limited to, a weight scale, a body fat scale, a nutrition scale, an infrared electronic thermometer, a pulse oximeter, a human body composition analyzer, a mobile power supply, a wireless charger, a fast charging charger, a car charger, an adapter, a display, a USB (Universal Serial Bus) docking station, a stylus, a true wireless headset, a car central control screen, a car, a smart wearable device, a mobile terminal, and a smart home device. Smart wearable devices include, but are not limited to, smart watches, smart bracelets, and cervical massagers. Mobile terminals include, but are not limited to, smart phones, laptops, tablet computers, and POS (point of sales terminal). Smart home devices include, but are not limited to, smart sockets, smart rice cookers, smart sweepers, and smart lights. The electronic device improves the inheritability of the Flash controller by making structured components such as generating commands, authority control, command arbitration, and generating command timing, thereby reducing the development investment in embedded Flash controllers in different projects.
[0060] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technical personnel in the field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.
Claims
1. An embedded flash memory control circuit, characterized in that: include: Decoding module, arbitration module and timing generation module, wherein, The decoding module is used to convert the first address assigned by the host in the flash memory access command into the second address of the embedded flash memory, and determine the authority of the flash memory access command; The arbitration module is used to arbitrate the priorities of the plurality of flash memory access commands; The timing generation module is used to generate the flash memory timing corresponding to the flash memory access command.
2. The circuit according to claim 1, characterized in that Also includes: The read cache module is used to cache data read from the embedded flash memory and send the cached data in batches according to the bus bit width.
3. The circuit according to claim 2, characterized in that The read cache module is used to cache the current read address and the data read from the read address. If the next read address is the same as the cached read address, the corresponding number of bits of data are sent from the cached data according to the bus bit width; if a write or erase operation occurs to the cached read address, the cached read address and data are cleared.
4. The circuit according to claim 3, characterized in that The read cache module is used to: In a case where a read command comes from a preset host, data read from the embedded flash memory according to the read command is cached.
5. The circuit according to any one of claims 1 to 4, characterized in that: Also includes: The bus selection module is used to select a host from multiple hosts to access the embedded flash memory.
6. The circuit according to claim 1, characterized in that Also includes: A loading module is connected to the embedded flash memory and is used to load data from the embedded flash memory when powered on, and write the loaded data into a position corresponding to the data.
7. The circuit according to claim 6, characterized in that The data includes flash memory configuration data; the loading module is used to load the flash memory configuration data from the embedded flash memory and write the flash memory configuration data into corresponding registers in the embedded flash memory.
8. The circuit according to claim 7, characterized in that The loading module is connected to the timing generation module and is used to write the flash memory configuration data into a corresponding register in the embedded flash memory through the timing generation module.
9. The circuit according to claim 6, characterized in that The data includes initialization data of one or more circuit modules; the loading module is used to load the initialization data from the embedded flash memory and write the initialization data into the corresponding circuit module.
10. The circuit according to claim 6, characterized in that The data includes permission configuration data; the loading module is used to load the permission configuration data from the embedded flash memory and write the permission configuration data into the decoding module; The decoding module is used to determine the permissions of at least part of the flash memory access commands based on the permission configuration data.
11. The circuit according to claim 10, characterized in that The loading module is connected to the arbitration module and is used to write the permission configuration data into the decoding module through the arbitration module.
12. The circuit according to claim 6, characterized in that Also includes: Configuration module; The loading module is also used to read data from the embedded flash memory and write the read data into the configuration module.
13. The circuit according to claim 1, characterized in that Also includes: The configuration module is used to generate a flash memory access enable signal and output the flash memory access enable signal to the decoding module.
14. The circuit according to claim 13, characterized in that The flash memory access enable signal includes an erase enable signal; The configuration module is used to generate the erase enable signal, generate an erase command for erasing the erase address, and output the erase command to the decoding module.
15. The circuit according to claim 13, characterized in that The configuration module is also used to read data from the register in the embedded flash memory and transmit the read data to the host.
16. The circuit according to claim 13, characterized in that The configuration module is also used to write data to the register in the command embedded flash memory based on the host.
17. The circuit according to claim 15 or 16, characterized in that The configuration module is connected to the embedded flash memory through the arbitration module and the timing generation module.
18. The circuit according to any one of claims 1 to 4, 6 to 12, and 13 to 16, characterized in that: Also includes: The multi-channel selection module includes: a first channel connected to the timing generation module; a second channel for connecting to a built-in self-test (BIST) module; and a third channel for receiving a signal in a testability DFT mode; The multi-channel selection module selects one of the first channel, the second channel and the third channel to connect to the embedded flash memory, and the third channel has a higher priority than the first channel and the second channel.
19. The circuit according to claim 18, characterized in that The multi-path selection module comprises: The first multiplex selection unit includes: the first channel and the second channel; The second multiplex selection unit includes: the third channel and the fourth channel; The first multiplexer selector selects one of the first channel and the second channel to be connected to the fourth channel, and the second multiplexer selector selects one of the third channel and the fourth channel to be connected to the embedded flash memory.
20. A chip, characterized in that: The invention comprises the embedded flash memory control circuit as described in claims 1 to 19 above.
21. An electronic device, characterized in that: The invention comprises a device body and the chip as claimed in claim 20 arranged in the device body.
Citation Information
Cited By
Flash memory device supporting pseudo operation pause and recovery and control method
CN120295584A
