Internet of Things. IoT Infrastructures. Second International Summit, IoT 360° 2015, Rome, Italy, October 27-29, 2015, Revised Selected Papers, Part II

Research Article

DriverGen: Automating the Generation of Serial Device Drivers

Download
377 downloads
  • @INPROCEEDINGS{10.1007/978-3-319-47075-7_37,
        author={Jiannan Zhai and Yuheng Du and Shiree Hughes and Jason Hallstrom},
        title={DriverGen: Automating the Generation of Serial Device Drivers},
        proceedings={Internet of Things. IoT Infrastructures. Second International Summit, IoT 360° 2015, Rome, Italy, October 27-29, 2015, Revised Selected Papers, Part II},
        proceedings_a={IOT360},
        year={2017},
        month={6},
        keywords={},
        doi={10.1007/978-3-319-47075-7_37}
    }
    
  • Jiannan Zhai
    Yuheng Du
    Shiree Hughes
    Jason Hallstrom
    Year: 2017
    DriverGen: Automating the Generation of Serial Device Drivers
    IOT360
    Springer
    DOI: 10.1007/978-3-319-47075-7_37
Jiannan Zhai1,*, Yuheng Du2,*, Shiree Hughes1,*, Jason Hallstrom1,*
  • 1: Florida Atlantic University
  • 2: Clemson University
*Contact email: jzhai@fau.edu, yuhengd@clemson.edu, shughes2015@fau.edu, jhallstrom@fau.edu

Abstract

Microprocessors operate most serial devices in the same way, issuing commands and parsing corresponding responses. Writing the device drivers for these peripherals is a repetitive task. Moreover, measuring the response time of each command can be time-consuming and error prone. In this paper, we present DriverGen, a configuration-based tool developed to provide accurate response time measurement and automated serial device driver generation. DriverGen (i) simulates the command execution sequence of a microprocessor using a Java program running on a desktop, (ii) measures the response time of the target device to each command, and (iii) generates a device driver based on the received responses and measured response times. To evaluate DriverGen, three case studies are considered.