CN106648807A - FLASH memory based DSP(digital signal processing) software upload updating method - Google Patents
FLASH memory based DSP(digital signal processing) software upload updating method Download PDFInfo
- Publication number
- CN106648807A CN106648807A CN201710014679.3A CN201710014679A CN106648807A CN 106648807 A CN106648807 A CN 106648807A CN 201710014679 A CN201710014679 A CN 201710014679A CN 106648807 A CN106648807 A CN 106648807A
- Authority
- CN
- China
- Prior art keywords
- software
- dsp
- flash memory
- upload
- dsp software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a FLASH memory based DSP (digital signal processing) software upload updating method which includes the steps of S1, by an upper-level system, setting up software upload command frame information, sending the information to a computer and saving the information in a FLASH memory of the computer, and meanwhile, by original DSP software running on a DSP chip, generating uploaded software according to the software upload command frame information and saving the same in an SRAM memory of the computer, and then operating the uploaded software in the SRAM memory; S2, by the upper-level system, setting up new DSP software command frame information and sending the same to the computer, by the uploaded software, generating new DSP software according to the new DSP software command frame information and saving the same in the SRAM memory; S3, by the upper-level system, sending an erase command to the computer, and by the uploaded software, receiving the erase command and then erasing the original DSP software in the FLASH memory, and then writing the new DSP software saved in the SRAM memory into the FLASH memory; S4, loading the new DSP software saved in the FLASH memory to the DSP chip and then operating the new DSP software, thereby completing DSP software upload updating. The FLASH memory based DSP software upload updating method improves DSP software upload reliability and efficiency.
Description
Technical field
The present invention relates to software upload update method.More particularly, to a kind of dsp software based on FLASH memory
Upload update method.
Background technology
Existing DSP (Digital Signal Processing, Digital Signal Processing) software adopts eprom memory
As carrier storage program, need before system testing by software programming in eprom memory, when system testing is carried out,
The hardware unit of solidification dsp software by system decomposition, must be taken out if necessary to software upgrading, again programming eprom memory
Carry out the replacing of software.In recent years, dsp software is mostly stored in FLASH memory and run, but due to hardware interface not
Together, designed software upload method is also varied.Particularly, contain directly to enter FLASH memory in some dsp softwares
, there is the risk dsp software in FLASH memory deleted by mistake and is rewritten in row erasing and the operation for writing.
Accordingly, it is desirable to provide a kind of system integration small scale, improves dsp software and uploads reliability and efficiency based on FLASH
The dsp software of memory uploads update method.
The content of the invention
It is an object of the invention to provide a kind of dsp software based on FLASH memory uploads update method, DSP is solved
There is the risk being deleted by mistake and is rewritten when uploading and updating in software, realize to dsp software upload update moduleization with
Procedure is designed, and reaches the requirement of specification flow scheme design.
To reach above-mentioned purpose, the present invention adopts following technical proposals:
A kind of dsp software based on FLASH memory uploads update method, and the method comprises the steps:
Upload software order frame information is organized and set up to S1, upper system according to the frame format of upload software, and will upload
Software command frame information is sent to computer, is stored in the FLASH memory of computer and in the former DSP of dsp chip operation
Software generates upload software and upload software is stored in the SRAM memory of computer according to upload software order frame information
In fixed cell, upload software is run in SRAM memory afterwards;
New dsp software order frame information is organized and set up to S2, upper system according to the frame format of new dsp software, and will be new
Dsp software order frame information is sent to computer, and upload software generates new dsp software simultaneously according to new dsp software order frame information
New dsp software is stored in SRAM memory;
S3, upper system send erasing order to computer, and upload software is received in FLASH memory after erasing order
Former dsp software erasing, afterwards by SRAM memory new dsp software write FLASH memory in;
S4, the new dsp software that will be stored in FLASH memory are loaded into dsp chip and run, and complete on dsp software
Pass and update.
Preferably, the connection between upper system and computer is realized using bus communication cable.
Preferably, step S2 also comprises the steps:Upload software reads new dsp software from SRAM memory and sends
To upper system.
Preferably, step S3 also comprises the steps:Upper system by receive new dsp software and new dsp software order
Frame information is compared, and erasing order is sent if comparing correctly to computer.
Preferably, step S3 also comprises the steps:Upload software judges whether erasing is correct, by SRAM if correct
New dsp software in memory writes in FLASH memory and will wipe and write result and is sent to upper system.
Preferably, step S4 also comprises the steps:Upper system receives erasing and writes computer is performed after result
Reboot operation, will be stored in the new dsp software in FLASH memory and is loaded into operation in dsp chip, complete dsp software upload
Update.
Preferably, step S4 also comprises the steps:The upload software and new DSP for deleting storage in SRAM memory is soft
Part.
Beneficial effects of the present invention are as follows:
Technical scheme system integration small scale of the present invention, improves dsp software and uploads reliability and efficiency.
Description of the drawings
The specific embodiment of the present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 illustrates that the dsp software based on FLASH memory uploads update method application schematic diagram.
Specific embodiment
In order to be illustrated more clearly that the present invention, the present invention is done further with reference to preferred embodiments and drawings
It is bright.Similar part is indicated with identical reference in accompanying drawing.It will be appreciated by those skilled in the art that below institute is concrete
The content of description is illustrative and be not restrictive, and should not be limited the scope of the invention with this.
As shown in figure 1, the dsp software based on FLASH memory that the present embodiment is provided uploads update method to be applied to fly
Row device control system, flight control system includes flying vehicles control computer 100 and ground testing system 200, aircraft control
Computer processed 100 includes dsp chip 101, SRAM memory 102 and FLASH memory 103, and SRAM memory 102 passes through bus
Communication cable 300 connects ground testing system 200;
Ground testing system 200 makees the upper system of flying vehicles control computer 100, believes with bus communication system tissue
The function of breath transmission, respective bus communication and control function are carried out by bus communication cable to flying vehicles control computer 100,
Complete the upload to dsp software to update.
FLASH memory 103 stores dsp software, the storage upload software of SRAM memory 102 and new dsp software.
When starting flying vehicles control computer 100, the former dsp software being stored in FLASH memory 103 is automatically loaded into
Run in dsp chip 101, wait the order of ground testing system 200.
The dsp software based on FLASH memory that the present embodiment is provided uploads update method and comprises the steps:
S1, ground testing system 200 are organized according to the frame format of upload software and set up upload software order frame information, and
Upload software order frame information is sent into flying vehicles control computer 100 by bus communication cable 300, FLASH is stored in
In memory 103 and in the former dsp software reception upload software order frame information of the operation of dsp chip 101, according to upload software
Order frame information generates upload software and upload software is stored in the fixed cell of SRAM memory 102, then in startup
Software is passed, upload software is run in SRAM memory 102;
New dsp software order frame information is organized and set up to S2, ground testing system 200 according to the frame format of new dsp software,
And frame by frame new dsp software order frame information is sent into flying vehicles control computer 100 by bus communication cable 300, store
The upload software run in SRAM memory 102 and in SRAM memory 102 receives new dsp software order frame information, according to
New dsp software order frame information generates new dsp software and new dsp software is stored in SRAM memory 102, and deposits from SRAM
New dsp software is read in reservoir 102, under the new dsp software that will be read ground testing system 200 is passed to;
S3, ground testing system 200 are by the new dsp software for receiving and the new dsp software order frame information that most begins setting up
Compare, erasing order is sent if comparing correctly to flying vehicles control computer 100, be stored in SRAM memory 102
In and after the upload software of the operation of SRAM memory 102 receives erasing order by the former dsp software in FLASH memory 103
Erasing, judges whether erasing is correct, if erasing is correct, by the new dsp software write FLASH storages in SRAM memory 102
In device 103, and will erasing and write result be sent to ground testing system 200;
S4, ground testing system 200 are received after the erasing of upload software transmission and write result, and flying vehicles control is calculated
Machine 100 performs reboot operation, after restarting, is automatically deleted the upload software and new dsp software stored in SRAM memory 102, deposits
New dsp software of the storage in FLASH memory 103 is automatically loaded into dsp chip 101 and runs, and completes dsp software and uploads more
Newly.
Obviously, the above embodiment of the present invention is only intended to clearly illustrate example of the present invention, and is not right
The restriction of embodiments of the present invention, for those of ordinary skill in the field, may be used also on the basis of the above description
To make other changes in different forms, all of embodiment cannot be exhaustive here, it is every to belong to this
Obvious change that bright technical scheme is extended out changes row still in protection scope of the present invention.
Claims (7)
1. a kind of dsp software based on FLASH memory uploads update method, it is characterised in that the method comprises the steps:
S1, upper system are organized according to the frame format of upload software and set up upload software order frame information, and by upload software
Order frame information is sent to computer, is stored in the FLASH memory of computer and in the former dsp software of dsp chip operation
Upload software is generated according to upload software order frame information and upload software is stored in the fixation of the SRAM memory of computer
In unit, upload software is run in SRAM memory afterwards;
S2, upper system are organized according to the frame format of new dsp software and set up new dsp software order frame information, and new DSP is soft
Part order frame information is sent to computer, and upload software generates new dsp software and by newly according to new dsp software order frame information
Dsp software is stored in SRAM memory;
S3, upper system send erasing order to computer, and upload software is received the original in FLASH memory after erasing order
Dsp software is wiped, afterwards by the new dsp software write FLASH memory in SRAM memory;
S4, the new dsp software that will be stored in FLASH memory are loaded into dsp chip and run, and complete dsp software and upload more
Newly.
2. the dsp software based on FLASH memory according to claim 1 uploads update method, it is characterised in that adopt
Bus communication cable realizes the connection between upper system and computer.
3. the dsp software based on FLASH memory according to claim 1 uploads update method, it is characterised in that step
S2 also comprises the steps:Upload software reads new dsp software from SRAM memory and is sent to upper system.
4. the dsp software based on FLASH memory according to claim 3 uploads update method, it is characterised in that step
S3 also comprises the steps:Upper system compares the new dsp software for receiving with new dsp software order frame information, if
The correct erasing order that then sends is compared to computer.
5. the dsp software based on FLASH memory according to claim 1 uploads update method, it is characterised in that step
S3 also comprises the steps:Upload software judges whether erasing is correct, by the new dsp software in SRAM memory if correct
Write in FLASH memory and will wipe and write result and be sent to upper system.
6. the dsp software based on FLASH memory according to claim 5 uploads update method, it is characterised in that step
S4 also comprises the steps:Upper system receives erasing and writes and perform reboot operation to computer after result, will be stored in
New dsp software in FLASH memory is loaded into dsp chip and runs, and completes dsp software and uploads renewal.
7. the dsp software based on FLASH memory according to claim 6 uploads update method, it is characterised in that step
S4 also comprises the steps:Delete the upload software and new dsp software stored in SRAM memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710014679.3A CN106648807B (en) | 2017-01-10 | 2017-01-10 | DSP software uploading and updating method based on FLASH memory |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710014679.3A CN106648807B (en) | 2017-01-10 | 2017-01-10 | DSP software uploading and updating method based on FLASH memory |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106648807A true CN106648807A (en) | 2017-05-10 |
| CN106648807B CN106648807B (en) | 2020-12-01 |
Family
ID=58843860
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710014679.3A Active CN106648807B (en) | 2017-01-10 | 2017-01-10 | DSP software uploading and updating method based on FLASH memory |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106648807B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109634623A (en) * | 2018-12-12 | 2019-04-16 | 山东管理学院 | Operation method is infused in program based on DSP |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7111292B2 (en) * | 2001-09-10 | 2006-09-19 | Texas Instruments Incorporated | Apparatus and method for secure program upgrade |
| WO2007035811A1 (en) * | 2005-09-20 | 2007-03-29 | Qualcomm Incorporated | Hardware-assisted device configuration detection |
| CN101183314A (en) * | 2007-12-11 | 2008-05-21 | 中国科学院长春光学精密机械与物理研究所 | A Method for Realizing Online Programming of Digital Signal Processor Program |
| CN101287256A (en) * | 2008-05-23 | 2008-10-15 | 南京邮电大学 | System structure and control method of terminal reconfiguration in end-to-end reconfiguration environment |
| CN101452393A (en) * | 2008-12-29 | 2009-06-10 | 中国科学院长春光学精密机械与物理研究所 | DSP2812 program on-line upgrading method based on PCI bus |
| CN102520976A (en) * | 2011-11-17 | 2012-06-27 | 四川九洲电器集团有限责任公司 | Solidifying method of DSP (digital signal processor) program |
| CN102999350A (en) * | 2012-10-24 | 2013-03-27 | 绵阳市维博电子有限责任公司 | FPGA (field-programmable gate array) program upgrading and online downloading method in digital signal processing platform |
| CN103257880A (en) * | 2013-05-30 | 2013-08-21 | 航天恒星科技有限公司 | Remote application program on-line updating method based on DSP |
| WO2014006451A1 (en) * | 2012-07-03 | 2014-01-09 | Freescale Semiconductor, Inc. | Data path configuration component, signal processing device and method therefor |
| CN104407878A (en) * | 2014-10-20 | 2015-03-11 | 北京航天发射技术研究所 | On-line upgrading method of C6000 digital signal processor |
| US9098370B2 (en) * | 2010-11-08 | 2015-08-04 | Cbs Interactive, Inc. | Apparatus and methods for improving uninstall process |
-
2017
- 2017-01-10 CN CN201710014679.3A patent/CN106648807B/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7111292B2 (en) * | 2001-09-10 | 2006-09-19 | Texas Instruments Incorporated | Apparatus and method for secure program upgrade |
| WO2007035811A1 (en) * | 2005-09-20 | 2007-03-29 | Qualcomm Incorporated | Hardware-assisted device configuration detection |
| CN101183314A (en) * | 2007-12-11 | 2008-05-21 | 中国科学院长春光学精密机械与物理研究所 | A Method for Realizing Online Programming of Digital Signal Processor Program |
| CN101287256A (en) * | 2008-05-23 | 2008-10-15 | 南京邮电大学 | System structure and control method of terminal reconfiguration in end-to-end reconfiguration environment |
| CN101452393A (en) * | 2008-12-29 | 2009-06-10 | 中国科学院长春光学精密机械与物理研究所 | DSP2812 program on-line upgrading method based on PCI bus |
| US9098370B2 (en) * | 2010-11-08 | 2015-08-04 | Cbs Interactive, Inc. | Apparatus and methods for improving uninstall process |
| CN102520976A (en) * | 2011-11-17 | 2012-06-27 | 四川九洲电器集团有限责任公司 | Solidifying method of DSP (digital signal processor) program |
| WO2014006451A1 (en) * | 2012-07-03 | 2014-01-09 | Freescale Semiconductor, Inc. | Data path configuration component, signal processing device and method therefor |
| CN102999350A (en) * | 2012-10-24 | 2013-03-27 | 绵阳市维博电子有限责任公司 | FPGA (field-programmable gate array) program upgrading and online downloading method in digital signal processing platform |
| CN103257880A (en) * | 2013-05-30 | 2013-08-21 | 航天恒星科技有限公司 | Remote application program on-line updating method based on DSP |
| CN104407878A (en) * | 2014-10-20 | 2015-03-11 | 北京航天发射技术研究所 | On-line upgrading method of C6000 digital signal processor |
Non-Patent Citations (2)
| Title |
|---|
| HUANG HUAWEI ET AL: "In-System Programming Outer-Chip Flash of DSP with Ethernet Interface", 《2009 WRI WORLD CONGRESS ON COMPUTER SCIENCE AND INFORMATION ENGINEERING》 * |
| 袁彦: "基于多DSP的嵌入式软件远程更新方法", 《2011年声频工程学术交流年会》 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109634623A (en) * | 2018-12-12 | 2019-04-16 | 山东管理学院 | Operation method is infused in program based on DSP |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106648807B (en) | 2020-12-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109656593B (en) | Method for realizing remote upgrading of FPGA (field programmable Gate array) program based on ZYNQ (z-YNQ) chip | |
| CN102629206B (en) | A kind of method for updating embedded system software and system | |
| CN105893090B (en) | A kind of embedded system BOOTROM and application program updating method | |
| CN104063257B (en) | A kind of FPGA automatic loading system and method | |
| CN105808292A (en) | Firmware upgrade method of embedded terminal device | |
| CN106909352A (en) | A kind of firmware upgrade method of embedded device | |
| US20120198292A1 (en) | Test apparatus and test method | |
| CN101650662A (en) | Memory device of embedded system and staring method and upgrading of firmware | |
| CN108958774A (en) | Module updating method and module to be upgraded in UAV system | |
| CN111813432B (en) | FPGA configuration upgrading method and FPGA platform | |
| CN103324507A (en) | Method and apparatus for updating terminal preset application program | |
| US8898420B2 (en) | Non-volatile storage device and a memory controller controlling parity tables of recording regions of the non-volatile storage device | |
| CN106970778B (en) | An online configuration method and system of an embedded device based on FPGA | |
| CN117850857A (en) | FPGA program upgrading method | |
| CN106648807A (en) | FLASH memory based DSP(digital signal processing) software upload updating method | |
| US10732887B2 (en) | Cable modem and operating method thereof | |
| CN111052075A (en) | Method for improving in-place firmware updating robustness | |
| CN109597639A (en) | A kind of method for upgrading software, device, equipment and medium | |
| CN101131649A (en) | Updating speed improving method for read-only memory of device with flash memory | |
| US6839287B2 (en) | Method of storing a quantity of data in a target memory location and storage system | |
| CN117098105A (en) | Firmware upgrading method, device and system for embedded equipment cluster | |
| CN114625388A (en) | Internet of things MCU (microprogrammed control Unit) air firmware upgrading system and method | |
| CN103777955A (en) | Method and device for installing and operating Unix-like in Windows environment | |
| CN109347937A (en) | A kind of intelligent remote upgrade method applied to video monitoring equipment | |
| CN113535204A (en) | FPGA (field programmable Gate array) online upgrading method based on Flash reconstruction technology |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |