Circuit topology and method for online updating EEPROM (electrically erasable programmable read-only memory) chip

By updating the circuit topology of the EEPROM chip online and controlling on-off with the serial bus, the inconvenience of modifying the parameters of the high-speed data channel of the NRS1800 chip is solved, and the accuracy and flexibility of the parameters are achieved, saving resources and operation steps.

CN118964258APending Publication Date: 2024-11-15WELL CORE MICROELECTRONICS TECH (TIANJIN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410849280.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

When modifying the high-speed data channel parameters of the NRS1800 chip, the prior art requires frequent soldering of EEPROM or using the I2C Debug interface with a large area, resulting in inconvenience and waste of resources.

Method used

Design a circuit topology for updating the EEPROM chip online, and realize the reading and reading of high-speed data channel parameters by integrating NRS1800 chip, main control chip, EEPROM chip, first switching chip and second switching chip using serial bus. Firming avoids frequent welding of EEPROM and the use of I2C Debug interfaces.

Benefits of technology

It realizes the accuracy and flexibility of high-speed data channel parameters, saves PCB area, simplifies user operations, and improves modification efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964258A_ABST
    Figure CN118964258A_ABST
Patent Text Reader

Abstract

The invention provides a circuit topology and method for online updating an EEPROM (Electrically Erasable Programmable Read-Only Memory) chip. The circuit topology comprises an NRS1800 chip, a main control chip, the EEPROM chip, a first switch chip and a second switch chip which are integrated on a circuit board, the NRS1800 chip, the first switch chip and the EEPROM chip are connected through a serial bus, so that a first communication path is formed; the main control chip, the second switch chip and the EEPROM chip are connected through a serial bus so as to form a second communication path; wherein the first switch chip and the second switch chip are configured to be used for controlling on-off of a path where the first switch chip and the second switch chip are located. Through the NRS1800 chip, the main control chip, the EEPROM chip, the first switch chip and the second switch chip which are arranged in a matched mode, reading and programming of high-speed data channel parameters can be achieved only by controlling connection and disconnection of the paths where the first switch chip and the second switch chip are located, and the accuracy of the high-speed data channel parameters can be effectively guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of chip data burning and writing, and in particular to a circuit topology and method for online updating of an EEPROM chip. Background Art

[0002] The NRS1800 chip currently developed and produced on the market needs to load the parameters of the high-speed data channel through the I2C bus, so that the NRS1800 can ensure correct high-speed data transmission when facing different routing environments.

[0003] The parameters of the high-speed data channel of NRS1800 are stored in EEPROM. Before soldering the board, the parameters are burned into EEPROM, and then the EEPROM is soldered to the board. When NRS1800 starts, the high-speed data channel parameters in EEPROM are loaded through the I2C bus.

[0004] In practical applications, it is necessary to modify the NRS1800 high-speed channel parameters to ensure the correctness of the data transmitted by the NRS1800 high-speed channel.

[0005] When the NRS1800 works in master mode, there are two solutions to modify the high-speed channel parameters:

[0006] Solution 1: Re-solder the EEPROM, re-burn the parameters, and then re-solder the EEPROM. However, the disadvantage of this solution is that when the EEPROM is used alone and needs to be re-burned, the EEPROM needs to be soldered off and then soldered back after the burning is completed.

[0007] Solution 2: If the I2C Debug interface of NRS1800 is reserved on the circuit board, it is necessary to modify the configuration pins of NRS1800 first, disable the I2C function, and then burn the EEPROM through the I2C Debug interface. After the burning is completed, the NRS1800 configuration will be restored. The disadvantage of this solution is that when using I2C Debug, the area occupied by the I2C Debug socket is large, reducing the effective use area of ​​PCB; at the same time, the configuration resistor needs to be modified first, and after the EEPROM is burned, it needs to be changed back, which causes inconvenience to testers or users. Summary of the invention

[0008] In view of this, the present application aims to propose a circuit topology and method for online updating of an EEPROM chip to solve at least one of the above problems.

[0009] To achieve the above purpose, the technical solution of this application is implemented as follows:

[0010] In a first aspect, the present application provides a circuit topology for online updating of an EEPROM chip, including:

[0011] The NRS1800 chip, the main control chip, the EEPROM chip, the first switch chip and the second switch chip integrated on the circuit board;

[0012] The NRS1800 chip, the first switch chip and the EEPROM chip are connected via a serial bus to form a first communication path;

[0013] The main control chip, the second switch chip and the EEPROM chip are connected via a serial bus to form a second communication path;

[0014] The first switch chip and the second switch chip are configured to control the on and off of the paths in which they are located.

[0015] Furthermore, the first switch chip and the second switch chip adopt an I2C bus chip of the LTC3400A model;

[0016] The first switch chip and the second switch chip are each configured with an enable pin.

[0017] Further, in response to the enable pin being at a high level, the serial buses on both sides of the switch chip are turned on;

[0018] In response to the enable pin being at a low level, the serial buses on both sides of the switch chip are disconnected.

[0019] Furthermore, the serial bus adopts an I2C bus.

[0020] In a second aspect, based on the same inventive concept, the present application further provides a method for online updating of the circuit topology of an EEPROM chip, which is applied to the circuit topology of an online updating of an EEPROM chip as described in the first aspect, comprising:

[0021] In response to the control circuit board working normally, the first switch chip is enabled, the I2C bus between the NRS1800 chip and the EEPROM chip is connected, the second switch chip is disabled, and the I2C bus between the main control chip and the EEPROM chip and the NRS1800 chip is disconnected;

[0022] When the NRS1800 chip is started, the high-speed data channel parameters are read from the EEPROM chip via the first communication path.

[0023] Further, in response to re-writing the parameters of the EEPROM chip, the second switch chip is enabled, the I2C bus between the main control chip and the EEPROM chip is connected, the first switch chip is disabled, and the I2C bus between the NRS1800 chip and the EEPROM chip and the main control chip is disconnected;

[0024] The main control chip burns new high-speed data channel parameters into the EEPROM chip.

[0025] Further, in response to the main control chip updating the new parameters to the EEPRM chip, the first switch chip is re-enabled, the second switch chip is disabled, and the NRS1800 chip is reset.

[0026] Furthermore, the enabling of the first switch chip and the second switch chip is controlled by the main control chip.

[0027] In the third aspect, based on the same inventive concept, the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for online updating of the circuit topology of an EEPROM chip as described in the first aspect is implemented.

[0028] In the fourth aspect, based on the same inventive concept, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute a method for online updating of the circuit topology of an EEPROM chip as described in the first aspect.

[0029] Compared with the prior art, the circuit topology and method for online updating of EEPROM chips described in this application have the following beneficial effects:

[0030] The circuit topology and method for online updating of an EEPROM chip described in the present application can realize the reading and burning of high-speed data channel parameters by coordinating the NRS1800 chip, the main control chip, the EEPROM chip, the first switch chip and the second switch chip, only by controlling the on-off of the path where the first switch chip and the second switch chip are located, and can effectively ensure the accuracy of the high-speed data channel parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0032] Figure 1 A schematic diagram of a circuit topology structure of an online update EEPROM chip according to an embodiment of the present application;

