CN214586870U - Management system for multi-communication physical interface application data - Google Patents

Management system for multi-communication physical interface application data Download PDF

Info

Publication number
CN214586870U
CN214586870U CN202120500970.3U CN202120500970U CN214586870U CN 214586870 U CN214586870 U CN 214586870U CN 202120500970 U CN202120500970 U CN 202120500970U CN 214586870 U CN214586870 U CN 214586870U
Authority
CN
China
Prior art keywords
interface
communication
data
connector
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202120500970.3U
Other languages
Chinese (zh)
Inventor
朱绍香
孙婧
张晨慢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Microelectronics Technology Co Ltd
Original Assignee
Datang Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Microelectronics Technology Co Ltd filed Critical Datang Microelectronics Technology Co Ltd
Priority to CN202120500970.3U priority Critical patent/CN214586870U/en
Application granted granted Critical
Publication of CN214586870U publication Critical patent/CN214586870U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a management system for multi-communication physical interface application data. The system comprises: CPU, memory, communication adaptation interface and interface connector, wherein: the communication adapting interface is connected with one end of the interface connector and supports various interface types; the memory stores an application program; the program downloading reads the application program from the memory and sends the target peripheral equipment through the communication adaptation interface; the CPU receives the command of the upper computing processing unit through a USB interface; the interface connector comprises a peripheral end connector and a multi-communication physical interface data exchange device end connector, wherein the peripheral end connector is connected with a target peripheral, and the multi-communication physical interface data exchange device end connector is connected with the multi-communication physical interface data exchange device.

Description

