logo资料库

xilinx sdk debug 官方ppt.pdf

第1页 / 共50页
第2页 / 共50页
第3页 / 共50页
第4页 / 共50页
第5页 / 共50页
第6页 / 共50页
第7页 / 共50页
第8页 / 共50页
资料共50页,剩余部分请下载后查看
Software Development and Debugging Using SDK
Objectives
Outline
Xilinx Platform Studio Software Development Kit (SDK)
Xilinx Extensions to Eclipse
Eclipse/CDT Frameworks
SDK Application Development Flow
Workspaces and Perspectives
Perspectives
CVS Perspective
Views
Opening Perspectives and Views
Editors
SDK Workbench
Outline
Introduction
Hardware Debugging Support
Software Debugging Support
GDB Functionality
GDB Functionality
GDB
GDB GUI
GDB Functionality
GDB Functionality
XMD Functionality
XMD Functionality
XMD Tcl Interface
MicroBlaze Processor: XMD
MicroBlaze Processor: XMD
MicroBlaze Processor: XMD
MicroBlaze Processor: XMD
XMD Options
Outline
A Debugging Sample
Start XMD
Start Software Debugger
Software Debugger Connect
Debug Program
Outline
Debugging Using SDK
SDK Debug Perspective
Debugging in XPS vs SDK
Knowledge Check
Answers
Knowledge Check
Answers
Where Can I Learn More?
Outline
Simultaneous HW/SW Debug
Simultaneous HW/SW Debug
Software Development and Debugging Using SDK This material exempt per Department of Commerce license exception TSU © 2005 Xilinx, Inc. All Rights Reserved
Objectives After completing this module, you will be able to: • Understand the basic concepts of the Eclipse IDE • List Xilinx Software Development Kit (SDK) features • Describe GNU Debugger (GDB) functionality • Describe Xilinx Microprocessor Debugger (XMD) functionality • Describe the integration of XMD and GDB with SDK © 2005 Xilinx, Inc. All Rights Reserved
Outline • Software Development Kit • Debugging Tools • Debugging Using XPS • Debugging Using SDK • Simultaneous HW/SW Debug © 2005 Xilinx, Inc. All Rights Reserved
Xilinx Platform Studio Software Development Kit (SDK) • Java-based application development environment • Based on the open-source effort by the Eclipse Consortium\ • Feature-rich C/C++ code editor and compilation environment • Project management • Application build configuration and automatic Makefile generation • Error Navigation • Well-integrated environment for seamless debugging of embedded targets • Source code version control © 2005 Xilinx, Inc. All Rights Reserved
Xilinx Extensions to Eclipse • SDK leverage on Eclipse + CDT (C/C++ Development Toolkit) – Project Management – Makefile builder – Code editor, Error Navigation – Debug – Search • SDK value add to CDT Platform Studio SDK Extensions C/C++ Development Perspective Eclipse platform Java Virtual Machine – Debug integration using XMD – Xilinx Custom Compiler settings for PowerPC, MicroBlaze – Profiling Flow and Visualization – Productization © 2005 Xilinx, Inc. All Rights Reserved
Eclipse/CDT Frameworks More information at: http://www.eclipse.org/cdt/ • Builder framework Release, Profile configurations – Compiles and Links Source files – Default Build options are specified when application is created: Choice of Debug, – User can custom build options later when developing application – Build types: Standard Make, Managed Make Launch framework – Specifies what action needs to be taken: Run (+ Profile) application or Debug – In SDK, this is akin to the Target Connection settings application • • Debug framework – Launches debugger (gdb), loads application and begins debug session – Debug views show information about state of debug session – Hides ugliness of debug details • Search framework – Helps development of application • Help System – Online help system; context-sensitive © 2005 Xilinx, Inc. All Rights Reserved
SDK Application Development Flow Platform Studio Generate Hardware Platform Generate Software Platform libraries, drivers Platform Studio SDK Create software App Project Add sources + Edit Compile + Link Debug / Profile Import ELF file, Download to board Yes Done? © 2005 Xilinx, Inc. All Rights Reserved
Workspaces and Perspectives • Workspace – Location to store preferences & internal info about Projects – Transparent to SDK users – In SDK, source files not stored under Workspace • Views, Editors – Basic User interface element • Perspectives – Collection of functionally related views – Layout of views in a perspective can be customized according to user preference © 2005 Xilinx, Inc. All Rights Reserved
分享到:
收藏