Serial port achievement method for segmented loading of DSP program

An implementation method and a technology of program segmentation, applied in the direction of program loading/starting, program control devices, instruments, etc., can solve problems such as lack of information interaction function, DSP and serial port loading software without establishing communication protocol, unable to identify DSP information, etc. , to achieve the effect of stable and reliable system, flexible program update and saving FLASH erasing time

Inactive Publication Date: 2018-01-09
HARBIN ENG UNIV
View PDF2 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, the currently used serial port loading software and DSP do not have the information interaction function, but the serial port loading software transmits data to the DSP one-way, and it is unknown whether the DSP receives the data normally, and it is impossible to recognize the information fed back by the DSP, because in the DSP There is no corresponding communication protocol established between the serial port loading software

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
  • Serial port achievement method for segmented loading of DSP program
  • Serial port achievement method for segmented loading of DSP program
  • Serial port achievement method for segmented loading of DSP program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Below in conjunction with accompanying drawing, the serial port realization method that a kind of DSP program segment loading provided by the present invention is described in further detail:

[0027] The present invention provides a serial port implementation method of DSP program segment loading, the hardware structure that this method relies on is as follows figure 1 shown. The control computer is connected to the FPGA through a serial interface. In addition to completing the task of signal processing itself, the FPGA is mainly used as an intermediary for data transmission to realize normal data transmission between the control computer and DSP. The FPGA is connected to the data transmission interface 1 of the DSP, and the FLASH external memory is connected to the data transmission interface 2 of the DSP. All the hardware modules in the figure are two-way transmission. The upper computer sends data and request commands to the DSP. At the same time, the DSP also feed...

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 serial port achievement method for segmented loading of a DSP program and belongs to the field of embedded device software program upgrading and updating methods. The serial port achievement method comprises the steps that a program is stored in a segmented mode by modifying a CMD file and is cured in FLASH for the first time through a JTAG simulator, then only a combinedsystem needs to be connected with an upper computer through a serial interface in follow-up debugging, the updated segmented programs are written into designated positions of the FLASH through serialport loading application software to achieve partial loading of the program, and a new complete program can run after re-powering-on reset. The program loading mode of the method is simple and easy, program updating is flexible, a development cycle is greatly shortened, the function upgrading capability of the combined system is enhanced, and even the phenomenon that a DSP is suddenly powered downoccurs in the program updating process, the DSP can normally execute undeleted program parts after being powered on again. Only FLASH address fields corresponding to the undeleted program parts are erased, and unnecessary FLASH erasing time is saved.

Description

technical field [0001] The invention provides a serial port realization method for segment loading of a DSP program, which belongs to the field of updating methods for software programs of embedded devices. Background technique [0002] With the development of signal processing technology and the continuous deepening of research, the combination of DSP and FPGA is generally used to realize signal processing at this stage, in which FPGA is responsible for signal acquisition, AD conversion, and extraction of signal parameters, etc., and DSP realizes the control of main functions, Calculate complex algorithms based on the information obtained by the FPGA, and transmit the calculation results to the display terminal. [0003] The main concern of the present invention is the storage and loading of DSP programs in the above-mentioned combined system. At present, DSP mainly uses external FLASH memory to store programs. After power-on, DSP can move the program code in FLASH to RAM ...

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): G06F9/445G06F13/10G06F13/42
Inventor 郜丽鹏王欢刁鸣
Owner HARBIN ENG UNIV
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