Responsive image
博碩士論文 etd-0728114-115349 詳細資訊
Title page for etd-0728114-115349
論文名稱
Title
軟體除錯與硬體追蹤監控整合
Integration of C Source Level Debugging and HW Tracing and Monitoring
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
95
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2014-07-18
繳交日期
Date of Submission
2014-08-28
關鍵字
Keywords
測試/除錯、除錯裝置、共同除錯
Debugger, JTAG, Co-Debugging
統計
Statistics
本論文已被瀏覽 5688 次,被下載 440
The thesis/dissertation has been browsed 5688 times, has been downloaded 440 times.
中文摘要
隨著製程與軟體科學快速的進步,嵌入式系統也日益複雜,對於產品上市的時間要求
也越來越短,因此對於要整合一個完整的系統晶片(SoC),如何在整合時有效且快速地
找出問題,便也成為一個重要的議題。
本論文提出一整合軟硬提除錯之方法,利用原本微理器內建之嵌入式電路仿
真器(Embedded In-Circuit Emulator)配合元件與Wrapper間加入Wrapper-Base電路仿真
器(Wrapper-Base In-Circuit Emulator),藉此裝置抓取原件到Wrapper之間之傳輸資料,
配合除錯介面軟體,將抓取出來的訊號抽象化,並與軟體在於同一介面顯示,同時也
參考現行軟體除錯常見之行為與指令,設計對應之硬體指令與行為,使設計者可以從
同一個介面上同時控制軟硬體,並同時顯示軟硬體之除錯資訊,讓硬體除錯像軟體除
錯般簡單,而使使用者可使更快找到嵌入式系統之錯誤,減少整合需要的時間,加速
整體之設計。
Abstract
With the increasing of manufacture and software design technology, embedded system now
become more and more complex, time-to-market also become more short. For integrated a
system-on-chip (SoC), how to debug the errors while integrate become a important problem.
This thesis proposed a method that integrate both software and hardware debugging. To catch
the HW transaction information by using the embedded in-circuit emulator(EICE) in micropro-
cessors and the proposed wrapper-base in-circuit emulator(WBICE) between IP and wrapper.
Abstract the signals trace from HW and display both SW and HW debug information in the
same degubber. Reference to SW debug actions and command to design HW debug actions
and commands, make user can control and debug both SW and HW in the same interface. Let
HW debugging like SW debugging. Reduce the integration time and time-to-market.
目次 Table of Contents
Contents
論 文 審 定 書+i
Acknowledgments+iii
摘 要+v
Abstract+vi
List of Figures+x
List of Tables+xii
Chapter 1 Introduction+1
1.1 Background+1
1.2 Motivation+2
1.3 Contributions of the Thesis+3
1.4 Organization of the Thesis+3
Chapter 2 Related Works+4
2.1 My Research Tree+4
2.2 Software Debugger+5
2.2.1 GNU Debugger+5
2.2.2 Open On-Chip Debugger+6
2.3 Wrapper-base ICE Design+7
2.3.1 Memory Interface Protocol+7
2.3.1.1 Open Core Protocol(OCP)+8
2.3.1.2 Generic Interface Protcol+10
2.3.2 Debug/Test Methodology+11
2.3.2.1 IEEE 1149.1 Standard(JTAG)+11
2.3.2.2 In-Circuit Emulator+13
2.4 Real Case of SW/HW Co-Debugger+15
2.4.1 Multi-Core SW/HW Debug Platform+15
2.4.2 ARM Developement Tool Chain+16
Chapter 3 The Proposed Method+19
3.1 Motivation of Proposed Method+19
3.2 System Overview of Proposed Method+20
3.2.1 Limitation of Proposed Method+22
3.3 Hardware Part of the proposed Platform+22
3.3.1 Socket-base Interface Protocol+22
3.3.2 Wrapper-Base In-Circuit Emulator+23
3.3.3 Daisy Chained With Embedded In-Circuit Emulator+26
3.4 Software Part of the proposed Platform+27
3.4.1 Control Flow of the proposed Platform+28
3.4.2 GDB-JTAG Adapter+29
3.4.3 Remote Debugging by GNU Debugger+30
3.4.4 Open On-Chip Commands for HW Control+32
Chapter 4 Experimental Results 35
4.1 Verification of WBICE+35
4.1.1 Experiment Environment Setup+35
4.1.2 TAP Finite State Machine Functional Verification+36
4.1.3 Instruction Decode Functional Verification+38
4.1.4 Breakpoint and Resume Functional Verification+41
4.2 Area Report for WBICE+43
Chapter 5 Conclusion+44
Chapter 6 Future Works+45
Bibliography+46
Appendix A Wrapper-Base ICE RTL Test Tasks+48
參考文獻 References
[1] A. Nohl, G. Braun, and A. Hoffmann, “A universal technique for fast and flexible
instruction-set architecture simulation,” in DAC 2002,June 10-14, 2002, 2002.
[2] “Ieee standard test access port and boundary-scan architecture, ieee std 1149.1,” 1990.
[3] B. G. V. Treuren and J. M. Miranda, “Embedded boundary scan,” IEEE Design & Test of
Computers, 2003.
[4] ARM INC., ARM RVDEBUG V1.8 Application, 1995.
[5] F.-C. Yang, Y.-T. Lin, C.-F. Kao, and I.-J. Huang, “An on-chip ahb bus tracer with real-
time compression and dynamic multiresolution supports for soc,” IEEE Transactions on
VLSI Systems,Vol. 19, Issue 4,Page 571, April 2011. (SCI)., p. 571, 2011.
[6] S.-M. Huang, I. Huang, and C.-F. Kao, “Reconfigurable real-time address trace compres-
sor for embedded microprocessors,” in 2003 IEEE International Conference on Field-
Programmable Technology (FPT), 2003. Proceedings., 2003.
[7] OpenOCD : Open On-Chip Debugger. http://openocd.berlios.de/web/, 2006.
[8] GDB : The GNU Project Debugger. http://www.gnu.org/software/gdb/gdb.html, 2006.
[9] I.-J. Huang and T.-A. Lu, “Iceberg: An embedded in-circuit emulator synthesizer for
microcontrollers,” in Proc. of the 36’th Design Automation Conference, 1998.
[10] Open Core Protocol Specification. http://www.ocpip.org/.
[11] synopsys, coreConsultant User Guide, april 2010.
46
[12] C.-T. Wu, F.-X. Huang, K.-F. Kuo, and I.-J. Huang, “An ocp-ahb bus wrapper with built-in
ice support for soc integration,” in International Symposium on VLSI Design, Automation
and Test (2012 VLSI-DAT), 2012.
[13] K.-J. Lee, C.-Y. Chu, and Y.-T. Hong, “An embedded processor based soc test platform,”
in Circuits and Systems, ISCAS, 2005.
[14] K.-J. Lee, A. Su, L.-F. Chen, J.-W. Jhou, JiffKu, and M. Liu, “A software/hardware co-
debug platform for multi-core systems,” in ASIC (ASICON), 2011.
[15] ARM company, ETM Architecture.
[16] ARM INC., ARM DS-5 Eclipse for DS-5 User Guide, 2010.
[17] S.-T. Huang, Hardware/software co-verification for processor-OpenOCD integration.
PhD thesis, National Sun Yat-sen University, 2013.
[18] ARM, AMBA Specification.
[19] C.-T. Wu, SoC Integration and Verification of an AXI-Based 3D Graphics OpenGL ES 2.0
SoC. PhD thesis, National Sun Yat-sen University, 2013.
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code