摘要 |
PURPOSE: A method for programming a flash ROM using a boundary scan chain is provided to enhance a program speed by programming a target through the boundary scan chain for a BST(Boundary Scan Test), and to increase a number of targets programmed at the same time by using a target based programming method while using an BST equipment. CONSTITUTION: The flash ROM is erased by sending an erase signal to the flash ROM through the boundary scan chain(101). The program and the download data are uploaded to a RAM by using the boundary scan chain(103). An instruction to jump to a start address on a memory map of the RAM is downloaded to the start address of the flash ROM by using the boundary scan chain(105). A reset signal is applied to a CPU by using an in-test instruction of the boundary scan chain(107). The CPU downloads the data to the flash ROM by using the program stored in the RAM and sends a download finish signal through a predetermined pin of the CPU after downloading all data(111). While monitoring the predetermined pin of the flash ROM by using a sampling instruction, a controller downloads the data to the RAM again by starting control of the boundary scan chain if the download finish signal is detected.
|