Management system for multi-communication physical interface application data
Technical Field
The embodiment of the application relates to the field of information processing and transmission, in particular to a management system for multi-communication physical interface application data.
Background
In actual testing work, the chip module supports various physical communication interfaces, such as Serial Peripheral Interface (SPI), I2C, Universal Asynchronous Receiver/Transmitter (UART), ISO7816, GPIO (General-purpose input/output), and the like, and for peripherals with different physical interfaces, it is necessary to connect dedicated Interface adapters and driver software to communicate with the peripherals.
In the related art, a special communication interface adapter is required for different communication interfaces. If a chip module has a plurality of interfaces, if a single interface adapter and software are used for testing various interfaces, a plurality of different communication interface adapters are needed, which causes many problems in actual testing work. Due to the diversification of physical interface modes and communication software interfaces, the interface of the interface test platform is complex, the automation test difficulty is high, and the development of automation test work is not facilitated.
SUMMERY OF THE UTILITY MODEL
In order to solve any technical problem, an embodiment of the present application provides a management system for multi-communication physical interface application data.
In order to achieve the purpose of the embodiment of the present application, an embodiment of the present application provides a management system for multi-communication physical interface application data, including:
the communication adapter interface is connected with the end connector of the multi-communication physical interface data exchange device and comprises at least two communication interfaces, wherein the at least two communication interfaces are respectively matched with the end connector of the multi-communication physical interface data exchange device in the interface connector;
the memory stores application data and the system firmware;
the CPU reads the application data from the memory and sends the application data to the target peripheral equipment through the communication adaptation interface
The interface connector comprises a peripheral end connector and a multi-communication physical interface data exchange device end connector. The physical interface type of the connector at least comprises two types of interfaces.
The multi-communication physical interface data exchange device comprises a multi-communication physical interface data exchange device, a target peripheral and a peripheral end connector, wherein the peripheral end connector is connected with the target peripheral, and the multi-communication physical interface data exchange device end connector is connected with the multi-communication physical interface data exchange device.
One of the above technical solutions has the following advantages or beneficial effects:
the multi-group connectors provided by the interface connector can be used for realizing connection with target peripherals with different interfaces and forwarding the application data to the target peripherals with different interfaces, so that the purpose of simultaneously acquiring the application data from the target peripherals with various different interface types is realized, the data exchange and program downloading operations of the upper computer and the target peripherals are not limited by the interface types and the physical connection modes, the interface complexity of the interface test platform is reduced, and the automation test difficulty is reduced.
Additional features and advantages of the embodiments of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the embodiments of the present application and are incorporated in and constitute a part of this specification, illustrate embodiments of the present application and together with the examples of the embodiments of the present application do not constitute a limitation of the embodiments of the present application.
Fig. 1 is a block diagram of a multi-communication physical interface application data transmission system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a management system for multi-communication physical interface application data according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface connector provided by an embodiment of the present application;
fig. 4 is a schematic working diagram of a multi-communication physical interface data exchange device according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating an operation mode of a communication adaptation interface according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a working mode a of a multi-communication physical interface data exchange device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a multi-communication physical interface data exchange apparatus according to an embodiment of the present application, which performs data exchange using transmission parameters;
fig. 8 is a flowchart illustrating a multi-communication physical interface data exchange device loading program data into an NVM storage area according to an embodiment of the present application;
fig. 9 is a flowchart of an operation of the multi-communication physical interface data exchange device in the operating mode B according to the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the embodiments of the present application, features in the embodiments and the examples may be arbitrarily combined with each other without conflict.
In the process of implementing the application, technical analysis is performed on the related technologies, and it is found that the related technologies have at least the following problems, including:
the chip has communication interfaces such as SPI, I2C, ISO7816, UART, GPIO and the like, and each interface has a separate interface adapter and communication software. When the upper computer carries out access test on different interfaces, different interface adapters and different software interfaces are used, so that the test work is complex. Therefore, a multi-communication interface adapter integrating multiple communication interfaces and unifying software communication calling interfaces is needed.
In addition, the existing communication interface adapter does not have products simultaneously provided with interfaces such as SPI, I2C, ISO7816, UART, GPIO and the like; meanwhile, the existing special communication interface adapter has no part for caching program data and downloading the program data to a target chip in an off-line manner.
According to the scheme provided by the embodiment of the application, the unified physical interface mode and the communication software interface are defined according to the characteristics of various communication physical interfaces, so that the test platform can approximate different interface modes to a communication interface mode. The communication access modes of different interfaces are unified, and the test work of the interface access is greatly simplified. Meanwhile, on the basis of possessing multiple communication interfaces, the device can also buffer program data to the NVM area, the buffered data is not lost when power failure occurs, and data can be written into a chip possessing the interfaces in an off-line manner.
Fig. 1 is a structural diagram of a management system for multi-communication physical interface application data according to an embodiment of the present application. As shown in fig. 1, the system includes:
the communication adapter interface is connected with the end connector of the multi-communication physical interface data exchange device and comprises at least two communication interfaces, wherein the at least two communication interfaces are respectively matched with the end connector of the multi-communication physical interface data exchange device in the interface connector;
the memory stores application data;
the CPU reads the application data from the memory and sends the application data to the target peripheral equipment through the communication adaptation interface
The interface connector comprises a peripheral end connector and a multi-communication physical interface data exchange device end connector, wherein the physical interface type of the connector at least comprises two types of interfaces.
The multi-communication physical interface data exchange device comprises a multi-communication physical interface data exchange device, a target peripheral and a peripheral end connector, wherein the peripheral end connector is connected with the target peripheral, and the multi-communication physical interface data exchange device end connector is connected with the multi-communication physical interface data exchange device.
According to the system provided by the embodiment of the application, the multiple groups of connectors provided by the interface connector can be used for realizing connection with target peripherals with different interfaces, the purpose of forwarding the application data to the target peripherals with different interfaces is realized, the purpose of simultaneously acquiring the application data from the target peripherals with multiple different interface types is realized, the program downloading operation is not limited by interface types and physical connection modes, the interface complexity of an interface test platform is reduced, and the automation test difficulty is reduced.
In an exemplary embodiment, the multi-communication physical interface data exchange device further comprises:
and the USB downloading interface is connected with the calculation processing unit.
The CPU acquires an application program from the computing processing unit through the USB download interface; and sending the data of the target peripheral equipment to the computing processing unit through the downloading interface.
The USB download interface comprises but is not limited to physical interfaces such as a Type-A USB interface, a Micro USB interface, a Type-C interface and a Lightning interface; or, the interface is a wireless interface, such as a bluetooth interface, a Wifi interface, etc.
The calculation processing unit may be a PC, a portable mobile terminal, or the like.
In one exemplary embodiment, the system further comprises:
and the working indicator light is used for indicating the completion, the processing or the failure of the data transmission.
In one exemplary embodiment, the system further comprises:
a working mode switch for indicating whether the current system is available for transferring application data to the target peripheral device; or available for off-line downloading of the program to the target peripheral device;
and the CPU is connected with the working mode switch, and after the working mode switch indicates that the current system is used for transmitting application data to a target peripheral and is started, the CPU sends the application data to the target peripheral through the communication adaptation interface.
In one exemplary embodiment, the system further comprises:
a program download switch for indicating whether to start program download;
and when the working mode switch indicates that the current system is used for downloading a program to a target peripheral offline, the CPU sends an application program to the target peripheral through the communication adapter interface after the program download switch is started.
Fig. 2 is a schematic diagram of a management system for multi-communication physical interface application data according to an embodiment of the present application. As shown in fig. 2, the system includes a CPU, a USB interface, a clock module, a power module, a memory module, a communication adapter interface, a program download switch, a program download information display, and an interface adapter. The program downloading is not only responsible for forwarding the data of the application to the target peripheral equipment with different interfaces, but also can read the data from the target peripheral equipment and forward the data to the application, so that the application does not need to pay attention to the interface type and the physical connection mode of the target peripheral equipment
And the download interface is used for providing a connection interface with a PC upper computer.
And the clock supplies a clock to the CPU and outputs the clock to the outside, and the frequency range of the output clock is 100Khz to 50 Mhz.
And the power supply provides working power supply for the CPU and outputs power supply to the outside, and the output power supply voltage range is adjustable from 1.5V to 5V.
And a Memory for providing the CPU with program storage and RAM for operation, and simultaneously providing a non-volatile Memory (NVM) area which does not lose data when power is off, wherein the NVM is a Memory capable of storing saved data even when power is off.
Fig. 3 is a schematic diagram of an interface connector provided in an embodiment of the present application. As shown in fig. 3, the interface connector interface supports a communication interface including an SPI interface, an I2C interface, an ISO7816 interface, a UART interface, and a GPIO interface. The interfaces are connected with the interfaces of the peripheral equipment through interface connectors. The A end of the interface connector is connected with the communication adaptive interface, and the B end of the interface connector is connected with the target peripheral. The SPI, I2C, ISO7816, UART and GPIO are arranged according to fixed numbers at the A end and defined according to target peripheral equipment at the B end. In addition, the B terminal controls the conduction state with the target peripheral equipment through a jumper switch. Wherein, there are at least two groups of connectors of the same type.
Fig. 4 is a schematic working diagram of a multi-communication physical interface data exchange device according to an embodiment of the present application. As shown in fig. 4, the main control module is connected to the application module and interacts command data. The application module may be an application on a PC system, or may be an application in another form. The implementation is not within the scope of the present solution. DMT litch-s can be used as the master CPU.
The main control module receives the command data sent by the application module, if the command data is the set transmission protocol data, the main control module forwards the data to the transmission protocol setting module, and the transmission protocol type and parameter setting is completed by the main control module. If the data is the data to the target peripheral equipment, the data is forwarded to a data sending and receiving module, and the data is transmitted by the data sending and receiving module. If the program data is to be cached to the NVM, the data is stored to the NVM.
The transmission protocol setting module is responsible for setting the transmission protocol of the device, and initializing the transmission type and parameter setting according to the transmission protocol data of the main control module. After the interface protocol is set, the transmission parameters of the interface are stored in an interface register bound with the interface.
The data sending and receiving module is responsible for data transmission and exchange with the peripheral. After receiving the command data of the main control module, the transmission protocol parameters are obtained from the interface register of the transmission protocol setting module, and the data transmission is completed according to the set transmission protocol parameters.
The transmission module is a physical interface module of the device, is responsible for communication connection between peripherals, is connected with the peripherals through a physical interface connector, completes adaptation according to the connection types and transmission parameters of the peripherals, and transmits data on corresponding interfaces. And when the data is transmitted, finding the corresponding interface according to the parameter indication of the interface register to transmit the data.
When at least two connectors of the same type of the interface connector are provided, the working state and transmission parameters of the connectors are recorded by using an interface register in the communication adaptation interface, so that the CPU transmits the application data to the connectors which are recorded by the register and are in the enabling state.
Fig. 5 is a schematic view of an operation mode of a multi-communication physical interface data exchange device according to an embodiment of the present application. As shown in fig. 5, after the program downloading device is powered on, the operating mode is determined, and if the mode switch is in the B mode, the mode switch enters the B mode, otherwise, the mode switch enters the a mode.
Fig. 6 is a flowchart of an operation of the multi-communication physical interface data exchange device in the working mode a according to the embodiment of the present application. As shown in fig. 7, there are three flows in the a mode, including:
the first procedure is to initialize and set the transmission parameters of the interface. And after the device finishes power-on initialization, preparing to receive data of an application terminal. And if the received data needs to carry out initialization setting on the transmission parameters of the external interface, setting the transmission parameters of the external interface. And after the transmission parameters of the set interface are successfully set, the parameters are bound with the interface, and a transmission channel between the peripheral equipment and the application is established. The subsequent transmission of this interface uses this parameter for data exchange, see in particular fig. 7.
And the second process is to exchange data with peripheral equipment in real time. And controlling the interface to complete data transmission by using the set parameters. The interface supported by the device is SPI/I2C/UART/ISO 7816/GPIO interface, which is respectively defined as A/B/C/D/E type interface. The application data can select any interface in A/B/C/D/E for data transmission. The data exchange modes realized by the device are three, namely reading data from the peripheral, writing data to the peripheral, simultaneously writing data to the peripheral and reading back the data.
And in the third process, program data is loaded into the NVM storage area, and the specific process is shown in FIG. 8. The first step of the processing flow is to process the off-line download protocol parameters between the storage and the target peripheral equipment. The second step is to process and cache the program data and the download command which need to be downloaded off line, the third step is to process the response of the off-line download command, and the last step is to check the program data, the command and the response which need to be downloaded off line and cache the check value.
Fig. 9 is a flowchart of an operation of the multi-communication physical interface data exchange device in the operating mode B according to the embodiment of the present application. As shown in fig. 9, in the B mode, the program data buffered in the NVM region is sent to the target peripheral according to the download switch control, the download command, and the response indication. After the device finishes power-on initialization, the integrity of the cache data is checked. When the peripheral is connected in place, the program download switch is pressed down, and the data transmission of the cached data is completed according to the parameters of the corresponding interface. The current working state is indicated by the working indicator light in the program downloading process, and the three states of downloading completion, downloading middle or error are respectively indicated by changing the color of the indicator light.
The system that this application embodiment provided utilizes communication adaptation interface integrated SPI, I2C, ISO7816, UART, GPIO interface, has reduced test platform interface part's complexity, is favorable to improving efficiency of software testing, is favorable to the realization of automated test. In addition, the communication adapter comprises a program data cache, and can download the program to the chip off line.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (10)