[0033] Figure 2 This is a schematic diagram of a first state of a circuit topology according to an embodiment of the present application;

[0034] Figure 3 This is a schematic diagram of the second state of the circuit topology described in an embodiment of the present application;

[0035] Figure 4 A schematic diagram of the hardware structure of the electronic device described in an embodiment of the present application.

[0036] Description of reference numerals:

[0037] 1-NRS1800 chip; 2-main control chip; 3-EEPROM chip; 4-first switch chip; 5-second switch chip. DETAILED DESCRIPTION

[0038] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0039] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0040] See also Figure 1 As shown, this embodiment provides a circuit topology for online updating of the EEPROM chip 3, including:

[0041] NRS1800 chip 1, main control chip 2, EEPROM chip 3, first switch chip 4 and second switch chip 5 integrated on the circuit board;

[0042] The NRS1800 chip 1, the first switch chip 4 and the EEPROM chip 3 are connected via a serial bus to form a first communication path;

[0043] The main control chip 2, the second switch chip 5 and the EEPROM chip 3 are connected via a serial bus to form a second communication path;

[0044] The first switch chip 4 and the second switch chip 5 are configured to control the on and off of the paths in which they are located.

[0045] Specifically, in this embodiment, the NRS1800 chip 1, the main control chip 2, the EEPROM chip 3, the first switch chip 4 and the second switch chip 5 are integrated on the circuit, and the chips are connected through a serial bus. The NRS1800 chip 1, the first switch chip 4 and the EEPROM chip 3 are connected to form a first communication path, and the main control chip 2, the second switch chip 5 and the EEPROM chip 3 are connected to form a second communication path. The on and off of the path is controlled by the first switch chip 4 and the second switch chip 5. When the first switch chip 4 is controlled to act so that the first communication path is turned on, the NRS1800 chip 1 is started and the high-speed data channel parameters are read from the EEPROM chip 3. When the second switch chip 5 is controlled to act so that the second communication path is turned on, the main control chip 2 is activated, and the main control chip 2 can burn new high-speed data channel parameters to the EEPROM chip 3.

