[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103019794B - A kind of embedded multiprogram file off-line batch programming method - Google Patents

A kind of embedded multiprogram file off-line batch programming method Download PDF

Info

Publication number
CN103019794B
CN103019794B CN201210577842.4A CN201210577842A CN103019794B CN 103019794 B CN103019794 B CN 103019794B CN 201210577842 A CN201210577842 A CN 201210577842A CN 103019794 B CN103019794 B CN 103019794B
Authority
CN
China
Prior art keywords
file
programming
nandflash
parameter
import
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.)
Active
Application number
CN201210577842.4A
Other languages
Chinese (zh)
Other versions
CN103019794A (en
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.)
Anhui Zhongxin Jiyuan information technology Limited by Share Ltd
Original Assignee
ANHUI ZHONGXING JIYUAN INFORMATION TECHNOLOGY CO LTD
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 ANHUI ZHONGXING JIYUAN INFORMATION TECHNOLOGY CO LTD filed Critical ANHUI ZHONGXING JIYUAN INFORMATION TECHNOLOGY CO LTD
Priority to CN201210577842.4A priority Critical patent/CN103019794B/en
Publication of CN103019794A publication Critical patent/CN103019794A/en
Application granted granted Critical
Publication of CN103019794B publication Critical patent/CN103019794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of embedded multiprogram file off-line batch programming method, including: the parameter of configuration target flash NandFlash, and the subregion start-stop logical address of program file;Import the multiple binary files treating programming, treat that programming file is sequentially carried out format conversion, subregion, merging according to the parameter of NandFlash to what import;Generation can the batch program file of programming and partitions of file table, call off-line programing instrument and carry out batch programming.The flash memory NandFlash of different parameters can be carried out documenting and merging by the present invention, the partitions of file of Different Logic address can be carried out documenting and merging, it is capable of off-line, disposable batch programming, simplify the step of programming, reduce programming complexity, avoid operating process again to make mistakes, it is possible to improve the efficiency of batch programming, improve the efficiency of 3 times than original programming method.

Description