1. A system for managing multi-communication physical interface application data, comprising:
the communication adapter interface is connected with the end connector of the multi-communication physical interface data exchange device and comprises at least two communication interfaces, wherein the at least two communication interfaces are respectively matched with the end connector of the multi-communication physical interface data exchange device in the interface connector;
the memory stores application data;
the CPU reads the application data from the memory and sends the application data to a target peripheral through the communication adaptation interface;
the interface connector comprises a peripheral end connector and a multi-communication physical interface data exchange device end connector, wherein the physical interface type of the connector at least comprises two types of interfaces;
the multi-communication physical interface data exchange device comprises a multi-communication physical interface data exchange device, a target peripheral and a peripheral end connector, wherein the peripheral end connector is connected with the target peripheral, and the multi-communication physical interface data exchange device end connector is connected with the multi-communication physical interface data exchange device.
2. The system of claim 1, wherein the means for multiple communication physical interface data exchange further comprises:
the USB downloading interface is connected with the host control computer processing unit of the upper computer;
the CPU obtains application data and commands from the host computer master control computing processing unit through the USB download interface; and sending the data of the target peripheral equipment to the host computer master control calculation processing unit through the USB download interface.
3. The system of claim 2, wherein:
the CPU acquires data from an upper computer, and the data are adaptively forwarded to peripherals with different interface types through the communication adaptive interface or the data of a target peripheral are adaptively received through the communication adaptive interface;
and after the CPU obtains the application data, the CPU downloads the application program to a target chip on line or stores the application program to a memory as off-line download data.
4. The system of claim 1, wherein the communication adaptation interface further comprises:
the interface register is used for recording the working state and the transmission parameters of the same type of connector;
and the CPU transmits the application data to the connector which is recorded by the register and is in an enabled state.
5. The system of claim 1, wherein said peripheral end connector of said interface connector is connected to a target peripheral device by a jumper switch.
6. The system according to claim 1, 3, 4 or 5, wherein the interface type of the interface connector comprises at least one of a Serial Peripheral Interface (SPI), an interface I2C, a Universal Asynchronous Receiver Transmitter (UART) interface, an interface ISO7816 and a general purpose input/output (GPIO).
7. The system of claim 1, further comprising:
and the working indicator light is used for indicating the completion, the processing or the failure of the data transmission.
8. The system of claim 1, further comprising:
a working mode switch for indicating whether the current system is available for transferring application data to the target peripheral device; or available for off-line downloading of the program to the target peripheral device;
and the CPU is connected with the working mode switch, and after the working mode switch indicates that the current system is used for transmitting application data to a target peripheral and is started, the CPU sends the application data to the target peripheral through the communication adaptation interface.
9. The system of claim 8, further comprising:
a program download switch for indicating whether to start program download;
and when the working mode switch indicates that the current system is used for downloading a program to a target peripheral offline, the CPU sends an application program to the target peripheral through the communication adapter interface after the program download switch is started.
10. The system according to claim 1, characterized in that said memory is a non-volatile memory NVM.
CN202120500970.3U 2021-03-09 2021-03-09 Management system for multi-communication physical interface application data Active CN214586870U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120500970.3U CN214586870U (en) 2021-03-09 2021-03-09 Management system for multi-communication physical interface application data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120500970.3U CN214586870U (en) 2021-03-09 2021-03-09 Management system for multi-communication physical interface application data

