Beta
30809

Design for Testability Technique for Microcontroller

Article

Last updated: 04 Jan 2025

Subjects

-

Tags

-

Abstract

Testing of embedded system including microcontroller is difficult task with external Automatic Test Equipment (ATE). Therefore, empowering the microcontroller to test itself as software-based self-testing (SBST) looks the suitable solution like the microprocessor testing. Practically, the SBST is not suitable for microcontroller testing. It utilizes large space area in the program memory inside the microcontroller that has limited space area in the available memory. Also, it cannot test all microcontroller internal modules and when it test internal modules it cannot make sure that the General Purpose Input Output (GPIO) of the microcontroller work probably without using external ATE. So the Design for Testability (DFT)
methodology that uses Instruction Set Architecture (ISA) of the microcontroller family to generate test subroutines and for the Test Pattern Generator (TPG) and part of the Built-In Self-Test (BIST) control unit and uses the external ATE for the other part of the BIST control unit and for the test response compaction (TRC) and evaluation. This paper introduces a hybrid testing methodology that combines both SBST and hardware-based self-test (HBST) for microcontroller testing as an efficient DFT methodology. It introduces for either in the field or as part of a production test of a microcontroller as an example of the system of chip (SoC). This DFT methodology is based on divide and conquer algorithm and requires knowledge of the ISA of the microcontroller to test not only the embedded processor found in microcontroller but also test other peripherals found in it using brute force technique. The comparison between the SBST and the presented hybrid methodology is based on memory utilization, number of clock cycles that was taken to complete each test and the number of modules that can be tested using each of them. Experimental results indicate that the presented methodology is superior in memory utilization, test time and can test all microcontroller modules for both 18F4X2 and 16F87X families.

DOI

10.21608/iceeng.2012.30809

Keywords

Design-for-Tetability (DFT), Built-In Self-Test (BIST)

Authors

First Name

Sherif

Last Name

Morsy

MiddleName

I.

Affiliation

Egyptian Armed Forces.

Email

-

City

-

Orcid

-

First Name

Mohamed

Last Name

El-Mahlawy

MiddleName

H.

Affiliation

Egyptian Armed Forces.

Email

-

City

-

Orcid

-

First Name

Gouda

Last Name

Mohamed

MiddleName

I.

Affiliation

Egyptian Armed Forces.

Email

-

City

-

Orcid

-

Volume

8

Article Issue

8th International Conference on Electrical Engineering ICEENG 2012

Related Issue

5272

Issue Date

2012-05-01

Receive Date

2019-04-28

Publish Date

2012-05-01

Page Start

1

Page End

18

Print ISSN

2636-4433

Online ISSN

2636-4441

Link

https://iceeng.journals.ekb.eg/article_30809.html

Detail API

https://iceeng.journals.ekb.eg/service?article_code=30809

Order

63

Type

Original Article

Type Code

833

Publication Type

Journal

Publication Title

The International Conference on Electrical Engineering

Publication Link

https://iceeng.journals.ekb.eg/

MainTitle

Design for Testability Technique for Microcontroller

Details

Type

Article

Created At

22 Jan 2023