[go: up one dir, main page]

CN114327516A - Circuit and method for modifying chip system memory to burn - Google Patents

Circuit and method for modifying chip system memory to burn Download PDF

Info

Publication number
CN114327516A
CN114327516A CN202111631843.8A CN202111631843A CN114327516A CN 114327516 A CN114327516 A CN 114327516A CN 202111631843 A CN202111631843 A CN 202111631843A CN 114327516 A CN114327516 A CN 114327516A
Authority
CN
China
Prior art keywords
flash
fpga
program
chip
system memory
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
Application number
CN202111631843.8A
Other languages
Chinese (zh)
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.)
Suzhou Hongxin Integrated Circuit Co ltd
Original Assignee
Suzhou Hongxin Integrated Circuit 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 Suzhou Hongxin Integrated Circuit Co ltd filed Critical Suzhou Hongxin Integrated Circuit Co ltd
Priority to CN202111631843.8A priority Critical patent/CN114327516A/en
Publication of CN114327516A publication Critical patent/CN114327516A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本发明公开了一种修改芯片系统存储器进行烧录的电路及方法,包括以下步骤:(1)编写FPGA工程文件;(2)将工程文件烧录至FPGA内;(3)完成电路连接;(4)开始烧录程序,由工程文件借助bist pad向flash输出控制指令从而修改系统存储器数据;(5)检测程序是否烧录成功。本发明利用芯片中flash的bist test pad,进入bist模式,通过fpga板连接待测芯片,给bist串行接口发送相应的擦写指令和内容,在芯片出厂后也可对系统存储器内容进行修改,便于测试BootLoader程序,方便芯片对flash的调试测试。

Figure 202111631843

The invention discloses a circuit and method for modifying a chip system memory for programming, comprising the following steps: (1) writing an FPGA project file; (2) programming the project file into the FPGA; (3) completing the circuit connection; ( 4) Start burning the program, and output control commands to the flash from the project file with the help of the bist pad to modify the system memory data; (5) Check whether the program is successfully burned. The invention uses the flash bist test pad in the chip to enter the bist mode, connects the chip to be tested through the fpga board, sends the corresponding erasing and writing instructions and contents to the bist serial interface, and can also modify the contents of the system memory after the chip leaves the factory. It is convenient to test the BootLoader program, and it is convenient for the debugging and testing of the chip to the flash.

Figure 202111631843

Description

一种修改芯片系统存储器进行烧录的电路及方法A circuit and method for modifying chip system memory for programming

技术领域technical field

本发明涉及一种修改芯片系统存储器进行烧录的电路及方法,属于芯片测试技术领域。The invention relates to a circuit and a method for modifying a chip system memory for programming, belonging to the technical field of chip testing.

背景技术Background technique

flash是存储芯片的一种,通过特定的程序可以修改里面的数据。flash在电子以及半导体领域内往往表示Flash Memory的意思,即平时所说的“闪存”。flash存储器又称闪存,它结合了ROM和RAM的长处,不仅具备电子可擦除可编程(EEPROM)的性能,还可以快速读取数据(NVRAM的优势),使数据不会因为断电而丢失。Flash is a type of memory chip, and the data in it can be modified by a specific program. Flash often means Flash Memory in the field of electronics and semiconductors, which is usually referred to as "flash memory". Flash memory, also known as flash memory, combines the advantages of ROM and RAM, not only has the performance of electronically erasable and programmable (EEPROM), but also can quickly read data (the advantage of NVRAM), so that data will not be lost due to power failure .

flash有3种启动模式,其中一种是借助system memory(系统存储器)中的BootLoader启动。系统存储器包含BootLoader程序,BootLoader程序可用于使用USART1串行接口对闪存重新编程。系统存储器通常只能够在芯片生产制造时写入内容,用户无法修改内容。为了能够测试所写的BootLoader程序,以及方便对flash的调试测试,我们需要在芯片出厂后也能够对系统存储器内容进行修改。The flash has 3 startup modes, one of which is to start with the BootLoader in the system memory (system memory). The system memory contains the BootLoader program, which can be used to reprogram the flash memory using the USART1 serial interface. System memory can usually only be written to when the chip is manufactured and cannot be modified by the user. In order to be able to test the written BootLoader program and to facilitate the debugging and testing of the flash, we need to be able to modify the system memory content after the chip leaves the factory.

