DOI QR코드

DOI QR Code

EISC 임베디드 시스템을 위한 USB-JTAG Interface기반의 디버깅 시스템 개발

Debugging Environment Via USB-JTAG Interface for EISC Embedded System

  • 이호균 (고려대학교 전자전기공학과) ;
  • 한영선 (삼성전자 시스템 LSI) ;
  • 김선욱 (고려대학교 전기전자전파공학과)
  • 투고 : 2010.05.31
  • 심사 : 2010.06.01
  • 발행 : 2010.06.30

초록

많은 개발자들은 프로세서 디버깅을 위해 GDB를 사용한다. 임베디드 시스템에서 GDB의 원격 디버깅은 시리얼 통신을 사용한다. 그러나, 시리얼 통신은 속도에 제한이 있으며, 시리얼 포트 마저 점차 사라져 가는 추세이다. 이를 극복하기 위해 많은 임베디드 시스템이 JTAG 인터페이스를 탑재하고 있으며, USB 인터페이스를 사용하여 통신을 한다. 이 논문에서는 EISC 아키텍처 기반의 임베디드 시스템을 디버깅하기 위한 USB-JTAG 인터페이스 개발 방법을 제안하고, GDB환경에서의 USB 인터페이스 구축 방법과 디버깅 패킷을 분석하기 위한 JTAG 모듈의 개발 방법을 소개한다.

Most of software developers use the GNU Debugger (GDB) in order to debug code execution. The GDB supports a remote debugging environment through serial communication. However, in embedded systems, the speed is limited in the serial communication. Due to this reason, the serial communication is rarely used for the debugging purpose. To solve this problem, many embedded systems adapt the JTAG and the USB interface. This paper proposes debugging environment via USB-JTAG interface to debug the EISC processor, and introduces how the USB interface works on the GDB and how the JTAG module handles debugging packets.

키워드

참고문헌

  1. IEEE Std 1149.1, IEEE Standard Test Access Port and Boundary-Scan Architecture, IEEE Computer Society, New York, 1993.
  2. EISC (Extendable Instruction Set Computer). http://www. adc.co.kr
  3. GDB. http://www.gnu.org/software/gdb
  4. 이호균, 김선욱. "USB-JTAG Interface를 이용한 EISC 프로세서 디버거 개발", 제 32회 한국정보처리학회 추계학술발표대회, 제16권, 제2호, pp. 47-48, 건국대학교, 2009년 11월.
  5. 전세일, 이두복. "USB 인터페이스를 이용한 데이터 전송프로 그램 개발", 한국정보처리학회 논문지, v.7, no.5, pp. 1553-1558, 2000년 5월.
  6. 박명철, 김영주, 하석운, 전용기, 임채덕. "SoC 프로그램의 원격 디버깅을 위한 실시간 추적도구의 구현", 정보처리학회논문지 A, v. 12A, no. 7, pp.583-588, 2005년 12월. https://doi.org/10.3745/KIPSTA.2005.12A.7.583
  7. XJTAG Ltd., JTAG-A Technical Overview, March 2003.