Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing online debugging on application codes of 51 soft core

A technology of application code and soft core, applied in the field of single-chip microcomputer debugging, can solve problems such as the difficulty of finding software errors, the inability to use 51 soft cores, and high requirements for developers, and achieve the effect of shortening the cycle of system development

Inactive Publication Date: 2012-09-12
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] It can be seen from the above development process that the development process of the MC8051 core in practical applications is time-consuming and laborious:
[0011] 1) Any small change in the code requires the developer to start over from the first step to generate the hex file;
[0012] 2) There are too many intermediate steps. If there is an error, it is difficult to judge which step in the development process is wrong.
It may also be an error in the MCU code, or a file conversion error, or an error in the FPGA code
[0013] 3) Developers cannot monitor the changes of 8051 internal registers and variables in real time, which makes it difficult to find software errors
[0014] 4) The requirements for developers are high, and developers need to master not only the use of 51 development tools, but also the use of FPGA development tools
And 51 soft cores such as MC8051 core are different from the 51 single-chip microcomputers of general entities because they are the nature of the soft MCU core. The existing Monitor-51 online debugging method for 51 single-chip microcomputers cannot be used for 51 soft cores

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
  • Method for realizing online debugging on application codes of 51 soft core
  • Method for realizing online debugging on application codes of 51 soft core
  • Method for realizing online debugging on application codes of 51 soft core

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Taking the MC8051 core as an example, in order to realize the online simulation debugging of the MC8051 core, the following four aspects of work need to be completed:

[0033] 1. Change the Harvard structure to the von Leumann structure: Since the essence of online simulation is to monitor the operation of user code through the Monitor-51 code, a readable and writable code space is required. The ordinary MC8051 core is a Harvard structure in which the read-only code space and the readable and writable data space are separated, so the storage structure of the MC8051 core will be modified to a Von Leumann structure, that is, the combined code space and data space are unified and readable storage space for writing.

[0034] 2. Modification of Monitor-51: Modify the serial port baud rate used in Monitor-51; allocate RAMx, the external storage space of 51 soft core, divide the user program space and user external data space, monitor-51 monitoring program and monitoring progr...

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 for realizing online debugging on application codes of a 51 soft core. The method comprises the following steps: by modification of the 51 soft core and a Monitor-51, merging an independent external data space of the 51 soft core with a code space to form a unified readable-writable external memory space RAMx and generate an FPGA (field programmable gate array) configuration data file containing the 51 soft core; downloading the FPGA configuration data file containing the 51 soft core into an FPGA, thereby realizing online debugging on the application codes of the 51 soft core. The method is practical and feasible; the development period of a programmable system-on-chip based on the 51 soft core is shortened greatly; and the method is applicable to MC8051 cores and other 51 soft cores.

Description

technical field [0001] The invention relates to electronic computer technology, in particular to single-chip microcomputer debugging technology. Background technique [0002] With the development of Field Programmable Logic Array (FPGA) and Electronic Design Automation (EDA) technologies, million-gate FPGAs, reconfigurable embedded MCUs, complex IP cores (Intellectual Property cores) and various functions The emergence of powerful EDA tools has made it possible to integrate MCU, memory and some peripheral circuits into one chip. With the application of IP core technology in FPCA, especially the development of MCU IP core technology. Various embedded MCU soft cores with different performances have appeared. [0003] MCS-51 series MCU is currently the most powerful 8-bit MCU with the longest application time, the most popular, and the most available application materials. The establishment of 8051MCU's comprehensive IP core has greatly promoted the application of various em...

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/26
Inventor 唐续王嘉蒲晓蓉魏平董平
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products