Pre-testing Flash Device Driver through Model Checking Techniques

  • Authors:
  • Moonzoo Kim;Yunja Choi;Yunho Kim;Hotae Kim

  • Affiliations:
  • -;-;-;-

  • Venue:
  • ICST '08 Proceedings of the 2008 International Conference on Software Testing, Verification, and Validation
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Flash memory has become virtually indispensable in most mobile devices, such as mobile phones, digital cameras, mp3 players, etc. In order for mobile devices to successfully provide services, it is essential that flash memory be controlled correctly through the device driver software. However, as is typical for embedded software, conventional testing methods often fail to detect hidden flaws in the complex device driver software. This deficiency incurs significant development and operation overhead to the manufacturers. As a complementary approach to improve the reliability of embedded software, model checking provides a complete analysis of a target model but the size of the target software is limited due to the state explosion problem.In this project, we have verified the correctness of a multi-sector read operation of Samsung OneNANDTM flash device driver by using both model checking and testing. We started the verification task with the model checkers NuSMV and Spin for an exhaustive analysis of a small size flash as a pre-testing step. We then set up a testbed based on a formal model used for model checking and performed testing on a large size flash. Through these verification tasks, we could successfully verify the correctness of the multi-sector read operation with both complete exploration of model checking and scalability of testing.