此时,我们提出了一种修改芯片系统存储器进行烧录的电路及方法,flash的bist电路本意是为了解决测试flash区域物理故障和成品率的问题。工厂会通过test PAD进入测试模式,按照bist信号顺序发送不同的信号进入不同的测试模式,以测试flash存储区域是否有损坏,并记录坏区地址,用冗余扇区替换。根据此原理,在芯片出厂后测试时,我们利用bist test pad,进入bist模式,通过FPGA板连接芯片,给bist串行接口发送相应的擦写指令和内容,即可更改系统存储器里的内容,进行BootLoader测试。At this time, we propose a circuit and method for modifying the memory of the chip system for programming. The bist circuit of the flash is intended to solve the problem of testing the physical faults and yield of the flash area. The factory will enter the test mode through the test PAD, and send different signals to enter different test modes according to the sequence of the bist signal to test whether the flash storage area is damaged, and record the bad area address and replace it with redundant sectors. According to this principle, when the chip is tested after leaving the factory, we use the bist test pad to enter the bist mode, connect the chip through the FPGA board, and send the corresponding erase and write instructions and content to the bist serial interface, and then the content in the system memory can be changed. Run the BootLoader test.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种修改芯片系统存储器进行烧录的电路及方法,旨在更改系统存储器里的内容,便于后续进行BootLoader测试。The purpose of the present invention is to provide a circuit and method for modifying the system memory of a chip for programming, aiming at changing the content in the system memory, so as to facilitate subsequent BootLoader testing.

为实现上述目的,本发明提供如下技术方案:一种修改芯片系统存储器进行烧录的电路,包括FPGA、MCU测试板、待测芯片、下载器和上位机,待测芯片安装于MCU测试板上,使得flash与MCU测试板的对应引脚相连接,FPGA和MCU测试板电源引脚接入电源,FPGA和MCU测试板GND引脚接地,下载器一端与FPGA通过串口连接,下载器另一端与上位机相连接,FPGA与MCU测试板相连接,使得 FPGA的TDI、TCK、TDO、STROBE引脚与flash的 TDI、TCK、TDO、STROBE引脚对应连接,flash的TESTEN引脚置为高电平。In order to achieve the above purpose, the present invention provides the following technical solutions: a circuit for modifying a chip system memory for programming, including an FPGA, an MCU test board, a chip to be tested, a downloader and a host computer, and the chip to be tested is installed on the MCU test board. , so that the flash is connected to the corresponding pins of the MCU test board, the power pins of the FPGA and MCU test boards are connected to the power supply, the GND pins of the FPGA and MCU test boards are grounded, one end of the downloader is connected to the FPGA through the serial port, and the other end of the downloader is connected to The host computer is connected, and the FPGA is connected with the MCU test board, so that the TDI, TCK, TDO, STROBE pins of the FPGA are connected to the TDI, TCK, TDO, and STROBE pins of the flash correspondingly, and the TESTEN pin of the flash is set to high level .

本发明还公开了一种修改芯片系统存储器进行烧录的方法,采用上述的修改芯片系统存储器进行烧录的电路,具体包括以下步骤:The invention also discloses a method for modifying the chip system memory for programming, using the above-mentioned circuit for modifying the chip system memory for programming, which specifically includes the following steps:

(1)编写烧录所需的FPGA工程文件;(1) Write the FPGA project files required for programming;

(2)将工程文件烧录至FPGA内;(2) Burn the project file into the FPGA;

(3)完成上述的电路连接;(3) Complete the above circuit connection;

(4)按下FPGA的reset键,开始烧录程序,FPGA与flash通过bist pad通信,由工程文件借助bist pad向flash输出控制指令从而修改系统存储器数据;(4) Press the reset button of the FPGA to start programming the program. The FPGA communicates with the flash through the bist pad, and the project file uses the bist pad to output control commands to the flash to modify the system memory data;

(5)检测程序是否烧录成功,若是,则程序烧录完成,若不是,则重回步骤(4)后继续执行程序。(5) Check whether the program has been programmed successfully. If so, the program programming is completed. If not, go back to step (4) and continue to execute the program.

进一步地,上述修改芯片系统存储器进行烧录的方法,其中:所述步骤(1)中编写FPGA工程文件遵循flash IP bist协议,工程文件中的内容包括:将flash接口信号ERASE置高电平用于擦除flash内原系统存储器,将flash接口信号PROG置高电平用于烧录程序,在flash接口信号A和flash接口信号DIN分别写入地址和数据,实现系统存储器的修改。Further, the above-mentioned method for modifying the memory of the chip system for programming, wherein: the FPGA project file written in the step (1) follows the flash IP bist protocol, and the content in the project file includes: setting the flash interface signal ERASE to a high level to use To erase the original system memory in the flash, set the flash interface signal PROG to a high level for programming the program, and write the address and data in the flash interface signal A and the flash interface signal DIN respectively to realize the modification of the system memory.