Publications (1)

Publication Number Publication Date
CN214586870U true CN214586870U (en) 2021-11-02

Family

ID=78319086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120500970.3U Active CN214586870U (en) 2021-03-09 2021-03-09 Management system for multi-communication physical interface application data

Country Status (1)

Country Link
CN (1) CN214586870U (en)

Similar Documents

Publication Publication Date Title
US8275599B2 (en) Embedded bus emulation
US6901457B1 (en) Multiple mode communications system
US8019923B2 (en) Memory card adapter
CN106598632A (en) Firmware upgrading method and apparatus for optical module
CN111240238B (en) Chip control system
GB2463809A (en) Peripheral device operation method, peripheral device and host
CN111756858B (en) Remote development processing system, method and device for embedded equipment
CN103092648B (en) A kind of image upgrade method, system and subscriber equipment and personal computer
CN101667133B (en) Method for updating firmware and chip updating firmware by using same
CN110704341A (en) Device and method for upgrading code by serial port single line
CN113901754B (en) FPGA-based Ethernet MACIP board-level verification structure and method
CN214586870U (en) Management system for multi-communication physical interface application data
CN108132899A (en) A kind of transmission mode configuration method, apparatus and system
CN107908418B (en) Method for upgrading logic program of fiber channel node card and fiber channel bus equipment
CN111198837A (en) SDIO interface system based on FPGA and controller bridging method
CN216250003U (en) Flash memory test board and test device
US7441053B2 (en) Support of an interaction between a host device and a peripheral device
CN115599311A (en) Polarity inversion method and apparatus, storage medium, and electronic apparatus
CN212181459U (en) FPGA upgrading system
CN111371799B (en) Method, device and equipment for controlling data receiving and transmitting of MCTP (Multi-channel media Port) controller
CN111198828B (en) Multi-storage medium concurrent configuration method, device and system
EP3973637A1 (en) Exchange of data between a nfc reader and a dual nfc interface transponder
EP2410435A1 (en) Signal transmission device and method
CN215181950U (en) Data transmission system and data transmission equipment
CN216561756U (en) Circuit and electronic device supporting network upgrade

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant