DOI QR코드

DOI QR Code

Unified Programmer for AVR-Based Arduino-Compatible Boards

AVR 기반 아두이노 호환 보드를 위한 통합 프로그래머

  • Received : 2020.11.04
  • Accepted : 2020.11.15
  • Published : 2021.01.31

Abstract

Arduino is one of the open source microcontroller projects, and Arduino boards using AVR microcontrollers are commonly used. In general, AVR microcontrollers use ISP (In System Programming) upload, but in Arduino, serial upload through a bootloader is basically used, and a dedicated microcontroller is built into the board for this purpose. In order to use the ISP upload in Arduino, a dedicated upload device is required, which is not included in the Arduino board. In this paper, we propose a unified programmer that can handle ISP upload and serial upload through one dedicated microcontroller, and show that ISP and serial upload are possible using the unified programmer. In addition, the proposed unified programmer works as a USB-serial converter, supports serial communication with a computer, and it is also possible to burn the Arduino bootloader. All operations of the unified programmer can be confirmed through the experimental results.

아두이노는 오픈 소스 마이크로컨트롤러 프로젝트 중 하나로 AVR 마이크로컨트롤러를 사용한 아두이노 보드가 흔히 사용된다. AVR 마이크로컨트롤러에서는 일반적으로 ISP(In System Programming) 방식 업로드를 사용하지만, 아두이노에서는 부트로더를 통한 시리얼 방식 업로드를 기본으로 하며 이를 위해 전용 마이크로컨트롤러를 보드에 내장하고 있다. 아두이노에서 ISP 방식 업로드를 사용하기 위해서는 별도의 전용 업로드 장치가 필요하지만, 아두이노 보드에는 포함되어 있지 않다. 이 논문에서는 ISP 방식 업로드와 시리얼 방식 업로드를 하나의 전용 마이크로컨트 롤러를 통해 처리할 수 있는 통합 프로그래머를 제안하고, 통합 프로그래머를 사용하여 ISP 방식과 시리얼 방식 업로드가 가능함을 보인다. 이외에도 제안하는 통합 프로그래머는 USB-시리얼 변환장치로 동작하여 컴퓨터와의 시리얼 통신을 지원하며 아두이노의 부트로더를 굽는 것도 가능하다. 통합 프로그래머의 모든 동작은 실험 결과를 통해 확인할 수 있다.

Keywords

References

  1. Arduino [Internet]. Available: https://www.arduino.cc/.
  2. M. Novak, J. Kalova, and J. Pech, "Use of the Arduino Platform in Teaching Programming," in Proceedings of 2018 IV International Conference on Information Technologies in Engineering Education, Moscow, Russia, pp. 1-4, 2018.
  3. A. Bashir, M. Alhammadi, M. Moath Awawdeh, and T. Faisal, "Effectiveness of using Arduino platform for the hybrid engineering education learning model," in Proceedings of 2019 Advances in Science and Engineering Technology International Conferences, Dubai, United Arab Emirates, pp. 1-6, 2019.
  4. G. Heo, "Implementation of an Arduino Compatible Modular Kit for Educational Purpose," Journal of the Korea Institute of Information and Communication Engineering, vol. 23, no. 5, pp. 547-554, May. 2019. https://doi.org/10.6109/JKIICE.2019.23.5.547
  5. GCC, the GNU Compiler Collection [Internet]. Available: https://gcc.gnu.org/.
  6. MegaCore [Internet]. Available: https://github.com/MCUdude/MegaCore/.
  7. G. Heo, "128duino : An Extension of the Arduino Platform for ATmega128," Journal of the Korea Institute of Information and Communication Engineering, vol. 24, no. 10, pp. 1396-1375, Oct. 2020.
  8. E. F. Moreno and J. Pastor-Mendoza, "Synergy LEGO Mindstorms -Arduino: Taking advantage of both platforms," in Proceedings of Technologies Applied to Electronics Teaching Conference, La Laguna, Spain, pp. 1-6, 2018.
  9. J. Pech and M. Novak, "Use Arduino and Micro:bit as Teaching Platform for the Education Programming and Electronics on the STEM Basis," in Proceedings of International Conference on Information Technologies in Engineering Education, Moscow, Russia, pp. 1-4, 2020.