CN109165030A - A kind of online programming test method of single-chip microcontroller - Google Patents
A kind of online programming test method of single-chip microcontroller Download PDFInfo
- Publication number
- CN109165030A CN109165030A CN201811044617.8A CN201811044617A CN109165030A CN 109165030 A CN109165030 A CN 109165030A CN 201811044617 A CN201811044617 A CN 201811044617A CN 109165030 A CN109165030 A CN 109165030A
- Authority
- CN
- China
- Prior art keywords
- chip microcontroller
- programming
- file
- vector
- test
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention discloses a kind of online programming test method of single-chip microcontroller, belongs to singlechip technology field.Single-chip microcontroller programming file is provided first;Then the single-chip microcontroller programming file is converted programming vector by transcoding software;Last board test program first calls programming vector that tester table is made recall test vector in line writing and carry out breakdown judge to single-chip microcontroller to single-chip microcontroller.The separated method of the programming of single-chip microcontroller routine and test is classified as the method tested in line writing, solves the limitation of downloader programming, it is simple to operation.Reduce hardware cost compared with conventional downloader programming and testing method, reduces the manual operation in test process, improve production efficiency.
Description
Technical field
The present invention relates to singlechip technology field, in particular to the online programming test method of a kind of single-chip microcontroller.
Background technique
Single-chip microcontroller is a kind of IC chip, is to use very large scale integration technology CPU, at random
Memory access device, read-only memory, a variety of input/output ports and interrupt system, the functions such as timer are integrated into structure on one piece of silicon wafer
At a small and perfect microcomputer system, be widely used in industrial control field.
Conventional mcu programming test method is will to program and test to separate, and mainly passes through data communication using host computer
Interface downloads to programming program in single-chip microcontroller, then again by test equipment to input and read output, to judge monolithic
The quality of machine.But conventional test method does not get rid of downloader and excessive manual operation, spends during programming big
The testing time of amount, and programming program more than one cause production efficiency inclined so that testing process is complicated and testing cost is high
It is low.
Summary of the invention
The purpose of the present invention is to provide a kind of online programming test method of single-chip microcontroller, with solve conventional test methodologies according to
Rely downloader and testing process is complicated, the relatively low problem of production efficiency.
In order to solve the above technical problems, the present invention provides a kind of online programming test method of single-chip microcontroller, including walk as follows
It is rapid:
Single-chip microcontroller programming file is provided;
The single-chip microcontroller programming file is converted programming vector by transcoding software;
Board test program first calls programming vector that tester table is made to carry out recalling test vector pair in line writing to single-chip microcontroller
Single-chip microcontroller carries out breakdown judge.
Optionally, the test vector is to write out test vector formatted file according to test request and convert to obtain.
Optionally, the transcoding software by microcomputer development software, single-chip microcontroller programming file turn serial vector file software,
Serial vector file favourable turn platform vector format software and board transcoding software composition.
Optionally, the microcomputer development software is provided by official of single-chip microcontroller manufacturer, for generating single-chip microcontroller programming text
Part.
Optionally, the single-chip microcontroller programming file turns serial vector file software for converting single-chip microcontroller programming file to
Serial vector file.
Optionally, the serial vector file favourable turn platform vector format software is used to convert board for serial vector file
Vector format file.
Optionally, the board transcoding software by the board vector format file converted by single-chip microcontroller programming file and
The test vector formatted file write according to test request is separately converted to programming PATTERN file and the test of vector format
PATTERN file.
Optionally, the single-chip microcontroller programming file is the United States Information Exchange Standard Code text file of recording text row, is
The machine code or data constant of hexadecimal number composition are automatically generated by official's exploitation software of each single-chip microcontroller producer.
A kind of online programming test method of single-chip microcontroller is provided in the present invention, first offer single-chip microcontroller programming file;
Then the single-chip microcontroller programming file is converted programming vector by transcoding software;Last board test program first calls programming vector
Tester table is set recall test vector in line writing and carry out breakdown judge to single-chip microcontroller to single-chip microcontroller.Single-chip microcontroller is normal
The method that the programming and test of rule are separated is classified as the method tested in line writing, solves the limitation of downloader programming, simple easy
Operation.Reduce hardware cost compared with conventional downloader programming and testing method, reduces the manual operation in test process, mention
High production efficiency.
Detailed description of the invention
Fig. 1 is the flow diagram of the online programming test method for the single-chip microcontroller that the embodiment of the present invention one provides;
Fig. 2 is the functional block diagram of the online programming test method for the single-chip microcontroller that the embodiment of the present invention one provides;
Fig. 3 is the flow diagram of transcoding software.
Specific embodiment
Below in conjunction with the drawings and specific embodiments to a kind of online programming test method work of single-chip microcontroller proposed by the present invention
It is further described.According to following explanation and claims, advantages and features of the invention will be become apparent from.It should be noted
It is that attached drawing is all made of very simplified form and using non-accurate ratio, only to facilitate, lucidly aid in illustrating this hair
The purpose of bright embodiment.
Embodiment one
The present invention provides a kind of online programming test methods of single-chip microcontroller, and process is as shown in Figure 1, include the following steps:
Step S11: single-chip microcontroller programming file is provided;
Step S12: the single-chip microcontroller programming file is converted programming vector by transcoding software;
Step S13: board test program first call programming vector make tester table to single-chip microcontroller carry out programming, recall test to
Amount carries out breakdown judge to single-chip microcontroller.
Wherein, the test vector is to write out test vector formatted file according to test request and convert to obtain.It is described
The online programming test method of single-chip microcontroller is used to carry out fault detection to single chip circuit, instead of conventional test method, solves
The problem of downloader programming and manual operation complexity.Functional block diagram is as shown in Figure 2.
Test board, connection single-chip microcontroller, test board and tester table are welded according to single-chip microcontroller demand to be measured.Monolithic machine burning is provided
Written document, the single-chip microcontroller programming file are the United States Information Exchange Standard Code text files of recording text row, are hexadecimal
Array at machine code or data constant, by each single-chip microcontroller producer official exploitation software automatically generate.
The single-chip microcontroller programming file is converted programming vector sum test vector by transcoding software.Specifically, the transcoding
Software turns serial vector file software, serial vector file favourable turn platform vector by microcomputer development software, single-chip microcontroller programming file
Format software and board transcoding software composition.The microcomputer development software is provided by official of single-chip microcontroller manufacturer, for generating
Single-chip microcontroller programming file.It is Microsoft Visual Studio that the single-chip microcontroller programming file, which turns serial vector file software,
The software generated under 2008 platforms by self-programming, for converting serial vector file for single-chip microcontroller programming file;Serially
Vector file is mainly used to control boundary-scan port sending and receiving data.As shown in figure 3, being obtained under single-chip microcontroller by logic analyser
The timing of four pins of boundary-scan port when load goes out literary from single-chip microcontroller programming with a series of single-chip microcontroller by induction and conclusion
Part is converted into the rule of serial vector file, generates single-chip microcontroller programming file and turns serial vector file software.The serial vector
File makes a connection platform vector format software to generate under 2008 platform of Microsoft Visual Studio by self-programming
Software, for converting board vector format file for serial vector file.Please continue to refer to Fig. 3, by serial vector file
Instruction is converted into binary file according to command protocols, then converts machine for binary file according to the tester table demand
Platform vector format file.The board transcoding software by the board vector format file converted by single-chip microcontroller programming file and
The test vector formatted file write according to test request is separately converted to programming PATTERN file and the test of vector format
PATTERN file.
Board test program first calls programming PATTERN file to enter single-chip microcontroller by boundary scan interface programming and carries out online
Programming recalls test PATTERN file and tests single-chip microcontroller, and then carries out breakdown judge to single-chip microcontroller.
The separated method of the programming of single-chip microcontroller routine and test is classified as the method tested in line writing, solves downloader
The limitation of programming, it is simple to operation.Reduce hardware cost compared with conventional downloader programming and testing method, reduces and tested
Manual operation in journey, improves production efficiency.
Foregoing description is only the description to present pre-ferred embodiments, not to any restriction of the scope of the invention, this hair
Any change, the modification that the those of ordinary skill in bright field does according to the disclosure above content, belong to the protection of claims
Range.
Claims (8)
1. a kind of online programming test method of single-chip microcontroller, which comprises the steps of:
Single-chip microcontroller programming file is provided;
The single-chip microcontroller programming file is converted programming vector by transcoding software;
Board test program first calls programming vector that tester table is made to carry out recalling test vector pair in line writing to single-chip microcontroller
Single-chip microcontroller carries out breakdown judge.
2. the online programming test method of single-chip microcontroller as described in claim 1, which is characterized in that the test vector is basis
Test request is write out test vector formatted file and is converted and obtains.
3. the online programming test method of single-chip microcontroller as claimed in claim 2, which is characterized in that the transcoding software is by monolithic
Machine develop software, single-chip microcontroller programming file turn serial vector file software, serial vector file favourable turn platform vector format software and
Board transcoding software composition.
4. the online programming test method of single-chip microcontroller as claimed in claim 3, which is characterized in that the microcomputer development software
It is to be provided by official of single-chip microcontroller manufacturer, for generating single-chip microcontroller programming file.
5. the online programming test method of single-chip microcontroller as claimed in claim 4, which is characterized in that the single-chip microcontroller programming file
Turn serial vector file software to be used to convert serial vector file for single-chip microcontroller programming file.
6. the online programming test method of single-chip microcontroller as claimed in claim 5, which is characterized in that the serial vector file turns
Board vector format software is used to convert board vector format file for serial vector file.
7. the online programming test method of single-chip microcontroller as claimed in claim 6, which is characterized in that the board transcoding software will
The board vector format file converted by single-chip microcontroller programming file and the test vector format text write according to test request
Part is separately converted to the programming PATTERN file and test PATTERN file of vector format.
8. the online programming test method of single-chip microcontroller as described in claim 1, which is characterized in that the single-chip microcontroller programming file
It is the United States Information Exchange Standard Code text file of recording text row, is that machine code or the data of hexadecimal number composition are normal
Amount is automatically generated by official's exploitation software of each single-chip microcontroller producer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811044617.8A CN109165030A (en) | 2018-09-07 | 2018-09-07 | A kind of online programming test method of single-chip microcontroller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811044617.8A CN109165030A (en) | 2018-09-07 | 2018-09-07 | A kind of online programming test method of single-chip microcontroller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109165030A true CN109165030A (en) | 2019-01-08 |
Family
ID=64894347
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811044617.8A Pending CN109165030A (en) | 2018-09-07 | 2018-09-07 | A kind of online programming test method of single-chip microcontroller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109165030A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110082666A (en) * | 2019-04-10 | 2019-08-02 | 浙江省北大信息技术高等研究院 | Chip testing analysis method, device, equipment and storage medium |
CN111983438A (en) * | 2020-08-31 | 2020-11-24 | 中国电子科技集团公司第五十八研究所 | On-line programming test method for FPGA |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102466776A (en) * | 2010-11-19 | 2012-05-23 | 北京自动测试技术研究所 | Batch test method for complex programmable logic device |
CN104035023A (en) * | 2013-03-07 | 2014-09-10 | 上海宏测半导体科技有限公司 | Testing method and system of MCU |
CN104515947A (en) * | 2014-12-12 | 2015-04-15 | 中国电子科技集团公司第五十八研究所 | Rapid configuration and test method for programmable logic device in system programming |
CN107391215A (en) * | 2017-09-25 | 2017-11-24 | 南京科拓软件科技有限公司 | The system that a kind of ECU embedded softwares refresh and download programming |
-
2018
- 2018-09-07 CN CN201811044617.8A patent/CN109165030A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102466776A (en) * | 2010-11-19 | 2012-05-23 | 北京自动测试技术研究所 | Batch test method for complex programmable logic device |
CN104035023A (en) * | 2013-03-07 | 2014-09-10 | 上海宏测半导体科技有限公司 | Testing method and system of MCU |
CN104515947A (en) * | 2014-12-12 | 2015-04-15 | 中国电子科技集团公司第五十八研究所 | Rapid configuration and test method for programmable logic device in system programming |
CN107391215A (en) * | 2017-09-25 | 2017-11-24 | 南京科拓软件科技有限公司 | The system that a kind of ECU embedded softwares refresh and download programming |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110082666A (en) * | 2019-04-10 | 2019-08-02 | 浙江省北大信息技术高等研究院 | Chip testing analysis method, device, equipment and storage medium |
CN110082666B (en) * | 2019-04-10 | 2022-02-22 | 杭州微纳核芯电子科技有限公司 | Chip test analysis method, device, equipment and storage medium |
CN111983438A (en) * | 2020-08-31 | 2020-11-24 | 中国电子科技集团公司第五十八研究所 | On-line programming test method for FPGA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112580295B (en) | Automatic verification method, system and device for multi-core SoC chip | |
US6061283A (en) | Semiconductor integrated circuit evaluation system | |
CN107907814B (en) | Method for improving mass production test efficiency of chips | |
CN115202947A (en) | Chip test vector generation method based on debugging interface | |
CN110632499B (en) | Test vector generation method based on test object and storage medium | |
CN111104269B (en) | UART interface-based processor debugging method and system | |
CN110058147B (en) | Chip testing system and method based on fpga | |
CN112100949A (en) | Automatic development method and device of integrated circuit chip and electronic equipment | |
CN109885905B (en) | Verification system for improving function verification efficiency of digital circuit | |
CN101515243A (en) | Graphic display card test system and method | |
CN112014726A (en) | DSP chip testing device and method | |
CN101102566B (en) | A design method and debugging method for mobile phone JTAG debugging interface signals | |
CN109165030A (en) | A kind of online programming test method of single-chip microcontroller | |
CN116227398B (en) | Method and system for automatically generating IP core test stimulus | |
CN107290654A (en) | A kind of fpga logic test structure and method | |
CN108957301B (en) | Test method and device for testable chip and built-in circuit of testable chip | |
CN113160875B (en) | Chip test system and test method | |
CN114816868A (en) | Method for realizing serial interface chip test | |
CN107784185B (en) | Method and device for extracting pseudo path in gate-level netlist and terminal equipment | |
CN117370088A (en) | Performance test method and system for artificial intelligent accelerator card of domestic heterogeneous platform | |
JP3003587B2 (en) | Individual test program creation method | |
US6536020B2 (en) | Efficient generation of optimum test data | |
JP2001060210A (en) | Lsi verification method and device and recording medium | |
CN111459730A (en) | PCH (physical channel) end parameter adjusting method and system under Whitley platform | |
CN116451617A (en) | Information processing method, device and application based on simulation waveform in chip simulation |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190108 |