Download Altera SoC Embedded Design Suite User Guide
Transcript
TOC-3 Importing the Bare-Metal Debugging Sample Application.....................................................4-52 Compiling the Bare-Metal Debugging Sample Application.................................................... 4-54 Running the Bare-Metal Debugging Sample Application........................................................4-54 Getting Started with the Hardware Library........................................................................................... 4-58 Hardware Library Sample Application Overview..................................................................... 4-58 Starting the Eclipse IDE................................................................................................................ 4-59 Importing the Hardware Library Sample Application............................................................. 4-59 Compiling the Hardware Library Sample Application.............................................................4-62 Running the Hardware Library Sample Application................................................................ 4-62 Getting Started with Peripheral Register Visibility............................................................................... 4-67 Getting Started with Linux Kernel and Driver Debugging..................................................................4-72 Linux Kernel and Driver Debugging Prerequisites...................................................................4-72 Starting Eclipse with the Embedded Command Shell.............................................................. 4-73 Debugging the Kernel....................................................................................................................4-73 Getting Started with Linux Application Debugging............................................................................. 4-78 Configuring Linux......................................................................................................................... 4-78 Starting Eclipse with the Embedded Command Shell.............................................................. 4-79 Importing the Linux Application Debugging Sample Application........................................ 4-79 Compiling the Linux Application Debugging Sample Application........................................4-82 Setting up Remote System Explorer............................................................................................ 4-82 Running the Linux Application Debugging Sample Application........................................... 4-88 Getting Started with Tracing....................................................................................................................4-92 Getting Started with Cross Triggering....................................................................................................4-96 Cross-triggering Prerequisites......................................................................................................4-96 Enabling Cross-triggering on HPS.............................................................................................. 4-98 FPGA Triggering HPS Example................................................................................................ 4-100 Enabling Cross-triggering on FPGA.........................................................................................4-103 HPS Triggering FPGA Example................................................................................................ 4-104 ARM DS-5 Altera Edition................................................................................... 5-1 Starting Eclipse............................................................................................................................................. 5-1 Bare-metal Project Management............................................................................................................... 5-2 Bare-metal Project Management using Makefiles.......................................................................5-2 GCC-Based Bare-Metal Project Management............................................................................. 5-5 ARM Compiler Bare-Metal Project Management.................................................................... 5-11 Debugging...................................................................................................................................................5-22 Accessing Debug Configurations................................................................................................ 5-22 Creating a New Debug Configuration........................................................................................ 5-23 Debug Configuration Options..................................................................................................... 5-25 DTSL Options.................................................................................................................................5-34 Embedded Command Shell.................................................................................6-1 HPS Preloader User Guide.................................................................................. 7-1 HPS Configuration...................................................................................................................................... 7-1 Preloader Support Package Generator......................................................................................................7-2 Altera Corporation