Bus monitoring module and monitoring method suitable for AHB protocol

A bus monitoring and bus technology, applied in hardware monitoring, instrumentation, error detection/correction, etc., can solve the problem that the bus monitor cannot meet the needs of bus access behavior monitoring, improve software execution efficiency, and enrich control methods and debugging methods. , The effect of optimizing the software storage structure

Active Publication Date: 2021-07-30
思澈科技(上海)有限公司
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The bus monitor cannot meet the monitoring requirements of bus access behavior monitoring in different address ranges of the same device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Bus monitoring module and monitoring method suitable for AHB protocol
  • Bus monitoring module and monitoring method suitable for AHB protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] This embodiment provides a specific implementation manner of a bus monitoring module applicable to the AHB protocol.

[0024] The specific embodiment of the bus monitoring module provided by the present invention can refer to figure 1 , the bus is provided with a master device and a slave device, the master device and the slave device on the bus are connected to the intermediate control module, the bus monitoring module includes multiple channels, and all the master devices and slave devices on the bus are respectively connected to the The input terminal is connected, the output of all channels is summarized to the interrupt management unit, and the interrupt management unit is connected to the processor as the output terminal of the bus monitoring module. Each channel includes a monitoring selection unit, an access filter unit, and a counting comparison unit, and for each channel Set an address range.

[0025] In this embodiment, when configuring the channel of the bu...

Embodiment 2

[0035] On the basis of Embodiment 1, this embodiment provides a specific implementation manner of a bus monitoring method applicable to the AHB protocol.

[0036] by figure 2 The MCU system of the bus monitoring method of the present invention is an example, in this MCU system, processor is as main control equipment, RAM and FLASH are as slave equipment, application bus monitoring method provided by the present invention can pass the number of visits of different code segments of FLASH by counting, Locate the codes that are frequently accessed during the operation of the processor and transfer them to the RAM to improve the operating efficiency of the system; the process flow of the bus monitoring method is:

[0037] 1. The processor sets the channels 1 to n of the bus monitoring module to monitor the bus read access to the FLASH slave device, and each channel sets a different address range;

[0038]2. The processor starts channels 1 to n at the same time, and runs the opera...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the field of integrated circuits, in particular to a bus monitoring module and method suitable for an AHB protocol. The bus monitoring module comprises a plurality of channels, a plurality of master control devices and slave devices on a bus are respectively connected with the input end of each channel, and the outputs of all the channels are gathered to the interrupt management unit; the interrupt management unit serves as an output end of the bus monitoring module and is connected with the main control equipment, each channel comprises a monitoring selection unit, an access filtering unit and a counting comparison unit, an address range is set for each channel, and the address ranges of the channels are not repeated. According to the invention, interruption can be generated when specific bus access reaches a certain number of times, and control modes and debugging methods of the processor are enriched.

Description

technical field [0001] The invention relates to the field of integrated circuits, in particular to a bus monitoring module and monitoring method suitable for the AHB protocol. Background technique [0002] The MCU chip is usually based on the bus architecture, and the main control device such as the processor / DMA accesses the slave device such as the memory / communication module through the bus to realize general-purpose computing, real-time control and other functions. The bus is the interface bridge between the master device and the slave device. Analyzing the working status and operating efficiency of the bus can provide ideas and basis for debugging and optimizing the entire chip. [0003] The AHB (Advanced High Performance Bus) protocol of ARM Company is a popular bus protocol in the industry. This protocol defines the interface signals for bus access, control timing and other content. Multiple master devices and multiple slave devices can be mounted on the AHB bus, an...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30G06F11/34
CPCG06F11/3041G06F11/3093G06F11/3055G06F11/3452G06F11/349
Inventor 魏鹏王彦凯黄瑜璇何刚
Owner 思澈科技(上海)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products