进一步地,上述修改芯片系统存储器进行烧录的方法,其中:所述步骤(4)中FPGA的工程文件借助bist pad向flash输出控制指令从而修改系统存储器数据具体包括以下步骤:1.1、输出密码,进入测试模式test_mode;1.2、输出erase指令,将芯片内系统存储器内容擦除;1.3、输出program指以及prog地址和数据。Further, the above-mentioned method for modifying the system memory of a chip for programming, wherein: in the step (4), the project file of the FPGA outputs a control command to the flash by means of the bist pad, thereby modifying the system memory data specifically includes the following steps: 1.1, outputting a password, Enter the test mode test_mode; 1.2, output the erase command to erase the content of the on-chip system memory; 1.3, output the program and prog addresses and data.

进一步地,上述修改芯片系统存储器进行烧录的方法,其中:所述步骤(5)中具体包括以下步骤:5.1、将待测芯片断电后重新上电;5.2、用数据线连接上位机和MCU测试板;5.3、打开串口工具连接串口;5.4、读取器件信息和选项字节,查看是否正确,若是则执行下一步骤,若不是,则返回步骤(4)重新烧录程序;5.5、下载程序;5.6查看MCU测试板是否会执行相应功能,若是则检测成功说明系统存储器修改成功,若不是,则返回步骤(4)重新烧录程序。Further, the above-mentioned method for modifying the memory of the chip system for programming, wherein: the step (5) specifically includes the following steps: 5.1. Power off the chip to be tested and then power it on again; 5.2. Use a data cable to connect the host computer and MCU test board; 5.3. Open the serial port tool to connect the serial port; 5.4. Read the device information and option bytes to check if they are correct, if so, go to the next step, if not, go back to step (4) to re-program the program; 5.5, Download the program; 5.6 Check whether the MCU test board will perform the corresponding function. If the detection is successful, it means that the system memory has been modified successfully. If not, return to step (4) to re-program the program.

进一步地,上述的修改芯片系统存储器进行烧录的方法,其中:所述步骤5.5中下载程序为跑马灯或流水灯程序。Further, in the above-mentioned method for modifying the memory of the chip system for programming, wherein: the downloaded program in the step 5.5 is a marquee or a running water program.

本发明的有益效果是:本发明通过利用芯片中flash的bist test pad,进入bist模式,通过fpga板连接待测芯片,给bist串行接口发送相应的擦写指令和内容,在芯片出厂后也可对系统存储器内容进行修改,便于测试BootLoader程序,方便芯片对flash的调试测试。The beneficial effects of the invention are as follows: the invention enters the bist mode by using the bist test pad of the flash in the chip, connects the chip to be tested through the fpga board, and sends the corresponding erasing and writing instructions and contents to the bist serial interface. The content of the system memory can be modified to facilitate the testing of the BootLoader program and the debugging and testing of the flash by the chip.

附图说明Description of drawings

图1是本发明FPGA与flash引脚连接电路示意图;1 is a schematic diagram of the connection circuit between FPGA and flash pins of the present invention;

图2是程序烧录流程图;Figure 2 is a flow chart of program burning;

图3是工程文件借助bist pad向flash输出控制指令流程图;Figure 3 is a flowchart of the project file outputting control instructions to the flash by means of the bist pad;

图4是flash IP bist协议示意图;Figure 4 is a schematic diagram of the flash IP bist protocol;

图5是程序烧录完成后检验流程图。Fig. 5 is the check flow chart after the program programming is completed.

具体实施方式Detailed ways

为能进一步了解本发明的发明内容、特点及功效,配合附图详细说明如下。In order to further understand the content, features and effects of the present invention, a detailed description is given below with the accompanying drawings.

请同时参考图1至图5,下面将结合附图对本发明一种修改芯片系统存储器进行烧录的电路及方法作详细说明。Please refer to FIG. 1 to FIG. 5 at the same time, and a circuit and method for modifying a system-on-a-chip memory for programming according to the present invention will be described in detail below with reference to the accompanying drawings.

