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

Method for remote upgrade of digital signal processor (DSP) program

A remote upgrade and program technology, which is applied in the direction of program control device, program loading/starting, etc., can solve the problems of limited optional frequency of crystal oscillator, large loss of power failure, failure of serial port upgrade function, etc., and achieve low RAM capacity requirements and stable upgrade Reliable, no risk of power failure effect

Inactive Publication Date: 2015-12-23
GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +1
View PDF3 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The third-party auxiliary program C2Prog can be used to program TI’s C2000 series chips through serial communication. For third-party programs, users can add serial port upgrade modules to the code, receive binary executable file data from the serial port, store them in RAM, and flash and solidify them into FLASH after confirming that they are correct. The code implementation of this program is simple , does not require additional startup time, but requires high RAM capacity, and there is a possibility of power loss; in order to reduce the requirement for RAM capacity, FLASH programming can be performed while receiving binary executable files, and programming efficiency can also be improved. However, the possibility of power loss becomes greater and the reliability decreases
Once the power is lost during the FLASH programming process, the content writing fails, resulting in the failure of the serial port upgrade function, and only the JTAG port can be used to re-write
When judging whether to upgrade the serial port, a power-on delay method is generally adopted. When the DSP is started, it waits for the serial port upgrade command. If the upgrade command is not received, after a period of delay, it enters the main program and jumps when it receives the upgrade command. To the serial port upgrade program, the disadvantage is that it introduces additional startup time, which is not suitable for applications that require high startup time

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 remote upgrade of digital signal processor (DSP) program
  • Method for remote upgrade of digital signal processor (DSP) program
  • Method for remote upgrade of digital signal processor (DSP) program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The specific embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0035] DSP (Digital Signal Processor) remote upgrade system consists of DSP and EEPROM, as attached figure 1 shown. DSP and EEPROM chip 24AA64 are connected by I2C bus, only two wires are needed, the control method is simple, and the communication rate is high. The communication between DSP and PC is connected by MAX3232 chip conforming to RS-232 protocol.

[0036] SCIBootLoader is responsible for upgrading judgment after DSP starts and receiving CKFA (CommunicationKernelandFLASHAPI) data. Select SectorA in the FLASH of the DSP, write the code of starting mode judgment and SCI starting through TI's integrated development environment CCS, and download it to the specified SectorA through JTAG.

[0037] The workflow of SCIBootLoader is as follows figure 2 As shown, the system is initialized after the DSP is started, and then the ...

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 method for remote upgrade of a digital signal processor (DSP) program. The method comprises that (1) an SCI BootLoader module judges whether the DSP needs to upgrade according to an upgrade judgment flag bit in EEPROM, if the DSP program needs to be upgraded, the SCI BootLoader module is initialized and upper computer information is received, or the DSP program jumps to entrance of the main program, and the upgrade is over; (2) a CKFA module performs CSM deblocking, if the deblocking is successful, the automatic Baud rate detection is conducted and the upper computer information is received, received binary files are programmed to FLASH to verify programming results, and if the deblocking fails, the DSP program jumps to the entrance of the main program, and the upgrade is over; and (3) the upper computer is matched with the SCI BootLoader module and the CKFA module to perform the remote upgrade. According to the remote upgrade method, the remote upgrade can be performed without the opening of a protection box of the DSP system, and the remote upgrade method has the advantages of being convenient and flexible and easy to achieve. The extra boot time does not exist, the requirement for RAM capacity is low, the power off risk does not exist, and the upgrade is stable and reliable.

Description

technical field [0001] The invention relates to a method for updating a program, in particular to a method for remotely upgrading a DSP program. Background technique [0002] Digital signal processor (DSP) can realize various digital signal processing algorithms, has the characteristics of good stability and high precision, and is widely used in image processing, instrumentation, control, communication and other fields. Usually, the programming of DSP program is to download the program to FLASH through JTAG interface, which has the advantages of fast download speed, stability and reliability. But this program downloading method also has some limitations, such as the JTAG interface cannot realize long-distance programming. In order to meet the requirements of confidentiality and reliability, some systems have permanently sealed the protective box, reserved only communication and power ports, and also restricted program download and update through JTAG. [0003] There are ma...

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
Inventor 陈硕尉志勇侯继彪孙海江刘占元李璐郑天祥
Owner GLOBAL ENERGY INTERCONNECTION RES INST CO LTD
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