[0046] This circuit topology can satisfy the requirement that the I2C bus of the EEPROM mounts two master devices, with only one master device and one slave device at the same time. When the user updates the parameters of the NRS1800 chip 1, there is no need to remove or install the EEPROM chip 3, nor is there any need to prepare a burner and a burner socket for the EEPROM chip 3; at the same time, the user does not need to reserve a position for the I2C Debug interface on the board, thereby saving PCB area; for the NRS1800 chip 1, the user does not need to change the configuration pin level of the NRS1800 chip 1, eliminating the need for welding resistors.

[0047] The circuit topology of an online update of the EEPROM chip 3 described in this embodiment can realize the reading and burning of the high-speed data channel parameters by coordinating the NRS1800 chip 1, the main control chip 2, the EEPROM chip 3, the first switch chip 4 and the second switch chip 5, only by controlling the on-off of the path where the first switch chip 4 and the second switch chip 5 are located, and can effectively ensure the accuracy of the high-speed data channel parameters.

[0048] In some embodiments, the first switch chip 4 and the second switch chip 5 are LTC3400A type I2C bus chips;

[0049] The first switch chip 4 and the second switch chip 5 are each provided with an enable pin;

[0050] In response to the enable pin being high, the I2C buses on both sides of the switch chip are turned on;

[0051] In response to the enable pin being low, the I2C bus on both sides of the switch chip is disconnected.

[0052] Specifically, in this embodiment, LTC3400A is an I2C bus chip with a switch function, and the I2C bus chip is respectively connected to the NRS1800 chip 1, the main control chip 2, and the EEPROM chip 3 through the I2C bus.

[0053] The enabling of the first switch chip 4 (LTC3400A 1#) and the first switch chip 4 (LTC3400A 2#) is controlled by the main control chip 2. When the enable pin is high, the I2C bus on both sides of the chip will be turned on; when the enable pin is low, the I2C bus on both sides of the chip will be disconnected.

[0054] Based on the same inventive concept, corresponding to the circuit topology of any of the above embodiments, the embodiment of the present application further provides a method for online updating of the circuit topology of the EEPROM chip 3, comprising:

[0055] In response to the control circuit board working normally, the first switch chip 4 is enabled, the I2C bus between the NRS1800 chip 1 and the EEPROM chip 3 is connected, the second switch chip 5 is disabled, and the I2C bus between the main control chip 2 and the EEPROM chip 3 and the NRS1800 chip 1 is disconnected;

[0056] When the NRS1800 chip 1 is started, the high-speed data channel parameters are read from the EEPROM chip 3 via the first communication path.

[0057] Specifically, in this embodiment, when the board is working normally, LTC3400A 1# chip is enabled, and the I2C bus between NRS1800 chip 1 and EEPROM chip 3 is connected; LTC3400A 2# chip is disabled, and the I2C bus between the main control chip 2 and the EEPROM chip 3 and NRS1800 chip 1 is disconnected. Figure 2 When NRS1800 starts, it reads the high-speed data channel parameters from EEPROM chip 3. At this time, the I2C bus has only one master (NRS1800 chip 1) and one slave (EEPROM chip 3), and the master chip 2 will not interfere with the I2C bus.

[0058] In some embodiments, in response to re-writing parameters of the EEPROM chip 3, the second switch chip 5 is enabled, the I2C bus between the main control chip 2 and the EEPROM chip 3 is connected, the first switch chip 4 is disabled, and the I2C bus between the NRS1800 chip 1 and the EEPROM chip 3 and the main control chip 2 is disconnected;

[0059] The main control chip 2 writes new high-speed data channel parameters to the EEPROM chip 3 .

[0060] Specifically, in this embodiment, when the parameters of the EEPROM chip 3 need to be rewritten, the LTC3400A 2# chip is enabled, and the I2C bus between the main control chip 2 and the EEPROM chip 3 is connected. The I2C bus between the NRS1800 chip 1 and the EEPROM chip 3 and the main control chip 2 is disconnected. Figure 3 The main control chip 2 can write new high-speed data channel parameters to the EEPROM chip 3. At this time, the I2C bus has only one master (main control chip 2) and one slave (EEPROM chip 3), and the NRS1800 chip 1 will not interfere with the I2C bus.

[0061] In some implementations, in response to the main control chip 2 updating new parameters to the EEPRM chip, the first switch chip 4 is re-enabled, the second switch chip 5 is disabled, and the NRS1800 chip 1 is reset.

[0062] Specifically, in this embodiment, when the main control chip 2 updates the new parameters to the EEPROM chip 3, the LTC3400A 1# chip is re-enabled, the LTC3400A 2# chip is disabled, and the NRS1800 chip 1 is reset. When the NRS1800 chip 1 restarts, the new high-speed channel parameters are loaded from the EEPROM chip 3.

[0063] It should be noted that, in this embodiment, the above operations can be completed by inputting commands through the serial port or network port of the main control chip 2.

[0064] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, an embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for online updating of the circuit topology of an EEPROM chip as described in any of the above embodiments is implemented.

[0065] Figure 4 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0066] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0067] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0068] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0069] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0070] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0071] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0072] The electronic device of the above embodiment is used to implement a corresponding method of online updating of the circuit topology of an EEPROM chip in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0073] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute a method for online updating of the circuit topology of an EEPROM chip as described in any of the above embodiments.

[0074] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0075] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute a method for online updating of the circuit topology of an EEPROM chip as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0076] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0077] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0078] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0079] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A circuit topology for updating an EEPROM chip online, characterized in that: include: The NRS1800 chip, the main control chip, the EEPROM chip, the first switch chip and the second switch chip integrated on the circuit board; The NRS1800 chip, the first switch chip and the EEPROM chip are connected via a serial bus to form a first communication path; The main control chip, the second switch chip and the EEPROM chip are connected via a serial bus to form a second communication path; The first switch chip and the second switch chip are configured to control the on and off of the paths in which they are located.

2. The circuit topology of an online updating EEPROM chip according to claim 1, characterized in that: The first switch chip and the second switch chip are LTC3400A I2C bus chips; The first switch chip and the second switch chip are each configured with an enable pin.

3. The circuit topology of an online updating EEPROM chip according to claim 2, characterized in that: In response to the enable pin being at a high level, the serial buses on both sides of the switch chip are turned on; In response to the enable pin being at a low level, the serial buses on both sides of the switch chip are disconnected.

4. The circuit topology of an online updating EEPROM chip according to claim 1, characterized in that: The serial bus adopts I2C bus.

5. A method for online updating of the circuit topology of an EEPROM chip, applied to the method for online updating of the circuit topology of an EEPROM chip as claimed in any one of claims 1 to 4, characterized in that: include: In response to the control circuit board working normally, the first switch chip is enabled, the I2C bus between the NRS1800 chip and the EEPROM chip is connected, the second switch chip is disabled, and the I2C bus between the main control chip and the EEPROM chip and the NRS1800 chip is disconnected; When the NRS1800 chip is started, the high-speed data channel parameters are read from the EEPROM chip via the first communication path.

6. The method according to claim 5, characterized in that Also includes: In response to re-writing the parameters of the EEPROM chip, the second switch chip is enabled, the I2C bus between the main control chip and the EEPROM chip is connected, the first switch chip is disabled, and the I2C bus between the NRS1800 chip and the EEPROM chip and the main control chip is disconnected; The main control chip burns new high-speed data channel parameters into the EEPROM chip.

7. The method according to claim 5, characterized in that: In response to the main control chip updating the new parameters to the EEPRM chip, the first switch chip is re-enabled, the second switch chip is disabled, and the NRS1800 chip is reset.

8. The method according to claim 5, characterized in that: The enabling of the first switch chip and the second switch chip is controlled by the main control chip.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for online updating of the circuit topology of an EEPROM chip as described in any one of claims 5 to 8 is implemented.

10. A non-transitory computer-readable storage medium, characterized in that: in, The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for online updating of the circuit topology of an EEPROM chip as described in any one of claims 5-8.