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

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 the actual situation, nor is it suitable for boards without dynamic memory

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

Embodiment 1

[0129] Such as figure 1 As shown, in order to solve the online upgrade problem of the DSP board under the embedded system, this embodiment adopts the 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 (FlashA) of the Flash area is divided into the initial address (Begin) of the program entry. The division rules are:

[0132] ①The initialization address cannot be the same as the default address of the Flash jump 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, divide the monitoring program programming address segment and the application program programming address segment from the initial address to ensure that the ad...

Embodiment 2

[0190] The present embodiment provides a kind of online upgrading method of the application program of DSP board class, comprises: (1) divides Flash address space, determines the address space that monitoring program and application program burn;

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

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

[0193] (4) Judging the online upgrade process within the specified time, monitoring the execution status of the board and intelligently performing online upgrade.

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

[0195] Wherein, said step (4) judges whether the user needs to c...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products