SMI interface device debugging apparatus and method
An interface and device technology, applied in the field of debugging devices for SMI interface devices, can solve problems such as limitations, inability to quickly locate faults, and no significant improvement in R&D efficiency, and achieve the effect of quickly locating faults, facilitating debugging, and improving R&D efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] 本发明实施例提供一种SMI接口器件的调试装置,如 figure 1 所示,所述装置包括:PC接口、处理器、以及SMI线缆接口;其中:
[0039] PC接口,用于接入上位机;
[0040] SMI线缆接口用于接入被调试SMI接口器件;
[0041] 处理器,用于接收通过所述PC接口接入本调试装置的上位机发送的指令,将所述指令转换为SMI格式数据,并将所述SMI格式数据通过模拟的SMI接口发送至通过所述SMI线缆接口连接至本调试装置的被调试SMI接口器件;以及通过模拟的SMI接口接收所述被调试SMI接口器件执行所述指令后反馈的信息,解析该信息,提取出有用信息后将其发送至所述上位机。
[0042] 本实施例中,所述处理器通过将其使用的通信接口一路模拟为时钟信号接口、一路模拟为数据接口的方式,实现对SMI接口的模拟。其中,通信接口包括但不限于为IO接口。
[0043]Further, in this embodiment, the types of instructions sent by the host computer include: a read register instruction and a write register instruction; when the instruction is a read register instruction, the address information of the register is included in the instruction; when the instruction is a write register instruction Instruction, the instruction includes the data written into the register and the address information of the register.
[0044] In a preferred embodiment of the present invention, considering that the types of interfaces supported by the processor may be ...
Embodiment 2
[0055] An embodiment of the present invention provides a debugging device for an SMI interface device. In the debugging device, a single-chip microcomputer system is used as a processor for implementation. Specifically, the debugging device for an SMI interface device described in this embodiment is as follows: figure 2 As shown, including: single-chip microcomputer system, interface conversion chip, PC interface, level matching module, SMI cable interface.
[0056] Among them, the type of the PC interface is usually a USB interface or an RS232 interface, and the PC interface is an external interface for the host computer to connect to the debugging device;
[0057] The interface conversion chip is arranged between the PC interface and the single-chip microcomputer system, which can realize the conversion function from the UART interface supported by the single-chip microcomputer system to the USB / RS232 interface;
[0058] The single-chip microcomputer system, as the core pro...
Embodiment 3
[0087] An embodiment of the present invention provides a debugging method for implementing an SMI interface device using the debugging device described in Embodiment 1 or 2, such as Figure 5 shown, including:
[0088] Step S501, during debugging, the processor converts the instructions of the upper computer imported from the PC interface side into SMI format data;
[0089] In this step, the instruction type of the host computer includes: a read register instruction and a write register instruction;
[0090] When the instruction is a register read instruction, the instruction includes address information of the register; when the instruction is a write register instruction, the instruction includes data written into the register and address information of the register.
[0091] Step S502, the processor sends the SMI format data to the SMI cable interface through the simulated SMI interface, so as to send the SMI format data to the debugged SMI interface device through the SMI...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com