CN103729202A - DSP reliable on-line FLASH programming method based on GEL script - Google Patents

DSP reliable on-line FLASH programming method based on GEL script Download PDF

Info

Publication number
CN103729202A
CN103729202A CN201210385706.5A CN201210385706A CN103729202A CN 103729202 A CN103729202 A CN 103729202A CN 201210385706 A CN201210385706 A CN 201210385706A CN 103729202 A CN103729202 A CN 103729202A
Authority
CN
China
Prior art keywords
dsp
gel
programming
flash
script
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.)
Pending
Application number
CN201210385706.5A
Other languages
Chinese (zh)
Inventor
伍良才
杨帆
刘莉
桑茂华
龚志远
苏铁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AVIC Chengdu Aircraft Design and Research Institute
Original Assignee
AVIC Chengdu Aircraft Design and Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by AVIC Chengdu Aircraft Design and Research Institute filed Critical AVIC Chengdu Aircraft Design and Research Institute
Priority to CN201210385706.5A priority Critical patent/CN103729202A/en
Publication of CN103729202A publication Critical patent/CN103729202A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention belongs to an unmanned plane flying control system and relates to a DSP reliable on-line FLASH programming method based on a GEL script. According to the method, the following processes are automatically achieved through the GEL script, namely a code segment and a data segment of a DSP target project executable file are stored in a local hard disk first, then the code segment and the data segment of the DSP target project executable file in the local hard disk are loaded into a DSP piece external RAM, finally an executable file of a DSP programming FLASH project is loaded into the RAM, the project carries out CRC on the code segment and the data segment which are loaded to the DSP piece external RAM, the checking results are written into the piece external RAM together, then the data segment and the code segment are programmed into a FLASH, a programmed FLASH space is checked, checking results are compared with the checking results in the piece external RAM, if the results are equal, programming is right, otherwise, programming is wrong, and the programming process and the programming results are displayed in a CCS interface.

Description

