CN109683985A - A kind of more image starting methods of DSP based on AIS order - Google Patents
A kind of more image starting methods of DSP based on AIS order Download PDFInfo
- Publication number
- CN109683985A CN109683985A CN201811552079.3A CN201811552079A CN109683985A CN 109683985 A CN109683985 A CN 109683985A CN 201811552079 A CN201811552079 A CN 201811552079A CN 109683985 A CN109683985 A CN 109683985A
- Authority
- CN
- China
- Prior art keywords
- image
- ais
- order
- program
- dsp
- 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; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Abstract
The invention discloses a kind of more image starting methods of DSP based on AIS order, for solving the problems, such as more image startings of DSP digital information processing system.Technical solution is, according to user demand, multiple image files to be addressed and selected by more image program starting algorithms, by parsing AIS order, by it from the program storage for the DSP that external memory is loaded into, and is executed automatically.The present invention utilizes more image program starting algorithms, carries out flexible selectivity to multiple image files and executes, the heavy duty and switching of DSP program are realized according to different user demands, improves the versatility, adaptability and maintainability of digital information processing system.
Description
Technical field
The present invention relates to digital signal processing technique fields, open more particularly to a kind of more mirror images of the DSP based on AIS order
Dynamic method.
Background technique
AIS is the abbreviation using mirror image script (Application Image Script), is a kind of for mirror image load
With the specific command collection of operation.The program starting mould that can receive AIS order is generally integrated in digital signal processing chip (DSP)
Block completes that operation is loaded and started using mirror image when powering on.The usual function of these starting modules is relatively simple, can only be from fixation
Address is read unique mirror image and is executed, and cannot achieve more image startings, can not also carry out the function of mirrored storage addressing of address
Energy.It is applied with the development of digital technology with diversification, more and more digital information processing systems require DSP to realize double-mirror
Or more image startings, it selects suitably to be started from multiple mirror images in each task execution according to different use demands
And execution, to adapt to diversified application demand.This requires the program starting modules of DSP to have from multiple application mirror images
The function of being addressed and select, and the included program starting module of DSP realizes these functions, it is therefore desirable to one kind flexibly may be used
The more image starting methods of the DSP of configuration.
Summary of the invention
Aiming at the shortcomings in the prior art, the present invention provides a kind of more mirror images of DSP that flexibly can configure based on AIS order
Starting method.
In order to solve the above technical problems, the technical solution used in the present invention is:
A kind of more image starting methods of DSP based on AIS order, comprising the following steps:
Step 1: loading automatically and execute more image program startup programs: the mirror image in more image program startup programs
File powers on the image file of default load as DSP, is stored in the home address space of DSP external memory;
Step 2: executing mirror image selection strategy: a mirror in more image program startup program selection image file groups
As file is as current image file;The mirror image selection strategy is formulated according to user's use demands, and is integrated into more mirror image journeys
In sequence startup program;Image file group includes 1 and converts the mirror comprising AIS order for application program above according to user demand
As file;Each image file is stored in the address space of DSP external memory without overlapping;Each image file is equal
It is made using AIS design tool;
Step 3: load images file;The storage address of current image file is determined in DSP external memory;Reading is worked as
Preceding image file;
Step 4: detecting whether to receive AIS order, if so, turning to step 5;Otherwise step step 4 is turned to;
Step 5: parsing AIS order: more image program startup programs complete current image file by parsing AIS order
It loads and controls DSP automatic running;Turn to step 4.
Preferably, above-mentioned steps 5 specifically includes the following steps:
When being resolved to AIS order " program block loads (Section Load) ", more image program startup programs will be corresponded to
Image file block read by external memory into internal processes memory space;
When being resolved to AIS order " enabled CRC check (Enable CRC) ", more image program startup programs enable mirror image
The cyclic check of file encodes (CRC);
When being resolved to AIS order " closing CRC check (Disable CRC) ", more image program startup programs close mirror
As the cyclic check of file encodes (CRC);
When being resolved to AIS order " verifying CRC check (Validate CRC) ", more image program startup programs are to from outer
The image file that portion's memory is read carries out cyclic check coding (CRC), and by the coding result ratio in coding result and file
It to verifying, is verified, continues to execute Next Command, the image file and again otherwise read again from external memory
Verifying;
When being resolved to AIS order " program block fills (Section Fill) ", more image program startup programs will be specified
Internal processes memory space be filled with the content of AIS order request;
When being resolved to AIS order " (Function Execute) is arranged in function ", more image program startup programs are to DSP
Inner function module carries out Initialize installation;
When being resolved to AIS order " jump and terminate (Jump&Close) ", more image program startup programs terminate currently
The operation of program, and the program pointer of DSP (PC) is jumped into user application operation.
The beneficial effects of the present invention are: the present invention is addressed and selects according to user demand, to multiple image files, root
The heavy duty and switching that DSP application program is realized according to different user demands improve the versatility of digital information processing system, adapt to
Property and maintainability.
Detailed description of the invention
Fig. 1 is more image program startup program flow charts of the embodiment of the present invention;
Specific embodiment
Embodiment 1:
Below in conjunction with the attached drawing of the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, those of ordinary skill in the art's every other embodiment obtained belong to the model that the present invention protects
It encloses.
A kind of more image starting methods of DSP based on AIS order, comprising the following steps:
Step 1: loading automatically and execute more image program startup programs: the mirror image in more image program startup programs
File powers on the image file of default load as DSP, is stored in the home address space of DSP external memory;
Step 2: executing mirror image selection strategy: a mirror in more image program startup program selection image file groups
As file is as current image file;The mirror image selection strategy is formulated according to user's use demands, and is integrated into more mirror image journeys
In sequence startup program;Image file group includes 1 and converts the mirror comprising AIS order for application program above according to user demand
As file;Each image file is stored in the address space of DSP external memory without overlapping;Each image file is equal
It is made using AIS design tool;
Step 3: load images file;The storage address of current image file is determined in DSP external memory;Reading is worked as
Preceding image file;
Step 4: detecting whether to receive AIS order, if so, turning to step 5;Otherwise step step 4 is turned to;
Step 5: parsing AIS order: more image program startup programs complete current image file by parsing AIS order
It loads and controls DSP automatic running;Turn to step 4.
DSP program is compiled using AIS design tool and is produced by either user program or more image program startup programs
Raw * .out file is converted into binary image file * .bin;
Image file should store DSP external memory, wherein the image file in more image program startup programs should be deposited
Store up the initial address of external memory, i.e. address 0;Other users program image file stores other ground to non-initial address
Location space.
More image program startup programs complete the load to image file and control DSP to transport automatically by parsing AIS order
Row, should include the parsing to issue orders:
A, " program block load (Section Load) ": image file block is read to store into internal processes by external memory
In space;
B, " enabled CRC check (Enable CRC) ": the cyclic check of enabled image file encodes (CRC);
C, it " closes CRC check (Disable CRC) ": closing the cyclic check coding (CRC) of image file;
D, " verifying CRC check (Validate CRC) ": cyclic check coding (CRC) and contrast verification are carried out, to obstructed
The blocks of files for crossing verifying is re-read;
E, specified internal processes memory space " program block filling (Section Fill) ": is filled with order request
Content;
F, Initialize installation " (Function Execute) is arranged in function ": is carried out to DSP inner function module;
G, it " jumps and terminates (Jump&Close) ": terminating the operation of present procedure, and the program pointer of DSP (PC) is jumped
Go to user application operation;
4, image file is to order to end up with " jump and terminate (Jump&Close) ", therefore parse " Jump&Close " life
After order, DSP terminates more image program startup programs, and jumps to user application operation.
Claims (2)
1. a kind of more image starting methods of DSP based on AIS order, which comprises the following steps:
Step 1: loading automatically and execute more image program startup programs: the image file in more image program startup programs
The image file that default load is powered on as DSP, is stored in the home address space of DSP external memory;
Step 2: executing mirror image selection strategy: a mirror image text in more image program startup program selection image file groups
Part is as current image file;The mirror image selection strategy is formulated according to user's use demands, and is integrated into more image programs and is opened
In dynamic program;Image file group includes 1 and converts application program to the mirror image text comprising AIS order above according to user demand
Part;Each image file is stored in the address space of DSP external memory without overlapping;Each image file utilizes
The production of AIS design tool;
Step 3: load images file;The storage address of current image file is determined in DSP external memory;Read current mirror
As file;
Step 4: detecting whether to receive AIS order, if so, turning to step 5;Otherwise step step 4 is turned to;
Step 5: parsing AIS order: more image program startup programs complete the load of current image file by parsing AIS order
And control DSP automatic running;Turn to step 4.
2. a kind of more image starting methods of DSP based on AIS order according to claim 1, which is characterized in that the step
Rapid 5 comprising the following specific steps
When being resolved to AIS order " program block load (Section Load) ", more image program startup programs are by corresponding mirror
As blocks of files is read by external memory into internal processes memory space;
When being resolved to AIS order " enabled CRC check (Enable CRC) ", more image program startup programs enable image file
Cyclic check encode (CRC);
When being resolved to AIS order " closing CRC check (Disable CRC) ", more image program startup programs close mirror image text
The cyclic check of part encodes (CRC);
When being resolved to AIS order " verifying CRC check (Validate CRC) ", more image program startup programs are deposited to from outside
The image file that reservoir is read carries out cyclic check coding (CRC), and coding result is compared with the coding result in file and is tested
Card, is verified, continues to execute Next Command, and the image file otherwise read again from external memory is simultaneously verified again;
When being resolved to AIS order " program block fill (Section Fill) ", more image program startup programs will be specified in
Portion's program's memory space is filled with the content of AIS order request;
When being resolved to AIS order " (Function Execute) is arranged in function ", more image program startup programs are to the inside DSP
Functional module carries out Initialize installation;
When being resolved to AIS order " jump and terminate (Jump&Close) ", more image program startup programs terminate present procedure
Operation, and by the program pointer of DSP (PC) jump to user application operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811552079.3A CN109683985B (en) | 2018-12-19 | 2018-12-19 | DSP multi-image starting method based on AIS command |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811552079.3A CN109683985B (en) | 2018-12-19 | 2018-12-19 | DSP multi-image starting method based on AIS command |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109683985A true CN109683985A (en) | 2019-04-26 |
CN109683985B CN109683985B (en) | 2021-10-22 |
Family
ID=66186821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811552079.3A Active CN109683985B (en) | 2018-12-19 | 2018-12-19 | DSP multi-image starting method based on AIS command |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109683985B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116594955A (en) * | 2023-07-17 | 2023-08-15 | 中国电子科技集团公司第五十八研究所 | Dynamic global reconfigurable method based on DSP chip |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110029733A1 (en) * | 2004-09-15 | 2011-02-03 | Gyrus Acmi, Inc. | Endoscopy device supporting multiple input devices |
CN102520989A (en) * | 2011-12-01 | 2012-06-27 | 浪潮电子信息产业股份有限公司 | Intelligent colony system deployment method based on U disk |
CN102750364A (en) * | 2012-06-13 | 2012-10-24 | 华为技术有限公司 | Method, compiler and system for distributing memory address space for image files |
CN103198192A (en) * | 2013-04-12 | 2013-07-10 | 厦门大学 | Snapping method for virtually and quickly assembling three-dimensional components |
CN103595430A (en) * | 2013-11-22 | 2014-02-19 | 中国人民解放军国防科学技术大学 | Satellite-borne AIS channelized receiving device and receiving method |
CN103778087A (en) * | 2012-10-25 | 2014-05-07 | 加弘科技咨询(上海)有限公司 | Same-series multi-platform FPGA application merging system |
US20140280790A1 (en) * | 2013-03-12 | 2014-09-18 | Dell Products L.P. | Systems and methods for sharing a single firmware image in a chassis configured to receive a plurality of modular information handling systems |
CN104184990A (en) * | 2014-06-03 | 2014-12-03 | 南通航运职业技术学院 | Navigation radar or AIS tracking parameter booted intelligent video monitoring system |
CN105573789A (en) * | 2015-09-07 | 2016-05-11 | 武汉精测电子技术股份有限公司 | FPGA (Field Programmable Gate Array) multi-mirror upgrading-loading method and device based on soft-core processor |
CN105912382A (en) * | 2016-04-07 | 2016-08-31 | 浪潮电子信息产业股份有限公司 | Mirror image management device, system and method |
CN106155730A (en) * | 2015-04-21 | 2016-11-23 | 北京信威通信技术股份有限公司 | Operating system loading method and device |
CN106874056A (en) * | 2017-03-14 | 2017-06-20 | 成都天奥电子股份有限公司 | TI C2000 DSP serial ports online upgrading methods based on Ymodem |
CN107239358A (en) * | 2017-06-01 | 2017-10-10 | 捷开通讯(深圳)有限公司 | Startup method, mobile terminal and the device with store function of Android system |
CN107491333A (en) * | 2017-08-25 | 2017-12-19 | 四川长虹电器股份有限公司 | The method of generation and burn recording software mirror image on smart machine |
CN108154025A (en) * | 2017-12-22 | 2018-06-12 | 北京四达时代软件技术股份有限公司 | Method, the method and device of application program mirror image processing of embedded device startup |
CN108852308A (en) * | 2018-06-22 | 2018-11-23 | 苏州高新区人民医院 | A kind of super time window AIS clinic Reperfu- sion method based on multi-parameter image technology optimizing detection system |
-
2018
- 2018-12-19 CN CN201811552079.3A patent/CN109683985B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110029733A1 (en) * | 2004-09-15 | 2011-02-03 | Gyrus Acmi, Inc. | Endoscopy device supporting multiple input devices |
CN102520989A (en) * | 2011-12-01 | 2012-06-27 | 浪潮电子信息产业股份有限公司 | Intelligent colony system deployment method based on U disk |
CN102750364A (en) * | 2012-06-13 | 2012-10-24 | 华为技术有限公司 | Method, compiler and system for distributing memory address space for image files |
CN103778087A (en) * | 2012-10-25 | 2014-05-07 | 加弘科技咨询(上海)有限公司 | Same-series multi-platform FPGA application merging system |
US20140280790A1 (en) * | 2013-03-12 | 2014-09-18 | Dell Products L.P. | Systems and methods for sharing a single firmware image in a chassis configured to receive a plurality of modular information handling systems |
CN103198192A (en) * | 2013-04-12 | 2013-07-10 | 厦门大学 | Snapping method for virtually and quickly assembling three-dimensional components |
CN103595430A (en) * | 2013-11-22 | 2014-02-19 | 中国人民解放军国防科学技术大学 | Satellite-borne AIS channelized receiving device and receiving method |
CN104184990A (en) * | 2014-06-03 | 2014-12-03 | 南通航运职业技术学院 | Navigation radar or AIS tracking parameter booted intelligent video monitoring system |
CN106155730A (en) * | 2015-04-21 | 2016-11-23 | 北京信威通信技术股份有限公司 | Operating system loading method and device |
CN105573789A (en) * | 2015-09-07 | 2016-05-11 | 武汉精测电子技术股份有限公司 | FPGA (Field Programmable Gate Array) multi-mirror upgrading-loading method and device based on soft-core processor |
CN105912382A (en) * | 2016-04-07 | 2016-08-31 | 浪潮电子信息产业股份有限公司 | Mirror image management device, system and method |
CN106874056A (en) * | 2017-03-14 | 2017-06-20 | 成都天奥电子股份有限公司 | TI C2000 DSP serial ports online upgrading methods based on Ymodem |
CN107239358A (en) * | 2017-06-01 | 2017-10-10 | 捷开通讯(深圳)有限公司 | Startup method, mobile terminal and the device with store function of Android system |
CN107491333A (en) * | 2017-08-25 | 2017-12-19 | 四川长虹电器股份有限公司 | The method of generation and burn recording software mirror image on smart machine |
CN108154025A (en) * | 2017-12-22 | 2018-06-12 | 北京四达时代软件技术股份有限公司 | Method, the method and device of application program mirror image processing of embedded device startup |
CN108852308A (en) * | 2018-06-22 | 2018-11-23 | 苏州高新区人民医院 | A kind of super time window AIS clinic Reperfu- sion method based on multi-parameter image technology optimizing detection system |
Non-Patent Citations (1)
Title |
---|
WEIXIN_30414245: ""DM6437 dsp系列之启动过程全析(2)—AIS文件解析"", 《HTTPS://BLOG.CSDN.NET/WEIXIN_30414245/ARTICLE/DETAILS/94948983》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116594955A (en) * | 2023-07-17 | 2023-08-15 | 中国电子科技集团公司第五十八研究所 | Dynamic global reconfigurable method based on DSP chip |
CN116594955B (en) * | 2023-07-17 | 2023-09-26 | 中国电子科技集团公司第五十八研究所 | Dynamic global reconfigurable method based on DSP chip |
Also Published As
Publication number | Publication date |
---|---|
CN109683985B (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6393342B2 (en) | Method and device for controlling operating sequences in a vehicle | |
KR101160358B1 (en) | Test apparatus and test method | |
US7774382B2 (en) | Method and apparatus for configuring a control device, and corresponding control device | |
CN106707848B (en) | A kind of the control program construction and method for down loading of control system | |
CN110634530A (en) | Chip testing system and method | |
CN106990983A (en) | Single-chip microcomputer programming method, device, system and single-chip microcomputer | |
CN101770373A (en) | Self-starting serial boot program loading and reading system and method thereof | |
CN109683985A (en) | A kind of more image starting methods of DSP based on AIS order | |
CN103595770A (en) | Method and device for achieving file downloading through SDK | |
CN101286738A (en) | Method, device and system for loading logic files based on equipment information | |
CN106295326A (en) | A kind of inline hook method and system for obtaining video card content | |
CN103984246B (en) | Home appliance and the control method thereof of script can be performed | |
CN101697129B (en) | Logic self-loading method and system for field programmable gate array of embedded system | |
CN101908985B (en) | A kind of method of message checking and device | |
CN101751247A (en) | Method and device for generating Java Card program library target code based on standard tool | |
CN108920389B (en) | Method and device for dynamically matching protocol type and application of multi-protocol USB device | |
CN114995226B (en) | Flow control system and method for aerospace embedded equipment | |
CN101251828A (en) | Bit width self-adapting memory accessing method and system | |
CN101169796A (en) | Method for storing document name and judging file name overlength | |
CN106020918A (en) | Television software compiling method and system | |
CN110113530B (en) | Method and device for reconfiguring instruction chain of space infrared camera | |
JP2000330792A (en) | System for controlling byte code program execution | |
CN109947476B (en) | Statistical method and system for runtime stack space | |
CN109857811B (en) | Block chain data management method and device | |
CN113608491A (en) | Method for compiling delayed logic schematic diagram into byte code |
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 |