A kind of embedded multiprogram file off-line batch programming method
Technical field
The present invention relates to a kind of embedded program programming method, especially a kind of embedded multiprogram file off-line batch programming method.
Background technology
At present, the programming program of known (SuSE) Linux OS is generally multiple binary file, first will guide the file appointment position by special flashburn tools programming to NandFlash, it is intended that position needs to manually enter;Then, utilize other modes such as USB by kernel and file system programming to specifying position, and, this process all have to the support of CPU on plate, utilization is in line writing technology.Visible, current programming program process is complicated, length consuming time, is unfavorable for the operation of batch production.
Summary of the invention
It is an object of the invention to provide a kind of embedded multiprogram file off-line batch programming method being capable of off-line, disposable batch programming.
For achieving the above object, this utility model have employed techniques below scheme: a kind of embedded multiprogram file off-line batch programming method, and the method includes the step of following order:
(1) parameter of target flash NandFlash and the subregion start-stop logical address of program file are configured;
(2) import the multiple binary files treating programming, treat that programming file is sequentially carried out format conversion, subregion, merging according to the parameter of NandFlash to what import;
(3) generate can the batch program file of programming and partitions of file table, call off-line programing instrument and carry out batch programming;
In step (1), user is by the relevant parameter of user operation processing module configuration target flash NandFlash, and the start-stop logical address of the subregion of configurator file;Namely, after starting, the partitioned parameters of configuration and the parameter of target flash NandFlash are imported, it is judged that whether the partitioned parameters of importing and the parameter of NandFlash be legal, if the determination result is YES, then what display can import treats programming original document number, and allows to import, otherwise, carry out message to show;
In step (2), file imports module and imports the multiple binary files treating programming, and NandFlash file format generation module will treat that programming file carries out format conversion according to the relevant parameter of NandFlash;After conversion, merge file module by subregion file is carried out subregion making and merges, namely import in order and treat programming original document accordingly, whether legal judge to import file, if the determination result is YES, then corresponding formatted file Computational Physics subregion are generated according to the parameter of target flash NandFlash, otherwise, carry out message to show;File is merged according to Physical Extents;
In step (3), generate may finally the batch program file of programming and partitions of file table, finally, call outside flashburn tools module and call general off-line programing instrument and carry out batch programming;Namely generate the file after merging and Physical Extents table, call programming program means, import the file after merging and Physical Extents table, perform programming
On application interface during operation, first imported the partitioned parameters of user file by " selection logical partition configuration " according to step (1), the parameter of flash memory NandFlash is imported by " selecting NandFlash parameter configuration ", further according to step (2) number of files that display can import in " number of display importing file ", the file meeting NandFlash form is generated by " generating programming file ", by " making partitioned file " finally according to the file after step (3) generation merging subregion and Physical Extents table, call pre-configured programming tool by " programming program " and perform file, file and the partition table of generation is checked by " checking file destination ", the relevant information in each operating process is shown by " program process message display region ".
As shown from the above technical solution, the flash memory NandFlash of different parameters can be carried out documenting and merging by the present invention, the partitions of file of Different Logic address can be carried out documenting and merging, it is capable of off-line, disposable batch programming, simplify the step of programming, reduce programming complexity, it is to avoid operating process makes mistakes again, the efficiency of batch programming can be improved, improve the efficiency of 3 times than original programming method.
Accompanying drawing explanation
Fig. 1 is the functional module structure schematic diagram of the present invention;
Fig. 2 is the application schematic diagram of the present invention;
Fig. 3 is the workflow diagram of the present invention.
Detailed description of the invention
A kind of embedded multiprogram file off-line batch programming method, the method includes 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 the multiple binary files treating programming, treat that programming file is sequentially carried out format conversion, subregion, merging according to the parameter of NandFlash to what import;(3) generate can the batch program file of programming and partitions of file table, call off-line programing instrument and carry out batch programming, as shown in Figure 3.
As it is shown in figure 1, user configures the relevant parameter of target flash NandFlash the start-stop logical address of the subregion of configurator file by user operation processing module 1;File imports module 2 and imports the multiple binary files treating programming, and NandFlash file format generation module 3 will treat that programming file carries out format conversion according to the relevant parameter of NandFlash;After conversion, merging file module 4 by subregion and file is carried out subregion making and merges, generating may finally the program file of batch programming and partitions of file table;Finally, call outside flashburn tools module 5 to call general off-line programing instrument and carry out batch programming.
As shown in Figure 2, on application interface during operation, the partitioned parameters of user file is imported by " selection logical partition configuration ", the parameter of flash memory NandFlash is imported by " selecting NandFlash parameter configuration ", the number of files that display can import in " number of display importing file ", the file meeting NandFlash form is generated by " generating programming file ", the file after merging subregion and Physical Extents table is generated by " making partitioned file ", call pre-configured programming tool by " programming program " and perform file, file and the partition table of generation is checked by " checking file destination ", the relevant information in each operating process is shown by " program process message display region ".
Below in conjunction with Fig. 3, the present invention is further illustrated.
After beginning, import the partitioned parameters of configuration and the parameter of target flash NandFlash, it is judged that whether the partitioned parameters of importing and the parameter of NandFlash be legal, if the determination result is YES, then what display can import treats programming original document number, and allows to import, otherwise, carry out message to show.
Import in order and treat programming original document accordingly, it is judged that whether legal import file, if the determination result is YES, then generate corresponding formatted file Computational Physics subregion according to the parameter of target flash NandFlash, otherwise, carry out message and show.
Merge file according to Physical Extents, generate the file after merging and Physical Extents table, call programming program means, import the file after merging and Physical Extents table, perform programming.
In sum, the present invention is capable of the mapping of NandFlash logical address and physical address, and program file converts to the file of respective file system file form, it is achieved partitions of file merges and disposable batch, off-line programming.

Claims (1)

1. an embedded multiprogram file off-line batch programming method, the method includes the step of following order:
(1) parameter of target flash NandFlash and the subregion start-stop logical address of program file are configured;
(2) import the multiple binary files treating programming, treat that programming file is sequentially carried out format conversion, subregion, merging according to the parameter of NandFlash to what import;
(3) generate can the batch program file of programming and partitions of file table, call off-line programing instrument and carry out batch programming;
In step (1), user is by the relevant parameter of user operation processing module configuration target flash NandFlash, and the start-stop logical address of the subregion of configurator file;Namely, after starting, the partitioned parameters of configuration and the parameter of target flash NandFlash are imported, it is judged that whether the partitioned parameters of importing and the parameter of NandFlash be legal, if the determination result is YES, then what display can import treats programming original document number, and allows to import, otherwise, carry out message to show;
In step (2), file imports module and imports the multiple binary files treating programming, and NandFlash file format generation module will treat that programming file carries out format conversion according to the relevant parameter of NandFlash;After conversion, merge file module by subregion file is carried out subregion making and merges, namely import in order and treat programming original document accordingly, whether legal judge to import file, if the determination result is YES, then corresponding formatted file Computational Physics subregion are generated according to the parameter of target flash NandFlash, otherwise, carry out message to show;File is merged according to Physical Extents;
In step (3), generate may finally the batch program file of programming and partitions of file table, finally, call outside flashburn tools module and call general off-line programing instrument and carry out batch programming;Namely generate the file after merging and Physical Extents table, call programming program means, import the file after merging and Physical Extents table, perform programming;
On application interface during operation, first imported the partitioned parameters of user file by " selection logical partition configuration " according to step (1), the parameter of flash memory NandFlash is imported by " selecting NandFlash parameter configuration ", further according to step (2) number of files that display can import in " number of display importing file ", the file meeting NandFlash form is generated by " generating programming file ", by " making partitioned file " finally according to the file after step (3) generation merging subregion and Physical Extents table, call pre-configured programming tool by " programming program " and perform file, file and the partition table of generation is checked by " checking file destination ", the relevant information in each operating process is shown by " program process message display region ".
CN201210577842.4A 2012-12-27 2012-12-27 A kind of embedded multiprogram file off-line batch programming method Active CN103019794B (en)

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 CN103019794A (en) 2013-04-03
CN103019794B true 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)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133743B (en) * 2014-07-22 2016-02-10 青岛智动精工电子有限公司 A kind of by burning file to the method for EMMC chip and device
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
CN106325905A (en) * 2015-06-30 2017-01-11 深圳市中兴微电子技术有限公司 A Flash burning method, single board, upper computer and system
CN105224359B (en) * 2015-09-07 2019-01-29 西安诺瓦电子科技有限公司 Program loading method
CN106528203B (en) * 2016-10-10 2019-10-18 上海无线电设备研究所 A kind of automated procedures programming method of multi-DSP chip
CN111159123B (en) * 2019-12-30 2023-07-14 中国兵器装备集团自动化研究所 Embedded reliable parameter storage file system and method
CN112073556B (en) * 2020-09-15 2021-11-09 成都申威科技有限责任公司 MAC address programming method for batch network cards, storage medium and terminal
CN113010186B (en) * 2021-02-05 2023-03-21 武汉联特科技股份有限公司 Firmware and application data integration method and system applied to optical module
CN114595204A (en) * 2022-02-28 2022-06-07 东风汽车集团股份有限公司 Data file splicing method

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN103019794A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103019794B (en) A kind of embedded multiprogram file off-line batch programming method
CN105373407A (en) DSP and FPGA online upgrading method for embedded system
UA104088C2 (en) Method and apparatus for determining interaction mode
JP2008532154A5 (en)
CN103176802B (en) Realize the method that the user interface UI of system separates with widget library by control pond
CN102787932A (en) Apparatus and method for matching and calibrating electric control diesel engine based on serial communication
CN103593527A (en) Design method for one-click setting of different types of routing rule BGAs in PCB
CN103645898A (en) Automatic scripting tool
CN102902526B (en) A kind of automation method to set up that realizes BMC and IP information by time delay
CN105095568A (en) Rapid modeling method for large draft fan
CN103324541A (en) Method for automatically transmitting data between software
CN103631586A (en) Method and system for carrying out contextualization interactive processing
US9575487B2 (en) Computer program, method, and system for optimized kit nesting
CN102194035A (en) Crane girder drawing parameterization design method
CN103034742B (en) A kind of method of quick generating device
CN103150189B (en) A kind of method to set up of intelligent electric energy meter parameter
CN103235750A (en) Unattended control system and method for computer
CN102195361B (en) Method for acquiring and processing data of intelligent distribution terminal of multi-core single chip
CN204407010U (en) Off line programming system
CN103605318B (en) Method and apparatus for function customization of CNC controller and CNC controller
CN111274667A (en) Cross-scale material calculation software integrated calculation system and method
CN105302557A (en) Thread establishing and processing method and apparatus
CN104391709A (en) File generation method and device
CN102354149A (en) Post-processing method of cutter location file generated by programming based on STIL (Standard Template Library) format model
CN103178808A (en) Waveform customization method and signal generator

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.