Scientific and Technical Journal


ISSN Print 2221-3937
ISSN Online 2221-3805

We've considered the common dynamic methods of the firmware execution time testing. The authors proposed the method for the construction of the means for firmware execution time testing. This method based on the uVision Socket Interface API that give us the possibility to control the integrated development environment Keil uVision from external applications. As a result, we have the full control of the firmware executing and testing process, without using additional firmware or hardware.

Upon the obtained research results, one may conclude that using the proposed method for construction of the means for firmware testing would allow us to:

– eliminate development process of the communication protocol between embedded system in debug mode and application for testing, which will reduce the total development time of the application for testing the embedded systems.

– to increase the accuracy of the obtained results due to the fact that measurements are conducted on real hardware;

The performed investigations showed that proposed method for the construction of the means for firmware testing can be used during constructing the application for functional and non functional testing. Experimentally proved that the proposed algorithm could be used for execution time testing. The investigations into the relative measurement error has proved that the error is constant and depended for the performance of PC, and speed of data exchanging between PC application and embedded system. The value of the measurement error could be calculated in a easy way, and compensate it. This allows you to get a high degree of accuracy in measuring of the firmware execution time, that is critical for hard real-time embedded systems.

DOI 10.15276/eltecs.27.103.2018.24


  1. J. Labrosse, (2008) Embedded software. Elsevier / Newnes, Burlinton,Mass., U.S.A. ISBN-13:978-0750685832
  2. R. Chopey, D.Fedasyuk, (2017) "Overview

of approaches to the execution time analysis of programs[Oglyad pidhodiv do analizu truvalosti vikonannya programnogo kodu]",Scientific and Technical Journal Electrotechnic and Computer Systems, no. 26(102), pp. 68–78. DOI: 10.15276/eltecs.26.102.2017.8.

  1. Lindstrom, B., Six Issues in Testing Event Triggered Systems – Access Mode :
  2. R. Kirner, (2012) "The WCET Analysis Tool CalcWcet167", Leveraging Applications of Formal Methods, Verification and Validation. Applications and Case Studies, pp. 158-172, DOI: 10.1007/978-3-642-34032-1_17.
  3. D. Fedasyuk, R. Chopey and B. Knysh, (2017) "Architecture of a tool for automated testing the worst-case execution time of real-time embedded

systems' firmware", 14th International Conference The Experience of Designing and Application of CAD Systems in Microelectronics (CADSM-2017), pp. 278-282, DOI: 10.1109/CADSM.2017.7916134

  1. Pont, M. J, (2004) Programming Embedded Systems II / Westcotes., UK, 287 pp. J. Engblom, F. Stappert, and A. Ermedahl(2000), "Structured Testing of Worst-Case Execution Time Analysis Tools", 21st Real-Time System Symposium (RTSS/WIP’00)
  2. J. Engblom, F. Stappert, and A. Ermedahl, (2000) "Structured Testing of Worst-Case Execution Time Analysis Tools", 21st Real-Time System Symposium (RTSS/WIP’00).
  3. M. Wahler, E. Ferranti, R. Steiger, R. Jain and K. Nagy, (2012) "CAST: Automating Software Tests for Embedded Systems", IEEE Fifth International Conference on Software Testing, Verificationand Validation, DOI: 10.1109/ICST.2012.126
  1. Application Note 198: Using the uVisionSocket Interface – Access Mode : [Accessed: 29- Sep- 2017].

10. R. Chopey, B. Knysh, and D. Fedasyuk, (2017) "The model of software execution time remote testing", in Proc. of the IXth International Conference of Young Scientists «Computer Science and Engineering 2017» (CSE’2017), Lviv, pp. 398–402.

Last download:
22 Nov 2020

[ © KarelWintersky ] [ All articles ] [ All authors ]
[ © Odessa National Polytechnic University, 2014-2018. Any use of information from the site is possible only under the condition that the source link! ]