A kind of reliable online FLASH programming method of DSP based on GEL script
Technical field
The present invention relates to a kind of DSP(digital signal processor) technology, especially a kind of DSP of utilization fires the method for FLASH online.
Background technology
At present, DSP has been widely used in radio communication, speech recognition, multimedia, internet and national defence field with its powerful real time data processing ability.As first releasing the Texas Instruments of first item DSP (Texas Instrument is called for short TI) in the world, constantly weed out the old and bring forth the new especially, improve development environment, with its considerable strength, in the industry cycle obtained the market share of 50% left and right.In the DSP of its numerous money models, TI is classified as the good and promising DSP of the market sales volume three large series and widelys popularize, and TI is also referred to as three large platforms.This three large series DSP is beyond not only hardware configuration, market orientation and application are not quite similar, and as the FLASH storer of its basic configuration, is also each has something to recommend him in line writing mode:
1.TMS320C2000 series, needn't specialize programming software, and the FLASH programming plug-in unit that utilizes TI to provide can be realized very easily FLASH programming in CCS, but only supports FLASH or specific FLASH model that it is built-in, there is no versatility;
2.TMS320C5000 and TMS320C6000 series, does not have the erasable instrument of ready-made FLASH to use, and needs the programming engineering of the own write specialized of developer to realize, but often operation copies loaded down with trivial detailsly, intelligent not, and easily makes mistakes.
Raising due to chip manufacturing process, chip integration is more and more higher, and FLASH storer is also to miniaturization, SMD development, thereby it is difficult to use traditional programmable device to carry out programming programming, therefore, by DSP emulator, undertaken almost becoming unique selection at line writing.
Integrating and developing platform (CCS) the support general extension script (GEL) that TI company provides for DSP exploitation, this is the interpreted language of a kind C, developer can use the function of this script customization and expansion CCS, to meet own specific demand, the design uses GEL script by each link robotization of programming process just, and connect together in order, realize its one-touch intellectualized operation.
Summary of the invention
The object of the invention is: the object of the invention is that curing for DSP program of the prior art exists complex operation, easily makes mistakes, the problem of portability and poor reliability, provide the FLASH of a kind of novel DSP based on GEL script in line writing scheme.
Technology contents of the present invention is: a kind of reliable online FLASH programming method of DSP based on GEL script, comprises following steps:
Step 1. is loaded into GEL script file in CCS, the executable file of DSP target engineering is loaded into by emulator in the internal memory of DSP, then by the GEL_MemorySave function in the GEL script loading, the code segment of target engineering and data segment is read and is saved in local computing hard disk.
Step 2. is called GEL_MemoryLoad function and by emulator, the code segment in local computing hard disk and data segment is loaded in the outer RAM of DSP sheet.
Step 3. is called GEL_Load function the coff file of programming FLASH in local computing hard disk is loaded in DSP internal memory, then calls GEL_Run function and controls its operation.
GEL function in described above 3 steps integrates by GEL key word hotmenu, realizes operating in a key.
Advantage of the present invention is:
Use improved three remaining flight control computer board monitoring form annual reporting laws provided by the present invention, have following advantage:
1, improve hardware resource utilization
Fault detail can be navigated to reception buffer zone fault and still send buffer fault, only excise out of order hardware capability parts, and the hardware capability parts that do not break down can continue to use, can because of the fault of a hardware component, not cause healthy functional part cut, improve to greatest extent the utilization factor of hardware resource, correspondingly improved stability, the safety and reliability of whole system;
1, automatically perform each step of programming, save set time
Traditional DSP is carrying out FLASH while solidifying, the flashburn plug-in unit providing except C2000 series YouTI company can directly be used, all that software developer oneself writes FLASH programming engineering, then manual operations step by step, first target engineering binary file is led on computer hard disc by hand, again in the manual datarams space that imports DSP or use instrument convert thereof into specific format compiling link together with programming engineering, then with programming engineering, be loaded in DSP memory headroom, then programming is in the formulation address space of FLASH, the present invention uses GEL script that all steps are cascaded in order, automatically complete whole process, saved set time,
2, simple to operate clear, do not need to possess dsp software development Experience
DSP was carrying out FLASH while solidifying in the past, because manual operations entirely need to have certain understanding and experience to dsp software Development Engineering, so the FLASH of DSP solidifies and oneself completed by dsp software developer substantially.The novel curing operating in a key of FLASH of having realized of this use, does not need the experience and the professional knowledge that possess dsp software exploitation can be cured work yet;
3, utilize the CRC check inspection of programming data source and target, guaranteed the reliability of solidification process
FLASH programming process consists of suddenly a series of small steps, must guarantee correctly, and the consistance of programming file destination and source file, this is its most basic principle.CRC check is the error-check that a kind of maturation is general, is widely used in the communications field.This use is novel carries out CRC check and inspection to source file and fixed line to the file destination in FLASH in programming process, guarantees correctness and the reliability of whole programming process.
Accompanying drawing explanation
The automatic programming schematic flow sheet of Fig. 1 FLASH;
Fig. 2 FLASH programming schematic diagram;
Fig. 3 embodiment of the present invention process flow diagram.
Embodiment
DSP program Solidification method of the present invention specifically comprises following steps:
Step 1. is loaded into the general target formatted file (COFF) that needs programming to generate to the target engineering compiling link in FLASH in the memory headroom of DSP in CCS; The GEL function access DSP internal memory that uses GEL wscript.exe that CCS provides to provide, reads out the code segment of target engineering and data segment respectively, with the form of data file, is kept in computer hard disc;
Step 2. is used another GEL function that imports fixed disk file these two data Piece file mergences to be imported to later in the non-start-up code memory headroom of DSP, now, the code segment of target engineering and data segment are by the complete internal storage data space that has imported to DSP, and they can be used as data and are accessed by DSP;
Step 3., by loading GEL function, is loaded into the binary file carried out of being responsible for programming FLASH in the startup memory headroom of DSP, treats programming data area internal memory and carries out CRC check, and CRC check result is write in last unit of this internal memory; By GEL function, control the code of dsp operation programming FLASH, according to treating programming datarams area size, wipe FLASH, and the internal storage data region for the treatment of programming is all write in FLASH; Programming is carried out to CRC check to the data in FLASH, check that whether programming is correct, and echo result upgrade programming journal file;
Above step is all called GEL canonical function by GEL script and is automatically realized, do not need manual intervention, after this script is finished writing, form with menu button is integrated in CCS development environment, developer only need to click this button in the GEL of CCS expanded menu hurdle, just can automatically complete the function of FLASH programming and CRC check.

Claims (2)

1. the reliable online FLASH programming method of the DSP based on GEL script, is characterized in that, comprises following steps:
Step 1. is loaded into GEL script file in CCS, the executable file of DSP target engineering is loaded into by emulator in the internal memory of DSP, then by the GEL_MemorySave function in the GEL script loading, the code segment of target engineering and data segment is read and is saved in local computing hard disk;
Step 2. is called GEL_MemoryLoad function and by emulator, the code segment in local computing hard disk and data segment is loaded in the outer RAM of DSP sheet;
Step 3. is called GEL_Load function the coff file of programming FLASH in local computing hard disk is loaded in DSP internal memory, then calls GEL_Run function and controls its operation.
2. the reliable online FLASH programming method of a kind of DSP based on GEL script as claimed in claim 1, is characterized in that, comprises following steps:
GEL function in described above 3 steps integrates by GEL key word hotmenu, realizes operating in a key.
CN201210385706.5A 2012-10-12 2012-10-12 DSP reliable on-line FLASH programming method based on GEL script Pending CN103729202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210385706.5A CN103729202A (en) 2012-10-12 2012-10-12 DSP reliable on-line FLASH programming method based on GEL script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210385706.5A CN103729202A (en) 2012-10-12 2012-10-12 DSP reliable on-line FLASH programming method based on GEL script

