Method for interactively debugging parameters of internal memory controller of Loongson processor

A memory controller and interactive debugging technology, applied in the direction of program control device, program loading/starting, etc., can solve the problems of low efficiency and inflexible debugging process, so as to overcome inflexibility and avoid the process of compiling and programming firmware , Accelerate the effect of efficiency and flexibility

Active Publication Date: 2015-01-28
706 INST SECOND RES INST OF CHINAAEROSPACE SCI & IND
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method for interactive debugging of Loongson processor memory controller parameters, which can realize interactive debugging

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 interactively debugging parameters of internal memory controller of Loongson processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The present invention will be described in further detail below through specific examples. The following examples are only descriptive and non-restrictive, and cannot limit the protection scope of the present invention with this.

[0014] The method for interactively debugging the parameters of the memory controller of the Loongson processor of the present invention mainly modifies the contents of the registers of the Loongson memory controller according to the register index value of the Loongson memory controller. The register index of the memory controller refers to the address offset of the memory controller register in the memory controller. For example, the first register index value is 0, the second is 1, and so on. The Godson memory controller contains a total of 180 register; the register content of the memory controller refers to an 8-byte hexadecimal constant value.

[0015] figure 1 It is a flow chart of the method for interactively debugging parameters of ...

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 discloses a method for interactively debugging parameters of an internal memory controller of a Loongson processor. The method comprises the following steps of S1, loading basic internal memory configuration parameters; S2, judging whether to carry out internal memory training, if so, executing the step S3, and otherwise, directly jumping to the step S4; S3, carrying out the internal memory training; S4, judging whether the internal memory configuration parameters need to be corrected, and if the internal memory configuration parameters do not need to be continuously corrected, jumping to the step S7; S5, reading to-be-corrected register index values and register contents of the internal memory controller, and storing the register index values and the register contents into the internal memory controller of the processor; S6, jumping to the step S4; S7, storing the corrected contents of the internal memory controller into a flash memory.

Description

technical field [0001] The invention belongs to the technical field of Loongson processors, and in particular relates to a debugging method for memory controllers of Loongson processors. Background technique [0002] With the gradual improvement of the performance and stability of Loongson processors and the country's promotion and support for localization, computers based on Loongson processors began to be popularized and applied in various industries. Since the structure of the Loongson processor is different from that of the commercial X86 processor, the processor integrates a memory controller, and the stability and performance of the memory controller greatly affect the performance stability of the computer. When the processor on the computer motherboard When the layout of memory slots changes or the computer application environment changes, in order to ensure the efficient and stable operation of the whole machine, the configuration parameters of the memory controller ...

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
IPC IPC(8): G06F9/445
Inventor 濮约刚赵立伟孙大东杨帆
Owner 706 INST SECOND RES INST OF CHINAAEROSPACE SCI & IND
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