DSP and FPGA online upgrading method for embedded system

A technology of embedded system and upgrade mode, applied in the direction of instrument, calculation, electrical digital data processing, etc., can solve problems such as program complexity, achieve the effect of reducing complexity, solving online upgrade problems, and wide application prospects

Inactive Publication Date: 2016-03-02
中国船舶重工集团公司第七〇五研究所
View PDF7 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to overcome the shortcomings of the existing online upgrade method with complex programs, the present invention provides an online upgrade method for embedded system DSP and FPGA
Since the two programming algorithms are stored in the externally expanded FLASH of the DSP, and the working mode detection function is used to enable the DSP to directly load the corresponding programming algorithm from the externally expanded FLASH into the internal RAM and jump to its program entry point for execution, At the same time, it solves the online upgrade problem of embedded system DSP and FPGA firmware, and the programming algorithm is separated from the application program, which not only reduces the complexity of user application program design, but also does not occupy the limited internal program memory space of DSP

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
  • DSP and FPGA online upgrading method for embedded system
  • DSP and FPGA online upgrading method for embedded system
  • DSP and FPGA online upgrading method for embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] refer to Figure 1-3 . Embedded system DSP of the present invention and FPGA online upgrading method concrete steps are as follows:

[0015] 1. Preparatory work before implementation.

[0016] (a) Compile the DSP internal FLASH programming algorithm and the FPGA configuration chip programming algorithm into the RAM model application program of TMS320F28335, use the file format conversion tool to generate a custom format programming algorithm file, and burn it into the external expansion FLASH of the DSP board In the initial 8KB storage space;

[0017] (b) Include the main control board side upgrade function library in the application program of the main control board;

[0018] (c) Call the work mode detection function ExecIAP ( ) in the initialization stage of the DSP application program.

[0019] 2. Generate the upgrade file.

[0020] For the DSP upgrade file, use the file format conversion tool Coff2Bin.bat to parse and convert the TICOFF format *.out file compil...

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 DSP and FPGA online upgrading method for an embedded system, which is used for solving the technical problem of complex program of an existing online upgrading method. The technical scheme is that DSP or FPGA firmware required to be upgraded is uploaded to a main control board by an upper computer; the main control board executes a corresponding DSP or FPGA online upgrading function; a DSP board is reset after being upgraded online; and a new user program is reloaded and executed. Two programming algorithms are stored in an extended FLASH of a DSP, so that the DSP directly loads the corresponding programming algorithm to an internal RAM from the extended FLASH by utilizing a working mode detection function, and the programming algorithm skips to a program entry point to be executed; meanwhile, the online upgrading problem of the DSP and FPGA firmware of the embedded system is solved; and the programming algorithm is separated from an application, so that the complexity of user application design is lowered, and the space of a program memory in the DSP is not occupied.

Description

technical field [0001] The invention relates to an online upgrading method, in particular to an online upgrading method for embedded system DSP and FPGA. Background technique [0002] The document "Research on Online Upgrade Method of DSP28335 Program Based on PCI Bus, Digital Technology and Application, Issue 10, 2012, pp85+87" discloses an application of digital signal processor TMS320F28335 in an embedded system based on PCI bus The method for online upgrade of the program. The upgrade program designed by this method is divided into two parts, the upper computer terminal program and the DSP terminal core program. The upper computer terminal program mainly parses the DSP program to be downloaded into data packets according to the communication protocol, communicates with the DSP through the PCI bus, sends the program code to the DSP terminal core program, and finally controls the DSP terminal core program to program the program. . The DSP end-core program receives the d...

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/445
CPCG06F9/44557G06F9/44521
Inventor 赵润辉臧龙飞吴培明郝彬
Owner 中国船舶重工集团公司第七〇五研究所
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