如图1所示,本发明所述的一种借助flash bist测试机制修改芯片内系统存储器进行烧录的电路包括FPGA、MCU测试板、待测芯片、下载器和上位机,待测芯片安装于MCU测试板上,使得flash与MCU测试板的对应引脚相连接,FPGA和MCU测试板电源引脚接入电源,FPGA和MCU测试板GND引脚接地,下载器一端与FPGA通过串口连接,下载器另一端与上位机相连接,FPGA与MCU测试板相连接,使得 FPGA的TDI、TCK、TDO、STROBE引脚与flash的 TDI、TCK、TDO、STROBE引脚对应连接,flash的TESTEN引脚置为高电平。As shown in FIG. 1 , a circuit of the present invention that uses the flash bist test mechanism to modify the in-chip system memory for programming includes an FPGA, an MCU test board, a chip to be tested, a downloader and a host computer, and the chip to be tested is installed in the On the MCU test board, the flash is connected to the corresponding pins of the MCU test board, the power pins of the FPGA and MCU test boards are connected to the power supply, the GND pins of the FPGA and MCU test boards are grounded, and one end of the downloader is connected to the FPGA through the serial port. The other end of the device is connected to the host computer, and the FPGA is connected to the MCU test board, so that the TDI, TCK, TDO, STROBE pins of the FPGA are connected to the TDI, TCK, TDO, and STROBE pins of the flash correspondingly, and the TESTEN pin of the flash is set to high level.

具体地,TESTEN为测试模式使能信号,为高时进入测试模式。TCK为测试时钟,TDI为测试输入,TDO为测试输出,STROBE为输入信号是否有效的控制信号。控制信号STROBE低电平有效,如果 STROBE 为低电平,则串行输入引脚TDI 的测试激励信号将被输入。当STROBE 设置为高时,TDI 中的数据将被忽略。Specifically, TESTEN is the test mode enable signal, and when it is high, the test mode is entered. TCK is the test clock, TDI is the test input, TDO is the test output, and STROBE is the control signal for whether the input signal is valid. The control signal STROBE is active low, if STROBE is low, the test excitation signal of the serial input pin TDI will be input. When STROBE is set high, data in TDI will be ignored.

如图2所示,本发明还公开了一种借助flash bist测试机制修改芯片内系统存储器进行烧录的电路的方法,包括以下步骤:As shown in FIG. 2 , the present invention also discloses a method for modifying the circuit of the in-chip system memory for programming by means of the flash bist test mechanism, including the following steps:

(1)编写烧录所需的FPGA工程文件;(2)将工程文件烧录至FPGA内;(3)完成上述的电路连接;(4)按下FPGA的reset键,开始烧录程序,FPGA与flash通过bist pad通信,由工程文件借助bist pad向flash输出控制指令从而修改系统存储器数据;(5)检测程序是否烧录成功,若是,则程序烧录完成,若不是,则重回步骤(4)后继续执行程序。所述步骤(4)中烧录程序后需等待20~40秒响应时间,优选为30秒。(1) Write the FPGA project files required for programming; (2) Burn the project files into the FPGA; (3) Complete the above circuit connections; (4) Press the reset button of the FPGA to start the programming program, FPGA Communicate with the flash through the bist pad, and the project file uses the bist pad to output control commands to the flash to modify the system memory data; (5) Check whether the program is successfully burned, if so, the program burning is completed, if not, go back to the step ( 4) and then continue to execute the program. After burning the program in the step (4), it is necessary to wait for a response time of 20 to 40 seconds, preferably 30 seconds.

所述步骤(1)中编写FPGA工程文件遵循flash IP bist协议,工程文件中的内容包括:将flash接口信号ERASE置高电平用于擦除flash内原系统存储器,将flash接口信号PROG置高电平用于烧录程序,在flash接口信号A和flash接口信号DIN分别写入地址和数据,实现系统存储器的修改。The FPGA project file written in the step (1) follows the flash IP bist protocol. The contents of the project file include: setting the flash interface signal ERASE to a high level to erase the original system memory in the flash, and setting the flash interface signal PROG to a high level Ping is used for programming programs, and addresses and data are written in flash interface signal A and flash interface signal DIN respectively to realize the modification of system memory.

如图3所示,所述步骤(4)中FPGA的工程文件借助bist pad向flash输出控制指令从而修改系统存储器数据具体包括以下步骤:1.1、输出密码,进入测试模式test_mode;1.2、输出erase指令,将芯片内系统存储器内容擦除;1.3、输出program指以及prog地址和数据。步骤1.2和步骤1.3之间需等待响应时间。As shown in Figure 3, in the step (4), the project file of the FPGA outputs the control command to the flash by means of the bist pad to modify the system memory data, which specifically includes the following steps: 1.1, output the password, and enter the test mode test_mode; 1.2, output the erase command , erase the content of the on-chip system memory; 1.3, output program and prog address and data. Response time is required between steps 1.2 and 1.3.

FPGA与flash之间的通信,在上述串行接口发送的指令遵循flash IP bist协议,具体参考图4,图4显示了协议串行输入引脚 TDI 的输入时序和输入顺序,其中,测试时钟TCK一般的测试频率可以设为1MHz、10MHz或20 MHz。For the communication between the FPGA and the flash, the instructions sent on the above serial interface follow the flash IP bist protocol. Refer to Figure 4 for details. Figure 4 shows the input timing and input sequence of the protocol serial input pin TDI. Among them, the test clock TCK The general test frequency can be set to 1MHz, 10MHz or 20MHz.

FPGA的测试输出引脚TDI向flash的测试输入引脚TDI串行输入信号按以下顺序发送:CEb, DEEPPD, OEb, WEb, PROG, PROG2,ERASE, CHIP, NVR, TMEN, CONFEN, VREAD0,VREAD1,BYTE, A, DIN, msa, msb, msc, msd, freq0, freq1, Tprog_conf0, Tprog_conf1, Terase_conf0, Terase_conf1;其中,CEb至DIN是flash IP接口信号,包含使能信号、编程擦除控制、地址、数据信号等,用来控制flash工作。串行输入数据流中的信号 msa、msb、msc、msd、freq0和 freq1 用于定义测试模式和工作频率。Tprog_conf0,Tprog_conf1信号用于设置字编程时间TPROG,Terase_conf0,Terase_conf1信号用来设置扇区/块擦除时间 TERASE。The test output pin TDI of the FPGA sends the serial input signal to the test input pin TDI of the flash in the following order: CEb, DEEPPD, OEb, WEb, PROG, PROG2, ERASE, CHIP, NVR, TMEN, CONFEN, VREAD0, VREAD1, BYTE, A, DIN, msa, msb, msc, msd, freq0, freq1, Tprog_conf0, Tprog_conf1, Terase_conf0, Terase_conf1; where CEb to DIN are flash IP interface signals, including enable signal, program erase control, address, data Signals, etc., are used to control the flash work. The signals msa, msb, msc, msd, freq0, and freq1 in the serial input data stream are used to define the test mode and operating frequency. Tprog_conf0, Tprog_conf1 signals are used to set the word programming time TPROG, Terase_conf0, Terase_conf1 signals are used to set the sector/block erase time TERASE.

如图4所示,所述步骤(5)中具体包括以下步骤:5.1、将待测芯片断电后重新上电;5.2、用数据线连接上位机和MCU测试板;5.3、打开串口工具连接串口;5.4、读取器件信息和选项字节,查看是否正确,若是则执行下一步骤,若不是,则返回步骤(4)重新烧录程序;5.5、下载程序;5.6查看MCU测试板是否会执行相应功能,若是则检测成功说明系统存储器修改成功,若不是,则返回步骤(4)重新烧录程序。所述步骤5.5下载程序为跑马灯或流水灯程序,所述步骤5.6中查看MCU测试板其LED是否会根据程序执行相应的发光或熄灭。As shown in Figure 4, the step (5) specifically includes the following steps: 5.1. Power off the chip to be tested and then power it on again; 5.2. Connect the host computer and the MCU test board with a data cable; 5.3. Open the serial port tool to connect Serial port; 5.4. Read the device information and option bytes to see if they are correct. If so, go to the next step. If not, go back to step (4) to re-program the program; 5.5. Download the program; 5.6 Check whether the MCU test board will Execute the corresponding function. If the detection is successful, it means that the system memory has been modified successfully. If not, return to step (4) to re-program the program. The downloaded program in step 5.5 is a marquee or running water program. In step 5.6, check whether the LED of the MCU test board will light up or turn off according to the program.

通过以上描述可以看出,本发明通过利用芯片中flash的bist test pad,进入bist模式,通过fpga板连接待测芯片,给bist串行接口发送相应的擦写指令和内容,在芯片出厂后也可对系统存储器内容进行修改,便于测试BootLoader程序,方便芯片对flash的调试测试。It can be seen from the above description that the present invention enters the bist mode by using the bist test pad of the flash in the chip, connects the chip to be tested through the fpga board, and sends the corresponding erasing and writing instructions and contents to the bist serial interface. The content of the system memory can be modified to facilitate the testing of the BootLoader program and the debugging and testing of the flash by the chip.

当然,以上只是本发明的典型实例,除此之外,本发明还可以有其它多种具体实施方式,凡采用等同替换或等效变换形成的技术方案,均落在本发明要求保护的范围之内。Of course, the above are only typical examples of the present invention. In addition, the present invention can also have other various specific embodiments. All technical solutions formed by equivalent replacement or equivalent transformation fall within the scope of protection of the present invention. Inside.

Claims (6)

1. A circuit for modifying a system-on-chip memory for burning, comprising: including FPGA, MCU surveys the board, the chip that awaits measuring, downloader and host computer, the chip that awaits measuring is installed on MCU surveys the board, make flash be connected with MCU survey the corresponding pin of board, FPGA and MCU survey board power pin and insert the power, FPGA and MCU survey board GND pin ground connection, downloader one end passes through serial ports with FPGA, the downloader other end is connected with the host computer, FPGA surveys the board with MCU and is connected, make FPGA's TDI, TCK, TDO, STROBE pin and flash's TDI, TCK, TDO, STROBE pin corresponds the connection, flash's TESTING pin is the high level.
2. A method for modifying a system-on-chip memory for programming, wherein the circuit for modifying a system-on-chip memory for programming as claimed in claim 1 comprises the steps of:
(1) writing an FPGA engineering file required by burning; (2) burning the engineering file into the FPGA; (3) completing the circuit connection; (4) pressing a reset key of the FPGA to start burning a program, communicating the FPGA and the flash through a bistpad, and outputting a control instruction to the flash by the engineering file through the bistpad so as to modify the data of a system memory; (5) and (4) detecting whether the program is burnt successfully, if so, finishing the program burning, and if not, repeating the step (4) and then continuing to execute the program.
3. The method of claim 2, wherein the method further comprises: the FPGA engineering file written in the step (1) follows a flash IP bist protocol, and the content in the engineering file comprises: the high level of the flash interface signal ERASE is used for erasing the original system memory in the flash, the high level of the flash interface signal PROG is used for burning programs, and addresses and data are respectively written in the flash interface signal A and the flash interface signal DIN, so that the modification of the system memory is realized.
4. The method of claim 2, wherein the method further comprises: the step (4) of outputting the control instruction to the flash by the engineering file of the FPGA by means of the bistpad so as to modify the data of the system memory specifically comprises the following steps: 1.1, outputting a password, and entering a test mode test _ mode; 1.2, outputting an erase instruction, and erasing the content of a system memory in the chip; 1.3, outputting program finger and prog address and data.
5. The method of claim 2, wherein the method further comprises: the step (5) specifically comprises the following steps: 5.1, powering off the chip to be tested and then powering on again; 5.2, connecting the upper computer and the MCU test board by using a data line; 5.3, opening a serial port tool to connect a serial port; 5.4, reading the device information and the option bytes, checking whether the device information and the option bytes are correct, if so, executing the next step, and if not, returning to the step (4) to burn the program again; 5.5, downloading a program; 5.6 checking whether the MCU test board executes the corresponding function, if so, successfully detecting to indicate that the system memory is successfully modified, and if not, returning to the step (4) to re-burn the program.
6. The method of claim 5, wherein the method further comprises: and 5.5, the downloading program is a horse race lamp or water lamp program.
CN202111631843.8A 2021-12-29 2021-12-29 Circuit and method for modifying chip system memory to burn Pending CN114327516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111631843.8A CN114327516A (en) 2021-12-29 2021-12-29 Circuit and method for modifying chip system memory to burn

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111631843.8A CN114327516A (en) 2021-12-29 2021-12-29 Circuit and method for modifying chip system memory to burn

Publications (1)

Publication Number Publication Date
CN114327516A true CN114327516A (en) 2022-04-12

Family

ID=81015618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111631843.8A Pending CN114327516A (en) 2021-12-29 2021-12-29 Circuit and method for modifying chip system memory to burn

Country Status (1)

Country Link
CN (1) CN114327516A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220978A (en) * 2022-09-19 2022-10-21 瀚博半导体(上海)有限公司 Chip starting method and device including online debugging mode, chip and equipment
CN115767818A (en) * 2022-12-13 2023-03-07 深圳市美矽微半导体有限公司 Control method for LED lighting mode
CN117194346A (en) * 2023-11-06 2023-12-08 上海合见工业软件集团有限公司 Download file clearing method, electronic equipment and storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010050573A1 (en) * 1999-04-07 2001-12-13 Austin C. Dumbri Chip-on-chip testing using bist
US20030106004A1 (en) * 2001-12-04 2003-06-05 Intellitech Corporation Method and apparatus for embedded built-in self-test (BIST) of electronic circuits and systems
CN1627516A (en) * 2003-12-10 2005-06-15 上海华虹Nec电子有限公司 Test module and test method in use for electrical erasable memory built in chip
US20050204233A1 (en) * 2004-02-26 2005-09-15 Samsung Electronics Co., Ltd. System-on-chip (SOC) having built-in-self-test circuits and a self-test method of the SOC
TW200636266A (en) * 2005-01-24 2006-10-16 Spansion Llc Automated tests for built-in self test
US20100042879A1 (en) * 2008-08-14 2010-02-18 Ipgoal Microelectronics (Sichuan) Co., Ltd. Method of memory build-in self-test
CN101706746A (en) * 2009-11-11 2010-05-12 盛科网络(苏州)有限公司 Device and method for carrying out online debugging on memory interface circuit
US7761754B1 (en) * 2008-03-25 2010-07-20 Altera Corporation Techniques for testing memory circuits
CN201655336U (en) * 2010-03-24 2010-11-24 青岛海信电器股份有限公司 Serial flash debugging circuit based on FPGA and television set with same
CN102157205A (en) * 2011-05-10 2011-08-17 北京航空航天大学 Method for testing fault of multiposition memorizer inlaid in FPGA
CN102332308A (en) * 2009-11-11 2012-01-25 盛科网络(苏州)有限公司 Method for debugging memory interface circuit on line
CN102540050A (en) * 2010-12-20 2012-07-04 安凯(广州)微电子技术有限公司 Method and device for testing chip
CN103000230A (en) * 2011-09-09 2013-03-27 上海华虹Nec电子有限公司 Nonvolatile memory IP core test and verify exploitation system
CN104751896A (en) * 2015-04-17 2015-07-01 上海华虹宏力半导体制造有限公司 Built-in self-testing circuit
CN107301880A (en) * 2017-06-15 2017-10-27 西安微电子技术研究所 A kind of BIST Structure of piece upper embedded Flash
CN108345752A (en) * 2018-02-24 2018-07-31 北京智芯微电子科技有限公司 The life characteristic appraisal procedure of wafer scale nonvolatile memory
CN109283451A (en) * 2018-09-18 2019-01-29 电子科技大学 A system and method for detecting good quality of integrated circuits
CN112542199A (en) * 2020-12-30 2021-03-23 深圳市芯天下技术有限公司 Method, circuit, storage medium and terminal for detecting flash storage error

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010050573A1 (en) * 1999-04-07 2001-12-13 Austin C. Dumbri Chip-on-chip testing using bist
US20030106004A1 (en) * 2001-12-04 2003-06-05 Intellitech Corporation Method and apparatus for embedded built-in self-test (BIST) of electronic circuits and systems
CN1627516A (en) * 2003-12-10 2005-06-15 上海华虹Nec电子有限公司 Test module and test method in use for electrical erasable memory built in chip
US20050204233A1 (en) * 2004-02-26 2005-09-15 Samsung Electronics Co., Ltd. System-on-chip (SOC) having built-in-self-test circuits and a self-test method of the SOC
TW200636266A (en) * 2005-01-24 2006-10-16 Spansion Llc Automated tests for built-in self test
US7761754B1 (en) * 2008-03-25 2010-07-20 Altera Corporation Techniques for testing memory circuits
US20100042879A1 (en) * 2008-08-14 2010-02-18 Ipgoal Microelectronics (Sichuan) Co., Ltd. Method of memory build-in self-test
CN102332308A (en) * 2009-11-11 2012-01-25 盛科网络(苏州)有限公司 Method for debugging memory interface circuit on line
CN101706746A (en) * 2009-11-11 2010-05-12 盛科网络(苏州)有限公司 Device and method for carrying out online debugging on memory interface circuit
CN201655336U (en) * 2010-03-24 2010-11-24 青岛海信电器股份有限公司 Serial flash debugging circuit based on FPGA and television set with same
CN102540050A (en) * 2010-12-20 2012-07-04 安凯(广州)微电子技术有限公司 Method and device for testing chip
CN102157205A (en) * 2011-05-10 2011-08-17 北京航空航天大学 Method for testing fault of multiposition memorizer inlaid in FPGA
CN103000230A (en) * 2011-09-09 2013-03-27 上海华虹Nec电子有限公司 Nonvolatile memory IP core test and verify exploitation system
CN104751896A (en) * 2015-04-17 2015-07-01 上海华虹宏力半导体制造有限公司 Built-in self-testing circuit
CN107301880A (en) * 2017-06-15 2017-10-27 西安微电子技术研究所 A kind of BIST Structure of piece upper embedded Flash
CN108345752A (en) * 2018-02-24 2018-07-31 北京智芯微电子科技有限公司 The life characteristic appraisal procedure of wafer scale nonvolatile memory
CN109283451A (en) * 2018-09-18 2019-01-29 电子科技大学 A system and method for detecting good quality of integrated circuits
CN112542199A (en) * 2020-12-30 2021-03-23 深圳市芯天下技术有限公司 Method, circuit, storage medium and terminal for detecting flash storage error

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
杜影;赵文彦;安佰岳;: "基于FPGA的板级BIST设计和实现策略", 计算机测量与控制, no. 03, 25 March 2008 (2008-03-25), pages 389 - 391 *
梁合庆: "设计SOC所必备的技术", 电子产品世界, 4 September 1999 (1999-09-04), pages 64 *
梁超: "设计中的内置自测试设计与测试专家论内置自测试", 国外电子测量技术, 15 June 1998 (1998-06-15), pages 2 *
田泽: "《SoC设计方法学》", 31 December 2016, 西北工业大学出版社, pages: 274 *
郭巍巍: "一种嵌入式Flash存储器的内建自测试电路的设计", 复旦大学, 31 March 2016 (2016-03-31), pages 59 *
鉴海防, 王占和, 李印增, 张昭勇: "SoC嵌入式flash存储器的内建自测试设计", 微电子学与计算机, no. 04, 20 May 2005 (2005-05-20) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220978A (en) * 2022-09-19 2022-10-21 瀚博半导体(上海)有限公司 Chip starting method and device including online debugging mode, chip and equipment
CN115767818A (en) * 2022-12-13 2023-03-07 深圳市美矽微半导体有限公司 Control method for LED lighting mode
CN115767818B (en) * 2022-12-13 2023-11-17 深圳市美矽微半导体股份有限公司 Control method for LED lighting mode
CN117194346A (en) * 2023-11-06 2023-12-08 上海合见工业软件集团有限公司 Download file clearing method, electronic equipment and storage medium
CN117194346B (en) * 2023-11-06 2024-01-23 上海合见工业软件集团有限公司 Download file clearing method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114327516A (en) Circuit and method for modifying chip system memory to burn
US8341337B1 (en) Data storage device booting from system data loaded by host
JP6557220B2 (en) Programmable interface-based verification and debugging
TWI408597B (en) Initialization of flash storage via an embedded controller
JP2003114260A (en) Embedded memory of asic and built-in self-testing method using processor
CN107479918B (en) Reconfigurable FPGA (field programmable Gate array) model for MCU (microprogrammed control Unit) burning
US20120198292A1 (en) Test apparatus and test method
CN108519889B (en) JTAG standard-based FPGA program remote upgrading system and method
CN115312110A (en) Chip verification system and verification method thereof
EP4318284A1 (en) Secure boot device and method
TW201419294A (en) Chip with embedded non-volatile memory and testing method therefor
CN106775855B (en) Eclipse-based flash programming method, plug-in and system
CN114664369A (en) Memory chip testing method and device
US20060047994A1 (en) Method for burning BIOS
TWI640872B (en) Memory control circuit unit, memory storage device and control method thereof
CN114692540A (en) FLASH application verification system based on FPGA
CN212364515U (en) A SOC chip automatic QC device
KR20020082799A (en) Single-chip microcomputer with dynamic burn-in test function and dynamic burn-in testing method therefor
CN110570897B (en) Memory detection system, memory detection method and error mapping table establishment method
CN115691647A (en) Multi-channel Flash memory performance test system based on FPGA
CN114489742A (en) Upgrading method and system for improving on-line upgrading efficiency of FPGA in ATE equipment
TW202209118A (en) Chip, designing method and failure analysis method thereof
TWI327710B (en) Method for burning bios online
TWI794996B (en) Apparatus and system for debugging solid state disk devices
CN114220473B (en) A test circuit and method for flash read protection change

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