SoC test code programming method, IP test method and device

A technology for testing codes and testing methods, applied in software testing/debugging, architecture with a single central processing unit, and general-purpose stored program computers, etc., can solve the problem of low chip test coverage and achieve the effect of insufficient test coverage

Active Publication Date: 2019-05-21
SANECHIPS TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the technical problem that part or all of the IP of the chip cannot be tested in Test Mode, resulting in low test coverage during mass production, the embodiment of the present invention provides a test code programming method, IP test method and device for SoC chips

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SoC test code programming method, IP test method and device
  • SoC test code programming method, IP test method and device
  • SoC test code programming method, IP test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] A kind of test code burning method of SoC, such as figure 2 As shown, can include:

[0064] Step 201, cutting out the BOOT code, adding the code of the IP test case to the BOOT code, and corresponding the preset test instructions to the IP test case in the BOOT code, to obtain the test code;

[0065] Step 202, compiling the test code to generate a binary file;

[0066] Step 203, utilize the pre-written test pattern to write the binary file into the EMMC of the test platform by dynamic to static structure (Dynamic to Static, D2S) simulation Xmodem protocol, and the test pattern can include predefined combination information , the combined information includes predefined timing information and level information.

[0067] In this embodiment, the cutting BOOT code, before adding the code of the IP test case to the BOOT code, may also include: pre-configuring a test instruction set for SoC chip IP testing, the test instruction set includes at least one The test instructi...

Embodiment 2

[0100] The present embodiment provides a kind of IP test method of SoC chip, such as Figure 6 As shown, can include:

[0101] Step 601, the SoC chip obtains the test instruction from the test platform through the UART interface;

[0102] Step 602, the SoC chip loads the test code in the EMMC by the BOOT CPU, calls the corresponding IP test case of the test instruction and configures the registers, and completes the IP test;

[0103] Wherein, the test code includes IP test cases and corresponding test instructions.

[0104] In an implementation mode, the exemplary implementation process of the IP testing method of the above-mentioned SoC chip, such as Figure 7 As shown, can include:

[0105] Step 701, define a test instruction set, different instructions correspond to different IP test items, and different test cases can be invoked by sending instructions to the SoC during the test.

[0106] For example, taking High Definition Multimedia Interface (HDMI, High Definition M...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a SoC chip test code programming method, an IP test method and an IP test device. The SoC test code programming method comprises the steps of cutting a BOOT code, adding a codeof an IP test case to the BOOT code, and enabling a preset test instruction to correspond to the IP test case in the BOOT code to obtain a test code; compiling the test code to generate a binary file; and writing the binary file into an embedded multimedia card EMMC of the test platform through a D2S simulation Xmodem protocol by utilizing a pre-written test pattern, the test pattern comprising predefined combination information, and the combination information comprising predefined time sequence information and level information. According to the method, the code upgrading process is simplified, and the test code upgrading time is saved.

Description

technical field [0001] The invention relates to the technical field of chip testing, in particular to a SoC chip testing code programming method, IP testing method and device. Background technique [0002] Generally speaking, a system on a chip (SoC, System on Chip) integrates a microprocessor, an analog IP core, a digital IP core, an interconnection bus, a memory, etc. (or an off-chip storage control interface) on a single chip, and it is usually a customized , or standard products for specific applications. In some special application scenarios, the test mode (TestMode) was not set during chip design, or some key pins were not packaged for cost considerations, and the IP cannot be tested in Test Mode, resulting in insufficient chip test coverage during mass production. Contents of the invention [0003] In order to solve the technical problem that part or all of the IP of the chip cannot be tested in Test Mode, resulting in low test coverage during mass production, the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F15/78
Inventor 鲁帅李光耀
Owner SANECHIPS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products