Supercharge Your Innovation With Domain-Expert AI Agents!

On-line debugging method for SoC system using HDL to expand serial port

A debugging method and serial port technology, applied in the field of embedded MCU simulation system, can solve problems such as inability to perform online debugging of the system, inability to monitor software running conditions, the condition of MCU internal registers, etc., so as to ensure authenticity, facilitate debugging, The effect of guaranteeing efficiency

Inactive Publication Date: 2007-07-04
BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the application needs to use two serial ports at the same time, this kind of debugging cannot be carried out. For example, the developer may use one serial port for 485 communication, and the other serial port to debug infrared devices. In this case, the system cannot be debugged online. , unable to monitor the running status of the software, the status of the MCU internal registers, etc.

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
  • On-line debugging method for SoC system using HDL to expand serial port
  • On-line debugging method for SoC system using HDL to expand serial port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described below in conjunction with the accompanying drawings.

[0020] When debugging the system program, first complete the hardware design of the SoC system, then design the corresponding software, and write the interface program and initialization program between the development tool and the target system. In the hardware design stage, the serial port circuit should be added first. Please refer to Figure 1. It is also necessary to modify the circuit including the JTAG controller so that it can form a selection mechanism with the serial port, which can be easily realized by adding a selector. The extended serial port circuit supports synchronous and asynchronous working modes. When working synchronously, the serial clock is generated by the CPU. The serial port works in half-duplex mode. When working asynchronously, the serial port works in full-duplex mode. Set a hold in the 8051 core The register SBUF PLUS, as shown in Figure ...

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 provides a method of expanding SoC system online debugging flexibly. During the cause of SoB (System on a Board) and embed system program development, the serial port resource of presexisting IP core is expanded, set the choice, with the convenience of FPGA repeatable arrangement, use can choose debugging mode of target system as his will according to the structure of FPGA simulating board, that is JTAG mode or serial port mode. When choosing serial port mode, the expanded serial port is used, not occupies the serial port resource. When program is debugged, the program can be written into the target memory. So the program debugging mode can be choose flexibly to realize the online debugging, and not occupy the serial port resource of the target system, the debugging efficiency of program is increased.

Description

technical field [0001] The invention relates to the field of embedded MCU simulation systems, in particular to a method for flexibly performing online debugging of software by using an FPGA system. Background technique [0002] With the development of IC design, changes in process and cost, SoC verification has become more and more important, especially the use of FPGA for prototyping has gradually become an indispensable part of successful SoC design. [0003] In the SoC embedded software debugging process including MCU (ARM, 51 single-chip microcomputer), using JTAG debugging is the most commonly used debugging method, JTAG debugging is completely non-intrusive (that is, does not use on-chip resources) debugging, it does not need to occupy the target memory, It does not occupy any port of the target system, and debugs the device through the JTAG boundary scan port of the MCU. Of course, this requires the processor to support JTAG debugging, which is a real-time online in-...

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/36
Inventor 陈波涛马依迪
Owner BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More