CN103019794A - Off-line batching programming method of multiple embedded program files - Google Patents
Off-line batching programming method of multiple embedded program files Download PDFInfo
- Publication number
- CN103019794A CN103019794A CN2012105778424A CN201210577842A CN103019794A CN 103019794 A CN103019794 A CN 103019794A CN 2012105778424 A CN2012105778424 A CN 2012105778424A CN 201210577842 A CN201210577842 A CN 201210577842A CN 103019794 A CN103019794 A CN 103019794A
- Authority
- CN
- China
- Prior art keywords
- file
- programming
- nandflash
- import
- parameter
- 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
Images
Abstract
The invention relates to an off-line batching programming method of multiple embedded program files. The off-line batching programming method of the multiple embedded program files comprises the following steps of configuring parameters of a target flash memory NandFlash and partition start/stop logic addresses of the program files; importing multiple binary files to be programmed, and sequentially performing format conversion, partitioning and combination on the imported files to be programmed according to the parameters of the NandFlash; and generating the program files and file partition tables which can be programmed in a batching way, and invoking an off-line programming tool for the implementation of batching programming. With the adoption of the off-line batching programming method of the multiple embedded program files, the file production and combination can be performed on the flash memory NandFlash of various parameters; the file production and combination can be performed on the file partitions of various logic addresses as well; the off-line one-time batching programming can be realized; in such a way, the programming step is simplified, the programming complexity is lowered and the error of a reoperation process is prevented; and therefore, the batching programming efficiency can be improved by three times in comparison with the efficiency of the original programming method.
Description
Technical field
The present invention relates to a kind of embedded program programming method, especially a kind of embedded multiprogram file off-line is the programming method in batches.
Background technology
At present, the programming program of known (SuSE) Linux OS is generally a plurality of binary files, first boot files is arrived the assigned address of NandFlash by special flashburn tools programming, and assigned address needs manual input; Then, utilize other modes such as USB with kernel and file system programming to assigned address, and, this process all must plate on the support of CPU, utilization be in the line writing technology.As seen, present programming program process is complicated, and length consuming time is unfavorable for the operation of producing in batches.
Summary of the invention
The object of the present invention is to provide a kind of embedded multiprogram file off-line batch programming method that can realize off-line, disposable batch programming.
For achieving the above object, the present invention has adopted following technical scheme: a kind of embedded multiprogram file off-line is the programming method in batches, and the method comprises the step of following order:
(1) parameter of configuration target flash NandFlash, and the subregion start-stop logical address of program file;
(2) import a plurality of binary files for the treatment of programming, according to the parameter of NandFlash the programming file for the treatment of that imports is carried out format conversion, subregion, merging successively;
(3) generate program file and the partitions of file table of in batches programming, call the off-line programing instrument and carry out the batch programming.
The user is by the correlation parameter of user's operational processes block configuration target flash NandFlash, and the start-stop logical address of the subregion of configurator file; File imports module and imports a plurality of binary files for the treatment of programming, and NandFlash file layout generation module will treat that the programming file carries out format conversion according to the correlation parameter of NandFlash; After the conversion, by subregion merged file module file is carried out subregion making and merging, generate finally in batches program file and the partitions of file table of programming; At last, calling outside flashburn tools module calls general off-line programing instrument and carries out the batch programming.
When application interface operates, import the partitioned parameters of user file by " selection logical partition configuration ", import the parameter of flash memory NandFlash by " selecting the NandFlash parameter configuration ", the number of files that demonstration can import in " showing the number that imports file ", generate the file that meets the NandFlash form by " generating the programming file ", by file and the Physical Extents table behind " making partitioned file " generation merging subregion, call pre-configured programming tool execute file by " programming program ", check file and the partition table of generation by " checking file destination ", show the relevant information in each operating process by " program process message viewing area ".
After the beginning, import the partitioned parameters of configuration and the parameter of target flash NandFlash, whether the partitioned parameters that judgement imports and the parameter of NandFlash be legal, if judged result is yes, then show can import treat programming source document number, and allow to import, otherwise, carry out message and show.
Import in order and treat accordingly the programming source document, judge whether the importing file is legal, if judged result is yes, then the parameter according to target flash NandFlash generates corresponding formatted file, and the computational physics subregion, otherwise, carry out message and show.
According to the Physical Extents merged file, generate file and Physical Extents table after merging, call the programming program means, import file and Physical Extents table after merging, carry out programming.
As shown from the above technical solution, the present invention can carry out documenting and merging to the flash memory NandFlash of different parameters, can carry out documenting and merging to the partitions of file of Different Logic address, can realize off-line, disposable batch programming, simplified the step of programming, reduced the programming complicacy, avoiding again, operating process makes mistakes, can improve the in batches efficient of programming, improve 3 times efficient than original programming method.
Description of drawings
Fig. 1 is functional module structure schematic diagram of the present invention;
Fig. 2 is application schematic diagram of the present invention;
Fig. 3 is workflow diagram of the present invention.
Embodiment
A kind of embedded multiprogram file off-line is the programming method in batches, and the method comprises the step of following order: the parameter of (1) configuration target flash NandFlash, and the subregion start-stop logical address of program file; (2) import a plurality of binary files for the treatment of programming, according to the parameter of NandFlash the programming file for the treatment of that imports is carried out format conversion, subregion, merging successively; (3) generate program file and the partitions of file table of in batches programming, call the off-line programing instrument and carry out the batch programming, as shown in Figure 3.
As shown in Figure 1, the user is by the correlation parameter of user's operational processes module 1 configuration target flash NandFlash, and the start-stop logical address of the subregion of configurator file; File imports module 2 and imports a plurality of binary files for the treatment of programming, and NandFlash file layout generation module 3 will treat that the programming file carries out format conversion according to the correlation parameter of NandFlash; After the conversion, carry out subregion making and merging by 4 pairs of files of subregion merged file module, generate finally in batches program file and the partitions of file table of programming; At last, calling outside flashburn tools module 5 calls general off-line programing instrument and carries out the batch programming.
As shown in Figure 2, when application interface operates, import the partitioned parameters of user file by " selection logical partition configuration ", import the parameter of flash memory NandFlash by " selecting the NandFlash parameter configuration ", the number of files that demonstration can import in " showing the number that imports file ", generate the file that meets the NandFlash form by " generating the programming file ", by file and the Physical Extents table behind " making partitioned file " generation merging subregion, call pre-configured programming tool execute file by " programming program ", check file and the partition table of generation by " checking file destination ", show the relevant information in each operating process by " program process message viewing area ".
The present invention is further illustrated below in conjunction with Fig. 3.
After the beginning, import the partitioned parameters of configuration and the parameter of target flash NandFlash, whether the partitioned parameters that judgement imports and the parameter of NandFlash be legal, if judged result is yes, then show can import treat programming source document number, and allow to import, otherwise, carry out message and show.
Import in order and treat accordingly the programming source document, judge whether the importing file is legal, if judged result is yes, then the parameter according to target flash NandFlash generates corresponding formatted file, and the computational physics subregion, otherwise, carry out message and show.
According to the Physical Extents merged file, generate file and Physical Extents table after merging, call the programming program means, import file and Physical Extents table after merging, carry out programming.
In sum, the present invention can realize the mapping of NandFlash logical address and physical address, program file is converted to the file of respective file system file form, realizes partitions of file merging and disposable batch, off-line programming.
Claims (6)
1. embedded multiprogram file off-line programming method in batches, the method comprises the step of following order:
(1) parameter of configuration target flash NandFlash, and the subregion start-stop logical address of program file;
(2) import a plurality of binary files for the treatment of programming, according to the parameter of NandFlash the programming file for the treatment of that imports is carried out format conversion, subregion, merging successively;
(3) generate program file and the partitions of file table of in batches programming, call the off-line programing instrument and carry out the batch programming.
2. embedded multiprogram file off-line according to claim 1 programming method in batches, it is characterized in that: the user is by the correlation parameter of user's operational processes block configuration target flash NandFlash, and the start-stop logical address of the subregion of configurator file; File imports module and imports a plurality of binary files for the treatment of programming, and NandFlash file layout generation module will treat that the programming file carries out format conversion according to the correlation parameter of NandFlash; After the conversion, by subregion merged file module file is carried out subregion making and merging, generate finally in batches program file and the partitions of file table of programming; At last, calling outside flashburn tools module calls general off-line programing instrument and carries out the batch programming.
3. embedded multiprogram file off-line according to claim 1 programming method in batches, it is characterized in that: when application interface operates, import the partitioned parameters of user file by " selection logical partition configuration ", import the parameter of flash memory NandFlash by " selecting the NandFlash parameter configuration ", the number of files that demonstration can import in " showing the number that imports file ", generate the file that meets the NandFlash form by " generating the programming file ", by file and the Physical Extents table behind " making partitioned file " generation merging subregion, call pre-configured programming tool execute file by " programming program ", check file and the partition table of generation by " checking file destination ", show the relevant information in each operating process by " program process message viewing area ".
4. embedded multiprogram file off-line according to claim 1 programming method in batches, it is characterized in that: after the beginning, import the partitioned parameters of configuration and the parameter of target flash NandFlash, whether the partitioned parameters that judgement imports and the parameter of NandFlash be legal, if judged result is yes, then show can import treat programming source document number, and allow to import, otherwise, carry out message and show.
5. embedded multiprogram file off-line according to claim 4 programming method in batches, it is characterized in that: import in order and treat accordingly the programming source document, judge whether the importing file is legal, if judged result is yes, then the parameter according to target flash NandFlash generates corresponding formatted file, and the computational physics subregion, otherwise, carry out message and show.
6. embedded multiprogram file off-line according to claim 5 programming method in batches, it is characterized in that: according to the Physical Extents merged file, generate file and Physical Extents table after merging, call the programming program means, import file and Physical Extents table after merging, carry out programming.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210577842.4A CN103019794B (en) | 2012-12-27 | 2012-12-27 | A kind of embedded multiprogram file off-line batch programming method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210577842.4A CN103019794B (en) | 2012-12-27 | 2012-12-27 | A kind of embedded multiprogram file off-line batch programming method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103019794A true CN103019794A (en) | 2013-04-03 |
CN103019794B CN103019794B (en) | 2016-07-13 |
Family
ID=47968428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210577842.4A Active CN103019794B (en) | 2012-12-27 | 2012-12-27 | A kind of embedded multiprogram file off-line batch programming method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103019794B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104133743A (en) * | 2014-07-22 | 2014-11-05 | 青岛智动精工电子有限公司 | Method and device for burning file into EMMC (Embedded MultiMedia Card) |
CN104156250A (en) * | 2014-08-20 | 2014-11-19 | 深圳市安邦信电子有限公司 | Handheld off-line programmer and off-line programming method |
CN104317618A (en) * | 2014-10-24 | 2015-01-28 | 福州瑞芯微电子有限公司 | Firmware partitioning method and device |
CN105224359A (en) * | 2015-09-07 | 2016-01-06 | 西安诺瓦电子科技有限公司 | Program loading method |
CN106325905A (en) * | 2015-06-30 | 2017-01-11 | 深圳市中兴微电子技术有限公司 | A Flash burning method, single board, upper computer and system |
CN106528203A (en) * | 2016-10-10 | 2017-03-22 | 上海无线电设备研究所 | Method for automatic program programming of multiple DSP chips |
CN111159123A (en) * | 2019-12-30 | 2020-05-15 | 中国兵器装备集团自动化研究所 | Embedded reliable parameter storage file system and method |
CN112073556A (en) * | 2020-09-15 | 2020-12-11 | 成都申威科技有限责任公司 | MAC address programming method for batch network cards, storage medium and terminal |
CN113010186A (en) * | 2021-02-05 | 2021-06-22 | 武汉联特科技股份有限公司 | Firmware and application data integration method and system applied to optical module |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859251A (en) * | 2009-04-09 | 2010-10-13 | 研祥智能科技股份有限公司 | Method and device for installing embedded operating system |
CN102591683A (en) * | 2011-12-28 | 2012-07-18 | 睿成汇商科技有限公司 | Updating method and updating system for embedded operation system |
CN102662688A (en) * | 2012-03-12 | 2012-09-12 | 深圳市开立科技有限公司 | An update method and apparatus for Nor flash |
CN102722516A (en) * | 2012-01-17 | 2012-10-10 | 晨星软件研发(深圳)有限公司 | NAND Flash writing file-orientated generating method and corresponding device |
-
2012
- 2012-12-27 CN CN201210577842.4A patent/CN103019794B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859251A (en) * | 2009-04-09 | 2010-10-13 | 研祥智能科技股份有限公司 | Method and device for installing embedded operating system |
CN102591683A (en) * | 2011-12-28 | 2012-07-18 | 睿成汇商科技有限公司 | Updating method and updating system for embedded operation system |
CN102722516A (en) * | 2012-01-17 | 2012-10-10 | 晨星软件研发(深圳)有限公司 | NAND Flash writing file-orientated generating method and corresponding device |
CN102662688A (en) * | 2012-03-12 | 2012-09-12 | 深圳市开立科技有限公司 | An update method and apparatus for Nor flash |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104133743A (en) * | 2014-07-22 | 2014-11-05 | 青岛智动精工电子有限公司 | Method and device for burning file into EMMC (Embedded MultiMedia Card) |
CN104156250A (en) * | 2014-08-20 | 2014-11-19 | 深圳市安邦信电子有限公司 | Handheld off-line programmer and off-line programming method |
CN104317618B (en) * | 2014-10-24 | 2018-03-27 | 福州瑞芯微电子股份有限公司 | A kind of firmware partition treating method and apparatus |
CN104317618A (en) * | 2014-10-24 | 2015-01-28 | 福州瑞芯微电子有限公司 | Firmware partitioning method and device |
CN106325905A (en) * | 2015-06-30 | 2017-01-11 | 深圳市中兴微电子技术有限公司 | A Flash burning method, single board, upper computer and system |
CN105224359A (en) * | 2015-09-07 | 2016-01-06 | 西安诺瓦电子科技有限公司 | Program loading method |
CN105224359B (en) * | 2015-09-07 | 2019-01-29 | 西安诺瓦电子科技有限公司 | Program loading method |
CN106528203A (en) * | 2016-10-10 | 2017-03-22 | 上海无线电设备研究所 | Method for automatic program programming of multiple DSP chips |
CN106528203B (en) * | 2016-10-10 | 2019-10-18 | 上海无线电设备研究所 | A kind of automated procedures programming method of multi-DSP chip |
CN111159123A (en) * | 2019-12-30 | 2020-05-15 | 中国兵器装备集团自动化研究所 | Embedded reliable parameter storage file system and method |
CN111159123B (en) * | 2019-12-30 | 2023-07-14 | 中国兵器装备集团自动化研究所 | Embedded reliable parameter storage file system and method |
CN112073556A (en) * | 2020-09-15 | 2020-12-11 | 成都申威科技有限责任公司 | MAC address programming method for batch network cards, storage medium and terminal |
CN112073556B (en) * | 2020-09-15 | 2021-11-09 | 成都申威科技有限责任公司 | MAC address programming method for batch network cards, storage medium and terminal |
CN113010186A (en) * | 2021-02-05 | 2021-06-22 | 武汉联特科技股份有限公司 | Firmware and application data integration method and system applied to optical module |
Also Published As
Publication number | Publication date |
---|---|
CN103019794B (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103019794A (en) | Off-line batching programming method of multiple embedded program files | |
EP3285170B1 (en) | Application profiling job management system, program, and method | |
CN102236621B (en) | Computer interface information configuration system and method | |
US8527971B2 (en) | Parallel program generation method | |
CN105373407A (en) | DSP and FPGA online upgrading method for embedded system | |
CN106020905B (en) | Method and system for developing and updating microcontroller firmware | |
US8701079B2 (en) | Procedure and development environment for generation of an executable overall control program | |
CN103176802B (en) | Realize the method that the user interface UI of system separates with widget library by control pond | |
CN106873970B (en) | Installation method and device of operating system | |
US20230153158A1 (en) | Method, apparatus, system, and storage medium for performing eda task | |
WO2021057252A1 (en) | Service processing flow configuration method and apparatus, and service request processing method and apparatus | |
CN114356578B (en) | Parallel computing method, device, equipment and medium for natural language processing model | |
CN106648758A (en) | Multi-core processor BOOT starting system and method | |
CN102025389A (en) | Method and device for generating pseudorandom sequence | |
CN106484452B (en) | unified configuration management method and device for software platform | |
CN114237676A (en) | FPGA (field programmable Gate array) logic updating method, device, equipment and readable storage medium | |
CN102902526A (en) | Automatic setting method for realizing BMC (Baseboard Management Controller) and IP (Internet Protocol) information through time delay | |
CN105357289A (en) | Configuration method of router and generation method and system of software mirror image document | |
CN101799793B (en) | Flash memory control method and device | |
US20120046773A1 (en) | Mold design system and method | |
CN103605318B (en) | Method and apparatus for function customization of CNC controller and CNC controller | |
CN109377184A (en) | Job cardss method, apparatus, storage medium and terminal | |
CN114020414A (en) | Symbiotic method and device of Android system and bottom layer Linux, electronic equipment and storage medium | |
JP2018180706A (en) | Support device and program | |
CN108595455B (en) | Spatial data coordinate conversion method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 230031, No. 9, Bridge Road, Shushan Industrial Park, Hefei, Anhui Patentee after: Anhui Zhongxin Jiyuan information technology Limited by Share Ltd Address before: 230031, No. 9, Bridge Road, Shushan Industrial Park, Hefei, Anhui Patentee before: Anhui Zhongxing Jiyuan Information Technology Co.,Ltd. |