Online upgrading method for application program of DSP board card class

A technology of application programs and boards, applied in the direction of software deployment, etc., can solve problems such as inability to adjust the upgrade content according to the actual situation, and inapplicable boards

Pending Publication Date: 2020-10-30
TIANJIN JINHANG COMP TECH RES INST
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above method cannot adjust the upgrade content according to

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
  • Online upgrading method for application program of DSP board card class
  • Online upgrading method for application program of DSP board card class
  • Online upgrading method for application program of DSP board card class

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0128] Example 1

[0129] Such as figure 1 As shown, in order to solve the online upgrade problem of the DSP board in the embedded system, this embodiment adopts an implementation method based on the FlashAPI dynamic library. The content of this embodiment will be further described below.

[0130] 1. Divide the Flash address space

[0131] First, in the CMD file executed by the programming program, segment A of the Flash area (FlashA) is separated from the initial address (Begin) of the program entry. The division rules are:

[0132] ①The initial address cannot be the same as the default address jumped by Flash in the board;

[0133] ② Modify the address segment defined by codestart in the CMD file to Begin;

[0134] ③ Modify the program segment and global variable address segment in the CMD file to FlashA;

[0135] Then, start from the initial address to divide the monitoring program programming address segment and the application programming address segment to ensure that the address ...

Example Embodiment

[0189] Example 2

[0190] This embodiment provides an online upgrade method for DSP board-type application programs, which includes: (1) Divide the Flash address space, and determine the address space for monitoring programs and application programs;

[0191] (2) Load the FlashAPI dynamic library and use the dynamic library to access the Flash space for read and write operations to ensure read and write speed and safety;

[0192] (3) Convert the application .out file into a bin file, and convert the executable file of the application into a binary format that the serial port can send, so as to facilitate the next step of programming;

[0193] (4) Perform online upgrade process judgment within the specified time, monitor the execution status of the board and intelligently perform online upgrades.

[0194] Wherein, the steps (1), (2), (3) realize the preparation work for online upgrade.

[0195] Among them, the step (4) determines whether the user needs to perform online upgrades by settin...

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 belongs to the technical field of online application program upgrading under a DSP system, and particularly relates to an online upgrading method for an application program of a DSP board card class. The method comprises the following steps: firstly, dividing Flash address space according to a monitoring program and the application program; secondly, loading a dynamic library of theFlashAPI; then, converting an out file of the application program into a bin file; sending the binary data of the bin file to a monitoring program through a serial port for online upgrading; finally,if upgrading is required, writing and verifying the data by using FlashAPI, and if the operation fails, giving out error information to prompt a user; and if upgrading is not needed, setting specifiedtime to wait, and if related instructions are not received, skipping to an application program entry for execution by default. According to the scheme, online upgrading is carried out through FlashAPI, the read-write speed and safety are greatly improved, meanwhile, the serial port is used for receiving and sending data and verifying the data, the running state of the monitoring program is provided, and the legality of the data interaction process in the programming process is guaranteed.

Description

technical field [0001] The invention belongs to the technical field of online upgrading of application programs under a DSP system, and in particular relates to an online upgrading method of application programs of DSP boards. Background technique [0002] As TI's high-performance 32-bit floating-point DSP processor, TMS320F28335 has the characteristics of high precision, low cost, low power consumption, high performance, and high peripheral integration. It is often selected as a communication module node in practical applications. [0003] The current mature online upgrade method is to separate the online upgrade program from the application firmware, and use the dynamic memory to store the instruction code written into the upgrade firmware program for online upgrade. In addition, an area is divided in the terminal module to store the download program monitoring program variable, and the software is reset through the watchdog, and the monitoring program performs whether to ...

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): G06F8/65G06F8/61
CPCG06F8/65G06F8/63Y02D10/00
Inventor 高娟
Owner TIANJIN JINHANG COMP TECH RES INST
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