Publications (1)

Publication Number Publication Date
CN103729202A true CN103729202A (en) 2014-04-16

Family

ID=50453288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210385706.5A Pending CN103729202A (en) 2012-10-12 2012-10-12 DSP reliable on-line FLASH programming method based on GEL script

Country Status (1)

Country Link
CN (1) CN103729202A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302618A (en) * 2015-12-05 2016-02-03 中国航空工业集团公司洛阳电光设备研究所 Rapid programming method for ASAAC standard digital signal processing module
CN106201636A (en) * 2016-08-11 2016-12-07 中国电子科技集团公司第二十九研究所 A kind of DSP off-chip code dynamic loading method and device
CN110955447A (en) * 2019-11-14 2020-04-03 北京航天时代激光导航技术有限责任公司 Multi-sector programming and checking method for laser inertial measurement unit coefficient based on programming module
CN111045734A (en) * 2019-11-19 2020-04-21 中国航空工业集团公司西安航空计算技术研究所 Software and hardware program one-key curing system and method based on IMA platform
CN114296700A (en) * 2021-12-08 2022-04-08 成都恩菲特科技有限公司 DSP engineering transplanting method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499014A (en) * 2009-03-11 2009-08-05 熊猫电子集团有限公司 Method for on-line burning large-capacity or multiple FLASH files by DSP

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499014A (en) * 2009-03-11 2009-08-05 熊猫电子集团有限公司 Method for on-line burning large-capacity or multiple FLASH files by DSP

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
伍良才: "基于VB的DSP flash在线擦写工具设计", 《中国高新技术企业》 *
孙秋生等: "基于CCS的DSP片外Flash直接烧写设计", 《电子设计工程》 *
王海涛等: "基于C语言和GEL语言的Flash编程新方法", 《单片机与嵌入式系统应用》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302618A (en) * 2015-12-05 2016-02-03 中国航空工业集团公司洛阳电光设备研究所 Rapid programming method for ASAAC standard digital signal processing module
CN106201636A (en) * 2016-08-11 2016-12-07 中国电子科技集团公司第二十九研究所 A kind of DSP off-chip code dynamic loading method and device
CN106201636B (en) * 2016-08-11 2019-03-26 中国电子科技集团公司第二十九研究所 A kind of outer code dynamic loading method of DSP piece and device
CN110955447A (en) * 2019-11-14 2020-04-03 北京航天时代激光导航技术有限责任公司 Multi-sector programming and checking method for laser inertial measurement unit coefficient based on programming module
CN111045734A (en) * 2019-11-19 2020-04-21 中国航空工业集团公司西安航空计算技术研究所 Software and hardware program one-key curing system and method based on IMA platform
CN111045734B (en) * 2019-11-19 2023-09-01 中国航空工业集团公司西安航空计算技术研究所 IMA platform-based software and hardware program one-key curing system and method
CN114296700A (en) * 2021-12-08 2022-04-08 成都恩菲特科技有限公司 DSP engineering transplanting method

Similar Documents

Publication Publication Date Title
CN110531962B (en) Development processing method and device for applet and computer readable storage medium
US9946628B2 (en) Embedding and executing trace functions in code to gather trace data
CN111008033A (en) Universal DSP (digital signal processor) online upgrading system and upgrading method based on serial port
CN103729202A (en) DSP reliable on-line FLASH programming method based on GEL script
US8930923B2 (en) Generating debugging extension source code utilizing debugging information
CN105320553A (en) Method and system for updating network card firmware based on domestic processor platform
CN113360144B (en) Auxiliary processing method, device, storage medium and program product for software development
CN104407878A (en) On-line upgrading method of C6000 digital signal processor
CN111459506B (en) Deep learning platform cluster deployment method and device, medium and electronic equipment
CN111111201B (en) Skill creation method, device, server and medium based on game
CN111338925A (en) Applet test method, device and system, electronic equipment and storage medium
CN109471693A (en) Proprietary component is mapped to method, medium and the equipment of Cross-border congestion management system
WO2012069883A1 (en) Method of debugging software and corresponding computer program product
CN115658069A (en) Project packaging and online compiling method for release platform
CN103176903B (en) The test method and equipment of MapReduce distributed system program
CN108536586B (en) Information acquisition method, equipment and system of Android mobile terminal
CN109144575B (en) Device and method for running application across operating systems, electronic equipment and memory
CN114741294A (en) Page debugging method, device, equipment and storage medium
CN102750167B (en) Application program launching method, device and computer system
CN115374017A (en) Method for capturing site during simulation running of executable file and computing equipment
CN112506871B (en) Automated task management and log management method, system, electronic device and medium
US20140258973A1 (en) Systems And Methods For Automatically Generating Applications
CN111858302B (en) Method and device for testing small program, electronic equipment and storage medium
CN110465093B (en) Method and device for analyzing inclusion redundant resources based on Unity
CN114925516A (en) Method and device for automatic modeling and simulation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140416