DOI QR코드

DOI QR Code

Low-Power Metamorphic MCU using Partial Firmware Update Method for Irregular Target Systems Control

불규칙한 대상 시스템 제어를 위하여 부분 펌웨어 업데이트 기법을 이용한 저전력 변성적 MCU

  • Baek, Jongheon (Daegu Science High School) ;
  • Jung, Jiwoong (Daegu Science High School) ;
  • Kim, Minsung (Daegu Science High School) ;
  • Kwon, Jisu (School of Electronic and Electrical Engineering, Kyungpook National University) ;
  • Park, Daejin (School of Electronic and Electrical Engineering, Kyungpook National University)
  • Received : 2020.11.18
  • Accepted : 2020.11.28
  • Published : 2021.02.28

Abstract

In addition to the revival of the Internet of Things, embedded systems, which are at the core of the Internet of Things, require intelligent control as things change. Embedded systems, however, are heavily constrained by resources such as hardware, memory, time and power. When changes are needed to firmware in an embedded system, flash Memory must be initialized and the entire firmware must be uploaded again. Therefore, it is time- and energy-efficient in that areas that do not need to be modified must also be initialized and rewritten. In this paper, we propose how to upload firmware in installments to each sector of flash memory so that only firmware can be replace the firmware in the parts that need to be modified when the firmware needs to be modified. In this paper, the proposed method was evaluated using real target board, and as a result, the time was reduced by about half.

사물인터넷의 부흥과 더불어, 사물인터넷의 핵심인 임베디드 시스템은 상황의 변화에 따른 지능적 제어 능력이 요구되고 있다. 하지만 임베디드 시스템은 하드웨어, 메모리, 시간, 전력 등 자원의 제약이 많다. 이때, 임베디드 시스템에서 펌웨어에 변경이 필요할 때는 플래시 메모리를 초기화하고 다시 전체 펌웨어를 업로드 해야 한다. 따라서, 수정의 필요성이 없는 부분도 초기화하고 다시 작성해야 한다는 점에서 시간 및 에너지적으로 비효율적이다. 본 논문에서는 플래시 메모리 각 섹터에 펌웨어를 분할하여 펌웨어의 수정이 필요할 때 수정이 필요한 부분의 섹터만을 교체하는 방법을 제안한다. 본 논문에서는 실제 타겟 보드를 사용하여 제안하는 방법을 검증하였고, 그 결과 약 절반의 시간을 단축할 수 있었다.

Keywords

References

  1. H. Jayakumar, K. Lee, W. S. Lee, A. Raha, Y. Kim, and V. Raghunathan, "Powering the internet of things," in Proceedings of the 2014 International Symposium on Low Power Electronics and Design (ISLPED), New York: NY,, pp. 375-380, 2014.
  2. O. Kachman and M. Balaz, "Efficient Patch Module for Single-bank or Dual-bank Firmware Updates for Embedded Devices," in Proceedings of the 2020 23rd International Symposium on Design and Diagnostics of Electronic Circuits and Systems (DDECS), Novi Sad: Serbia, pp. 1-6, 2020.
  3. C. Zhang, W. Ahn, Y. Zhang, and B. R. Childers, "Live code update for IoT devices in energy harvesting environments," in Proceedings of the 2016 5th Non-Volatile Memory Systems and Applications Symposium (NVMSA), Daegu, pp. 1-6, 2016.
  4. W. Dong, C. Chen, J. Bu, and W. Liu, "Optimizing Relocatable Code for Efficient Software Update in Networked Embedded Systems," ACM Transactions on Sensor Networks, vol. 11, no. 2, Jul. 2014.
  5. K. P. Todorov, L. V. Bogdanov, R. M. Ivanov, and N. Iliev, "Firmware Field Updates Using Bluetooth Low Energy and STM32 Microcontrollers," in the Proceedings of the 2018 IEEE XXVII International Scientific Conference Electronics - ET, Sozopol, pp. 1-4, 2018.
  6. R. K. Panta, I. Khalil, and S. Bagchi, "Stream: Low Overhead Wireless Reprogramming for Sensor Networks," in Proceedings of the 26th IEEE International Conference on Computer Communications (INFOCOM), Barcelona, pp. 928-936, 2007.
  7. J. Kwon, M. G. Seok, and D. Park, "User Insensible Sliding Firmware Update Technique for Flash-Area/Time-Cost Reduction toward Low-Power Embedded Software Replacement," in Proceedings of the 2020 IEEE Symposium in Low-Power and High-Speed Chips (COOL CHIPS), Kokubunji, Japan, pp. 1-3, 2020.
  8. STMicroelectronics. STM32F407 reference manual. [Internet]. Available: https://www.st.com/content/ccc/resource/technical/document/reference_manual/3d/6d/5a/66/b4/99/40/d4/DM00031020.pdf/files/DM00031020.pdf/jcr:content/translations/en.DM00031020.pdf.
  9. STMicroelectronics. STM32CubeProgrammer description page [Internet]. Available: https://www.st.com/en/developmenttools/stm32cubeprog.html.