CN111628832B - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
CN111628832B
CN111628832B CN202010437590.XA CN202010437590A CN111628832B CN 111628832 B CN111628832 B CN 111628832B CN 202010437590 A CN202010437590 A CN 202010437590A CN 111628832 B CN111628832 B CN 111628832B
Authority
CN
China
Prior art keywords
modem
debugging
application processor
debugging system
module
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
CN202010437590.XA
Other languages
Chinese (zh)
Other versions
CN111628832A (en
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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202010437590.XA priority Critical patent/CN111628832B/en
Publication of CN111628832A publication Critical patent/CN111628832A/en
Application granted granted Critical
Publication of CN111628832B publication Critical patent/CN111628832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/0082Monitoring; Testing using service channels; using auxiliary channels

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A communication device, comprising: an application processor; a modem in communication with the application processor via a serial bus; the application processor is internally provided with a first debugging system, and the modem is internally provided with a second debugging system; the first debugging system and the second debugging system are communicated through the serial bus, and the modem is debugged through the communication between the first debugging system and the second debugging system. By adopting the scheme, the high-efficiency debugging of the modem can still be realized under the condition that the modem can not be connected with the simulator.

Description

Communication device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communications device.
Background
In order to meet the diversified demands of users, communication devices such as mobile phones and the like gradually expand diversified functions such as camera shooting and games in addition to the function of realizing communication. These applications may be controlled and implemented based on independent systems.
Therefore, for a communication device capable of implementing multiple applications, there are usually at least two integrated circuit chips, one of which is a modem (modem) for implementing a cellular communication function, which can be understood as a communication system; the other chip is an Application Processor (AP) for implementing functions such as shooting, displaying, 2D/3D engine, and may be understood as an Application processing system.
When the modem is hung up, the problem can be analyzed online and then located only by connecting a debugging simulator with a test interface of the modem and capturing data and information in a processor, a chip register and a memory on the modem side.
However, in a specific product, although the modem is provided with a test interface, in order to save space and cost of a circuit board, the test interface of the modem is not exposed, so that online debugging of the modem through the test interface of the modem cannot be performed.
Disclosure of Invention
The technical problem solved by the invention is to provide an improved communication device, which can effectively debug a modem under the condition that the modem can not be connected with an emulator.
To solve the above technical problem, an embodiment of the present invention provides a communication apparatus, including: an application processor; a modem in communication with the application processor via a serial bus; the application processor is internally provided with a first debugging system, and the modem is internally provided with a second debugging system; the first debugging system and the second debugging system are communicated through the serial bus, and the modem is debugged through the communication between the first debugging system and the second debugging system.
Optionally, a test interface is disposed on the application processor.
Optionally, the first debugging system is connected through the test interface by using an emulator to debug the modem.
Optionally, the first debugging system is connected to debug the modem through a processor inside the application processor.
Optionally, the first debugging system and the second debugging system are both hardware debugging systems.
Optionally, the first debugging system comprises: the first debugging modules correspond to the functional modules in the application processor, and are used for capturing data and information of the corresponding functional modules in the application processor so as to be used for online debugging.
Optionally, the second debugging system comprises: and the second debugging modules correspond to the functional modules in the modem and are used for capturing data and information of the corresponding functional modules in the modem so as to be used for online debugging.
Optionally, at least one of the first debugging system and the second debugging system is a debugging system of a kernel scene architecture.
Optionally, the communication device further comprises: a shared memory module coupled to and directly accessible by the application processor, the modem coupled to and indirectly accessible to the shared memory module through the application processor.
Optionally, the application processor comprises:
and the storage control unit is communicated with the shared storage module and is used for receiving access requests of the modem and the application processor and accessing the shared storage module according to the access requests.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a communication device, wherein a first debugging system arranged in an application processor can be communicated with a second debugging system arranged in a modem, and further, the debugging of the modem can be realized through the communication between the first debugging system and the second debugging system, namely, a simulator is not connected in the modem, and the efficient debugging of the modem can also be realized.
Further, the communication apparatus may further include: a shared memory module coupled to and directly accessible by the application processor, the modem coupled to and indirectly accessible to the shared memory module through the application processor.
On one hand, compared with the existing dual-port storage scheme, the bandwidth and the speed are low, and the performance requirements of the system on high bandwidth and low delay cannot be met, or the existing defects that the overall size is large and the system cost is high are caused by respectively configuring a storage module for each system. The scheme of the embodiment provides an improved communication device, which can enable a plurality of systems with large capacity, high bandwidth and low delay memory access requirements to share the same physical memory, is beneficial to reducing the overall cost and improving the system competitiveness. Specifically, the shared memory module hangs under the application processor, which can directly access the shared memory module, while the modem indirectly accesses the shared memory module through the application processor. Thus, a plurality of large-capacity, high-bandwidth and low-delay systems can share one off-chip physical memory.
On the other hand, the shared memory module is divided into an application processor dedicated area, a modem dedicated area and a shared area, and the dedicated areas are respectively arranged for the application processor and the modem, so that the data security of the application processor and the modem can be effectively improved. Because the shared area is arranged, the data interaction and transmission of the application processor and the modem can be more conveniently carried out, the data processing efficiency is improved, and the delay and the required bandwidth of the data transmission are reduced.
Drawings
Fig. 1 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another communication device according to an embodiment of the present invention.
Detailed Description
At present, once a modem is hung up, the problem can be analyzed online and then positioned only by connecting a debugging simulator with a test interface of the modem and capturing data and information in a processor, a chip register and a memory on the modem side.
However, in a specific product, although the modem is provided with the test interface, in order to save space and cost of a circuit board, the test interface of the modem is often not exposed, so that the modem cannot be debugged online through the test interface of the modem.
In order to solve the above problem, an embodiment of the present invention provides a communication apparatus, in which a first debugging system provided in an application processor can communicate with a second debugging system provided in a modem, and further, the debugging of the modem can be realized through the communication between the first debugging system and the second debugging system, so that even if a simulator is not connected in the modem, efficient debugging of the modem can be realized.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a schematic diagram of a communication device according to an embodiment of the present invention.
The communication device can be a user equipment such as a mobile phone.
Specifically, referring to fig. 1, the communication apparatus 1 according to the present embodiment may include: an application processor 11; a modem 12.
Wherein, the application processor 11 and the modem 12 communicate through a serial bus. The application processor 11 is provided with a first debug system 110, the modem 12 is provided with a second debug system 120, and the first debug system 110 and the second debug system 120 communicate with each other through a serial bus coupled to the application processor 11 and the modem 12.
The interface of the serial bus in the application processor 11 is a first interface unit 112, and the interface of the serial bus in the modem 12 is a second interface unit 121. The serial bus further comprises a connection line 14 connecting the first interface unit 112 and the second interface unit 121.
In a specific implementation, the first interface unit 112 is configured to convert the data format of the data between a private data format and a standard data format of the application processor 11. The second interface unit 121 is used to convert the data format of the data between a proprietary data format and a standard data format of the modem 12.
In an implementation, a plurality of functional modules, such as a processor, a chip register, a memory, and the like, may be disposed in the application processor 11. Similarly, a plurality of functional modules, such as a processor, chip registers, and a memory, may be disposed in the modem 12. Modem 12 is debugged by capturing data and information from various functional blocks within modem 12 in the event of a hang-up condition in modem 12.
In an embodiment of the present invention, the first debugging system 110 and the second debugging system 120 may be both hardware debugging systems, that is, data and information of corresponding functional modules in the application processor 11 and the modem 12 are obtained by setting corresponding hardware in the application processor 11 and the modem 12, and then the obtained data and information are used to perform fault analysis and location.
In this way, even if the internal function module of the modem 12 is suspended, the data and information of the corresponding function module in the modem 12 can still be obtained through the hardware components of the second debug system 120, so as to achieve the purpose of debugging the modem 12. Similarly, even if the internal function module of the application processor 11 is hung up, the data and information of the corresponding function module in the application processor 11 can be obtained through each hardware component of the first debugging system 110, so as to achieve the purpose of debugging the application processor 11.
Specifically, the first debugging system 110 may include: the first debugging modules correspond to the functional modules in the application processor 11, and the first debugging modules are respectively used for capturing data and information of the corresponding functional modules in the application processor 11 so as to be used for online debugging.
For example, referring to fig. 1, the first debugging system 110 may include M and a first debugging module, which are a first debugging module J1, a first debugging module J2, a first debugging module J3, a first debugging module J4, … …, respectively, where the first debugging module JM, M is a positive integer greater than or equal to 1. The first debugging module J1 may correspond to a processor of the application processor 11, the first debugging module J2 may correspond to a chip register of the application processor 11, and so on. The first debugging modules J1 to JM are respectively configured to capture data and information of corresponding functional modules in the application processor 11, so as to implement the purpose of online debugging of the application processor 11.
The second debugging system 120 may include: a plurality of second debug modules corresponding to the functional modules in the modem 12, the second debug modules being configured to capture data and information of the corresponding functional modules in the modem 12 for online debugging.
For example, referring to fig. 1, the second debugging system 120 may include N second debugging modules, which are a second debugging module P1, a second debugging module P2, a second debugging module P3, and second debugging modules P4 and … …, respectively, where N is a positive integer greater than or equal to 1. Second debug module P1 may correspond to a processor of the modem 12, second debug module P2 may be provided with chip registers corresponding to the modem 12, and so on. The second debugging modules P1-PN are respectively used for capturing data and information of corresponding functional modules in the modem 12, so as to achieve the purpose of online debugging of the modem 12.
It should be noted that how to set the specific structure of the first debugging module specifically may be set according to the structure and actual requirements of the corresponding functional module of the first debugging module. But in no way should be construed to limit the scope of the present invention and fall within the scope of the present invention.
In an embodiment of the invention, the first debugging system 110 and the second debugging system 120 may be kernel view (Coresight) architecture debugging systems. A debugging system of a kernel scene architecture can debug, monitor and optimize the performance of a complete system on chip (SoC) design.
In particular implementations, the first debug system 110 may communicate with the second debug system 120 in a variety of ways to debug the modem 12.
In an embodiment of the present invention, the application processor 11 may be provided with a test interface, and a simulator is used to connect the first debugging system 110 through the test interface, so that the first debugging system 110 communicates with the second debugging system 120, thereby implementing debugging of the modem 12. The Test interface may be an interface of Joint Test Action Group (JTAG) protocol.
Specifically, the emulator is connected to the first debug system 110 through a test interface on the application processor 11, so that the first debug system 110 communicates with the second debug system 120 through a serial bus, and further obtains data and information of a corresponding functional module in the modem 12 through the second debug system 120. The specific data transmission path is as follows:
Figure BDA0002502875170000061
in another embodiment of the present invention, the first debugging system 110 may be further connected to debug the modem through a processor inside the application processor 11.
The processor inside the application processor 11 is equivalent to the CPU of the application processor 11, and through information interaction with the processor, the processor can be connected to the second debugging system 120 through the first debugging system 110, and then the data and information of the corresponding functional module inside the modem 12 are obtained through the second debugging system 120.
The specific data transmission path is as follows:
Figure BDA0002502875170000071
of course, in other embodiments, the first debug system 110 and the second debug system 120 can be caused to communicate with each other by other means, so as to obtain data and information of corresponding functional modules in the modem 12, so as to analyze and locate the failure of the modem 12.
In any way, it is within the scope of the present invention to obtain data and information of corresponding functional modules in the modem 12 only through the communication between the first debug system 110 and the second debug system 120, so as to analyze and locate the failure of the modem 12.
In a specific implementation, the first debugging system 110 is enabled to communicate with the second debugging system 120, a certain first debugging module of the first debugging system 110 may communicate with one or more second debugging modules in the second debugging system 120, or a plurality of first debugging modules of the first debugging system 110 may respectively communicate with a plurality of second debugging modules in the second debugging system 120, which is not limited in particular.
For example, the first debug module J2 may communicate with the second debug modules P1 and P3 in the second debug system 120 to obtain data and information of the function modules commonly corresponding to the second debug modules P1 and P3.
For another example, the first debugging module J2 may communicate with the second debugging module P1 in the second debugging system 120 to obtain the data and information of the functional module corresponding to the second debugging module P1, and the first debugging module J3 may communicate with the second debugging module P4 in the second debugging system 120 to obtain the data and information of the functional module corresponding to the second debugging module P4.
Each system of the existing communication device is respectively and independently configured with an off-chip physical memory, so that the overall cost is high, the PCB area is large, and the miniaturization design is not facilitated.
Although the prior art also has a scheme for implementing a shared memory module based on a dual-port memory (memory). However, the interface of dual port memories is mainly parallel port and the rate is usually not high. The bandwidth that the existing dual-port memory can provide is about 6.4Gbps at most, which is far lower than the requirement of a system with the requirements of large capacity, high bandwidth and low delay memory access. Generally speaking, high bandwidth means that the bandwidth requirement of a system for accessing an off-chip physical memory is more than 16 Gbps; low latency means that the system access off-chip physical memory latency requirement is below 1000 ns.
To solve the above technical problem, referring to fig. 2, an embodiment of the present invention provides a communication apparatus 1, further including a shared memory module 13, wherein the application processor 11 is coupled to the shared memory module 13 and is capable of directly accessing the shared memory module 13, and the modem 12 is coupled to the application processor 11 and indirectly accesses the shared memory module 13 through the application processor 11.
Wherein, directly may be compared to indirectly, that is, the data access of the application processor 11 to the shared memory module 13 does not need to be relayed by other systems, and the data access of the modem 12 to the shared memory module 13 needs to be relayed by other systems (such as the application processor 11).
In an implementation, the data management capability of the application processor 11 is stronger than that of the modem 12. In a communication device such as a mobile phone, after the application processor 11 is powered on and started, the modem 12 needs to be started after necessary initialization and resource allocation. Since the operations of powering on, powering off, resetting, and the like of the modem 12 are controlled by the application processor 11, the application processor 11 plays a role of a master control with respect to the modem 12 in a communication apparatus such as a mobile phone. And the application processor 11 has a large number of accesses to the shared memory module 13, and the shared memory module 13 has a large space, so in the embodiment of the present invention, the shared memory module 13 is mounted on the application processor 11 side, not on the modem 12 side.
It should be noted that the direct access in this embodiment does not mean that the application processor 11 and the shared memory module 13 are directly connected by using a data line. In practical applications, the application processor 11 and the shared memory module 13 may be connected through an interface or the like, and in this case, the application processor 11 may also be considered to directly access the shared memory module 13.
In the embodiment of the present invention, the shared memory module 13 is a single-port memory, that is, only one interface is configured to couple with the application processor 11, and another interface is not configured to couple with the modem 12 at the same time. Compared with a double-port memory, the single-port memory has the advantages that the interface of the single-port memory is mainly a serial port, the speed is usually very high, and the requirements of a system with high capacity, high bandwidth and low delay memory access requirements can be better met. And the single-port memory is more convenient to manage.
In one implementation, the application processor 11 may include: a storage control unit 111, where the storage control unit 111 is in communication with the shared storage module 13, and the storage control unit 111 may be configured to receive access requests from the application processor 11 and the modem 12, and access the shared storage module 13 according to the access requests.
In one embodiment, the shared Memory module 13 may be a Double Data Rate Synchronous Random Access Memory (DDR SDRAM, DDR for short).
As can be seen from the foregoing, the communication apparatus in the embodiment of the present invention can implement debugging of the modem through communication between the first debugging system and the second debugging system, that is, the emulator is not connected in the modem, and also can implement efficient debugging of the modem.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (4)

1. A communications apparatus, comprising:
an application processor;
a modem in communication with the application processor via a serial bus;
the application processor is internally provided with a first debugging system, and the modem is internally provided with a second debugging system; the first debugging system and the second debugging system are communicated through the serial bus; connecting the first debugging system through a processor in the application processor, and debugging the modem through the communication between the first debugging system and the second debugging system;
the second debugging system includes: the second debugging modules correspond to the functional modules in the modem and are used for capturing data and information of the corresponding functional modules in the modem and further performing fault analysis and positioning by using the acquired data and information;
at least one of the first debugging system and the second debugging system is a debugging system of a kernel scene architecture.
2. The communication apparatus according to claim 1, wherein the first debugging system and the second debugging system are both hardware debugging systems.
3. The communications apparatus of claim 1, further comprising:
a shared memory module coupled to and directly accessible by the application processor, the modem coupled to and indirectly accessible to the shared memory module through the application processor.
4. The communications apparatus of claim 3, the application processor comprising:
and the storage control unit is communicated with the shared storage module and is used for receiving access requests of the modem and the application processor and accessing the shared storage module according to the access requests.
CN202010437590.XA 2020-05-21 2020-05-21 Communication device Active CN111628832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010437590.XA CN111628832B (en) 2020-05-21 2020-05-21 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010437590.XA CN111628832B (en) 2020-05-21 2020-05-21 Communication device

Publications (2)

Publication Number Publication Date
CN111628832A CN111628832A (en) 2020-09-04
CN111628832B true CN111628832B (en) 2022-09-27

Family

ID=72261170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010437590.XA Active CN111628832B (en) 2020-05-21 2020-05-21 Communication device

Country Status (1)

Country Link
CN (1) CN111628832B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552733A (en) * 2009-05-15 2009-10-07 深圳华为通信技术有限公司 Data transmission realizing method and system based on SPI
CN102226895A (en) * 2011-06-01 2011-10-26 展讯通信(上海)有限公司 System with memorizer shared by coprocessor and master processor, and access method of system
CN103024012A (en) * 2012-12-03 2013-04-03 中科创达软件股份有限公司 Method of data interaction between computer and intelligent terminal modem
CN104714909A (en) * 2013-12-13 2015-06-17 重庆重邮信科通信技术有限公司 Device, method, bus structure and system for dealing with hang-up death of buses

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009124911A1 (en) * 2008-04-07 2009-10-15 Nxp B.V. Mobile phone with low-power media rendering sub-system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552733A (en) * 2009-05-15 2009-10-07 深圳华为通信技术有限公司 Data transmission realizing method and system based on SPI
CN102226895A (en) * 2011-06-01 2011-10-26 展讯通信(上海)有限公司 System with memorizer shared by coprocessor and master processor, and access method of system
CN103024012A (en) * 2012-12-03 2013-04-03 中科创达软件股份有限公司 Method of data interaction between computer and intelligent terminal modem
CN104714909A (en) * 2013-12-13 2015-06-17 重庆重邮信科通信技术有限公司 Device, method, bus structure and system for dealing with hang-up death of buses

Also Published As

Publication number Publication date
CN111628832A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
US9678842B2 (en) PCIE switch-based server system, switching method and device
US10657077B2 (en) HyperConverged NVMF storage-NIC card
US11003607B2 (en) NVMF storage to NIC card coupling over a dedicated bus
US10049073B2 (en) Interface emulator using FIFOs
US20150067424A1 (en) Processor tap support for remote services
CN103441941A (en) High performance data message capture method and device based on Linux
CN105472291A (en) Digital video recorder with multiprocessor cluster and realization method of digital video recorder
CN110362511B (en) PCIE equipment
CN111628832B (en) Communication device
US11011876B2 (en) System and method for remote management of network interface peripherals
CN109510740A (en) A kind of method, apparatus, terminal and the storage medium of automatic monitoring network interface card MTU value
CN112380162A (en) Single-board computer mainboard based on VPX framework
US9338918B2 (en) Socket interposer and computer system using the socket interposer
CN111614661A (en) Communication device
CN112003794A (en) Floating IP current limiting method, system, terminal and storage medium
CN217085747U (en) Multi-interface communication device based on VPX bus
US20120324188A1 (en) Virtual usb key for blade server
CN213276461U (en) Double-circuit server mainboard and server
CN204189089U (en) A kind of server
CN109450682B (en) IB network card communication configuration method and device, terminal and storage medium
CN112000613A (en) Multi-unit server management unit and multi-unit server
US20090006685A1 (en) Computer Server System and Computer Server for a Computer Server System
RU2680744C1 (en) Cpu module of data storage system
CN111625483A (en) Serial bus and communication device
CN203133281U (en) Beidou satellite and GPS double-positioning multimedia embedded plate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant