Multifunctional simulator

Through the design of a multi-function emulator, the USB Type-C interface and multiple interface conversion chips are used to solve the problems of portability and insufficient USB interface caused by debugging of multiple chips, and flexible simulation debugging and expansion interface functions are realized.

CN223140164UActive Publication Date: 2025-07-22GHOSTCLOUD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422348544.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-07-22
Estimated Expiration
2034-09-25

AI Technical Summary

Technical Problem

In the prior art, it is necessary to use emulators of multiple chips at the same time during the development of complex military electronic products, resulting in inconvenient portability and insufficient USB interface.

Method used

Design a multi-function emulator, use the USB Type-C interface to connect the interface expansion chip and the debug terminal, and integrate multiple interface conversion chips to realize the conversion between multiple interfaces, including SWIO, SPI, UART, EPGA-AG, RS232, network, FPGA-JTAG and RS422 interfaces.

Benefits of technology

Reduces the hassle of carrying multiple emulators, avoids insufficient USB interface, improves flexibility and adaptability, and simplifies the debugging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223140164U_ABST
    Figure CN223140164U_ABST
Patent Text Reader

Abstract

The utility model discloses a multifunctional simulator, and relates to the technical field of embedded equipment, the multifunctional simulator comprises an interface expansion chip used for expanding a USB interface of a debugging terminal, and the interface expansion chip is connected with the debugging terminal through a USB Type-C interface; the interface expansion chip is connected with the USB interface, the interface conversion chips are used for realizing conversion from the USB interface to target interfaces, the interface conversion chips are connected with the interface expansion chip, and the target interfaces comprise an SWIO interface, an SPI interface, a UART interface, an EPGA-AG interface, an RS232 interface, a network interface, an FPGA-JTAG interface and an RS422 interface. Integration of various simulator tools is achieved, the number and the size of the simulator tools needing to be carried are reduced, and the requirement for a USB interface of a notebook computer is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of embedded devices, and more specifically, it relates to a multi-functional emulator. Background Art

[0002] At present in the market, main chips of different manufacturers are equipped with their respective dedicated emulators for debugging different main chips. For example, when debugging an FPGA, the emulator of Xilinx is required, as Figure 1 shown. When debugging an MCU, devices such as J-LINK and ST-LINK are required. When debugging a CPU, an Ethernet port and a serial port are usually used. In addition, a dedicated SPIFLASH programmer is required when burning a boot file, and so on. During the development process of military complex electronic products, it is often necessary to use multiple chips such as CPU, FPGA, MCU, and SPIFLASH simultaneously. This requires carrying multiple different emulators, which will bring great trouble to those who travel on business. On the one hand, a laptop usually has only a limited number of USB interfaces and may not have an available RS232 debugging serial port. On the other hand, there are many inconveniences in carrying multiple emulators. Summary of the Invention

[0003] The purpose of the present invention is to provide a multi-functional emulator to solve the problems existing in the above background art.

[0004] The above technical purpose of the present invention is achieved through the following technical solutions:

[0005] The present application provides a multi-functional emulator, including an interface expansion chip for expanding the USB interface of a debugging terminal. The interface expansion chip is connected to the debugging terminal through a USB Type-C interface; it also includes multiple interface conversion chips for realizing the conversion from a USB interface to a target interface, and the multiple interface conversion chips are all connected to the interface expansion chip.

[0006] The beneficial effect of the present invention is as follows: In this solution, the interface expansion chip is connected to the debugging terminal through a USB Type-C interface to realize the interaction between the interface expansion chip and the debugging terminal. The other end of the interface expansion chip is connected to multiple interface conversion chips, and the multiple interface conversion chips are all used to realize the conversion from a USB interface to a target interface. Of course, there can be multiple types of target interfaces, such as SWIO interface, SPI interface, UART interface, etc. Interaction is also realized between the interface expansion chip and the multiple interface conversion chips. When in use, the target interface is used to connect the product to be debugged corresponding to the interface, realizing the interaction between the target interface and the product to be debugged while realizing the interaction between the debugging terminal and the product to be debugged, and finally achieving the purpose of simulating and debugging the product through the debugging terminal.

[0007] In this solution, by connecting multiple interface conversion chips to the same interface expansion chip, there is no need to carry multiple different emulators during actual use, reducing the trouble brought by carrying. At the same time, the interface expansion chip is used to expand the USB interface of the debugging terminal, thus avoiding the situation of insufficient USB interfaces. It has higher practical value and flexibility in actual use.

[0008] Based on the above technical solution, the present invention can be further improved as follows.

[0009] Further, the above target interfaces include SWIO interface, SPI interface, UART interface, EPGA-AG interface, RS232 interface, network interface, FPGA-JTAG interface and RS422 interface.

[0010] The beneficial effect of adopting the above further solution is that the target interfaces of different models can enable this multifunctional emulator to be adapted to more products.

[0011] Further, the model of the above interface expansion chip is GL852G-HH.

[0012] Further, the model of the above interface expansion chip is CH344S.

[0013] Further, the above interface conversion chips include GD32F103 chip, FT4232 chip, SR9900 chip.

[0014] Further, the above GD32F103 chip is used to realize the conversion between the USB interface and the SWIO interface, SPI interface and UART interface.

[0015] Further, the above FT4232 chip is used to realize the conversion between the USB interface and the UART interface, EPGA-AG interface, RS232 interface.

[0016] Further, the above FT4232 chip is used to realize the conversion between the USB interface and the UART interface, FPGA-JTAG interface and RS422 interface.

[0017] Further, the above SR9900 chip is used to realize the conversion between the USB interface and the network interface.

[0018] Further, the above interface conversion chips are connected to the product to be debugged through a debugging small board, and the interface expansion chip and each interface conversion chip are integrated in the same main body.

[0019] The beneficial effects of adopting the above further solution are as follows: The interface expansion chip and each interface conversion chip are integrated in the same main body, which can be an installation body, such as a box structure, or a circuit board, and then the circuit board is protected by the combined structure, so it is more convenient to carry and use.

[0020] Compared with the prior art, the present invention has at least the following beneficial effects: In this application, the interface expansion chip is connected to the debugging terminal through the USB Type-C interface, and the interaction between the interface expansion chip and the debugging terminal is realized. The other end of the interface expansion chip is connected to multiple interface conversion chips, and multiple interface conversion chips are all used to realize the conversion between the USB interface and the target interface. Of course, there can be multiple types of target interfaces, such as SWIO interface, SPI interface, UART interface, etc. The interaction between the interface expansion chip and multiple interface conversion chips is also realized. When in use, the target interface is connected to the product to be debugged corresponding to the interface, and while realizing the interaction between the target interface and the product to be debugged, the interaction between the debugging terminal and the product to be debugged is realized, and finally the purpose of simulating and debugging the product through the debugging terminal is achieved.

[0021] In this application, by connecting multiple interface conversion chips to the same interface expansion chip, it is not necessary to carry multiple different emulators during actual use, reducing the trouble brought by carrying. At the same time, the USB interface of the debugging terminal is expanded by the interface expansion chip, which also avoids the situation of insufficient USB interfaces. It has higher practical value and flexibility in actual use; various different types of target interfaces can enable this multi-functional emulator to be adapted to more products, and the interface expansion chip and each interface conversion chip are integrated in the same main body, which can be an installation body, such as a box structure, or a circuit board, and then the circuit board is protected by the combined structure, so it is more convenient to carry and use. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, form a part of this application, and do not constitute a limitation to the embodiments of the present invention. In the drawings:

[0023] Figure 1 It is a connection schematic diagram between each different emulator and the debugging terminal and the product to be debugged in the embodiment of the present invention;

[0024] Figure 2 It is a connection schematic diagram between the multi-functional emulator and the product to be debugged in the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. The components of the embodiments of the present invention usually described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations.

[0026] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed present invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.

[0027] It should be noted that similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0028] In the description of the embodiments of the present invention, it should be noted that if terms such as "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the inventive product is customarily placed during use, it is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation of the present invention.

[0029] In addition, terms such as "horizontal", "vertical", "hanging" do not mean that the component is required to be absolutely horizontal or hanging, but can be slightly inclined. For example, "horizontal" only means that its direction is more horizontal relative to "vertical", and does not mean that the structure must be completely horizontal, but can be slightly inclined.

[0030] In the description of the embodiments of the present invention, "a plurality of" represents at least two.

[0031] In the description of the embodiments of the present invention, it should also be noted that unless otherwise clearly specified and limited, if terms such as "set", "installed", "connected", "connected" are understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0032] Embodiment 1: To solve the problems that the USB interfaces of current laptop computers are limited and there may be no available RS232 debugging serial ports; at the same time, there are many inconveniences in carrying multiple emulators, etc., this embodiment provides a multifunctional emulator, such as Figure 2 shown, which includes an interface expansion chip for expanding the USB interface of the debugging terminal. The interface expansion chip is connected to the debugging terminal through a USB Type-C interface; it also includes multiple interface conversion chips for realizing the conversion from the USB interface to the target interface, and multiple interface conversion chips are all connected to the interface expansion chip; wherein, the above-mentioned target interfaces include SWIO interface, SPI interface, UART interface, EPGA-AG interface, RS232 interface, network interface, FPGA-JTAG interface, and RS422 interface.

[0033] Specifically, when the multifunctional emulator in this embodiment realizes the conversion from USB to the interface, after the product is connected to the computer, the computer will discover multiple USB devices and configure corresponding driver programs according to the information of each USB device; after the driver programs are installed (the driver programs are not adjusted), start the corresponding development software, and the software will discover the corresponding emulator, and at this time, simulation debugging can be carried out.

[0034] Among them, the interface expansion chip is connected to the debugging terminal through the USB Type-C interface, and the interaction between the interface expansion chip and the debugging terminal is realized. The other end of the interface expansion chip is connected to multiple interface conversion chips, such as Figure 2 shown. Multiple interface conversion chips are all used to realize the conversion from the USB interface to the target interface. Of course, there can be multiple types of target interfaces, such as SWIO interface, SPI interface, UART interface, etc. The interaction between the interface expansion chip and multiple interface conversion chips is also realized. When in use, connect the product to be debugged corresponding to the interface through the target interface. While realizing the interaction between the target interface and the product to be debugged, the interaction between the debugging terminal and the product to be debugged is realized, and finally the purpose of simulating and debugging the product through the debugging terminal is achieved.

[0035] Embodiment 2: To solve the problems that the USB interfaces of current laptop computers are limited and there may be no available RS232 debugging serial ports; at the same time, there are many inconveniences in carrying multiple emulators, etc., this embodiment provides a multifunctional emulator, such as Figure 2 shown, which includes an interface expansion chip for expanding the USB interface of the debugging terminal. The interface expansion chip is connected to the debugging terminal through a USB Type-C interface; it also includes multiple interface conversion chips for realizing the conversion from the USB interface to the target interface, and multiple interface conversion chips are all connected to the interface expansion chip; specifically, the multifunctional emulator proposed in this embodiment reduces the number and volume of emulator tools that need to be carried, and reduces the demand for the USB interfaces of laptop computers.

[0036] Among them, the model of the above interface expansion chip is GL852G-HH; the model of the above interface expansion chip can also be CH344S.

[0037] Optionally, the above interface conversion chips include GD32F103 chips, FT4232 chips, and SR9900 chips.

[0038] Specifically, the above GD32F103 chip is used to implement the conversion between the USB interface and the SWIO interface, SPI interface, and UART interface.

[0039] Specifically, the above FT4232 chip is used to implement the conversion between the USB interface and the UART interface, EPGA-AG interface, and RS232 interface.

[0040] Specifically, the above FT4232 chip can also be used to implement the USB interface to the UART interface, FPGA-JTAG interface, and RS422 interface.

[0041] Specifically, the above SR9900 chip is used to implement the conversion between the USB interface and the network interface.

[0042] Optionally, the above interface conversion chips are connected to the product to be debugged through a debugging small board, as Figure 2 shown, and the interface expansion chip and each interface conversion chip are integrated in the same main body.

[0043] Among them, the interface expansion chip and each interface conversion chip are integrated in the same main body. This main body can be an installation body, such as a box structure, or a circuit board, and then the circuit board is protected by a combined structure, which is more convenient for carrying and using; specifically, the above debugging terminal can be a notebook computer or other devices that can implement simulation debugging.

[0044] The above specific implementation manners further elaborate on the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above is only the specific implementation manners of the present invention and is not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A multi-functional emulator, characterized in that, It includes an interface expansion chip for expanding the USB interface of the debugging terminal, and the interface expansion chip is connected to the debugging terminal through a USB Type-C interface; it also includes a plurality of interface conversion chips for implementing the conversion from the USB interface to the target interface, and the plurality of interface conversion chips are all connected to the interface expansion chip.

2. The multifunctional emulator according to claim 1, characterized in that, The target interface includes an SWIO interface, an SPI interface, a UART interface, an EPGA-AG interface, an RS232 interface, a network interface, an FPGA-JTAG interface, and an RS422 interface.

3. A multifunctional emulator according to claim 1, characterized in that, The model of the interface expansion chip is GL852G-HH.

4. A multifunctional emulator according to claim 1, characterized in that, The model of the interface expansion chip is CH344S.

5. The multifunctional emulator according to claim 2, wherein The interface conversion chips include GD32F103 chips, FT4232 chips, and SR9900 chips.

6. A multifunctional emulator according to claim 5, characterized in that, The GD32F103 chip is used to implement the conversion between the USB interface and the SWIO interface, the SPI interface, and the UART interface.

7. A multifunctional emulator according to claim 5, characterized in that, The FT4232 chip is used to implement the conversion between the USB interface and the UART interface, the EPGA-AG interface, and the RS232 interface.

8. A multifunctional emulator according to claim 5, characterized in that, The FT4232 chip is used to implement the USB interface to the UART interface, the FPGA-JTAG interface, and the RS422 interface.

9. A multifunctional emulator according to claim 5, characterized in that The SR9900 chip is used to implement the conversion from the USB interface to the network interface.

10. A multifunctional emulator according to claim 1, characterized in that, Each of the interface conversion chips is connected to the product to be debugged through a debugging small board, and the interface expansion chip and each of the interface conversion chips are integrated in the same main body.