Bare Metal User Guide

ID 683211
Date 11/30/2015
Public
Document Table of Contents

1.7.3. Debug the Project

  1. Right-click on the project and select Debug > Debug As > Debug Configurations, as shown:
    Figure 49. "Altera-SoCFPGA-HardwareLib-FPGA-CV-ARMCC-Debug" Debug Configurations
  2. Next to the Connections field, select Browse and select the hardware you are using (Altera USB Blaster or DStream) from the available connections and click Select.
    Figure 50. Connection Browser
  3. Select Apply and click Debug to start the debug session which will configure the processor, load the software and execute it, stopping at the “main” symbol as the default.
    Figure 51. Debug Stopping at Main
  4. Click the button to start running the code. The code should run to completion. Other options () are also available on the Debug Control window.
    The App Console window should display correct results.
    Figure 52. Application Exit Displayed in App Console