9 Appendix 2: Running the SoftConsole Project in Debug Mode from LSRAM or DDR Memory

The following steps describe how to run the SoftConsole project in Debug mode.

  1. Open the webserver or TFTP_ IAP application project using SoftConsole.
    • Webserver SoftConsole project location:
      mpf_an4569_v2023p2_eval_df\webserver\SoftConsole_Project
    • TFTP_ IAP SoftConsole project location:
      mpf_an4569_v2023p2_eval_df\tftp_iap\SoftConsole_Project
  2. In SoftConsole, select Run > Debug Configurations. The Debug Configurations dialog box appears. To debug the webserver project, select gbe_webserver Debug, as shown in the following figure.
    Figure 9-1. SoftConsole Debug Configuration
  3. Click Debug. The tool copies the code to LSRAM memory and launches the debug session. This SoftConsole project is configured to debug from LSRAM.

To debug the application from the DDR memory, follow these steps:

  1. In the SoftConsole Project Explorer window, right click on gbe_webserver project, and select Properties, as shown in the following figure.
    Figure 9-2. Project Explorer Window
  2. Change the linker script file setting to miv-rv32-ram-ddr.ld and re-build the project, as shown in the following figure.
    Figure 9-3. Project Properties
  3. In SoftConsole, select Run > Debug Configurations to debug the application from DDR memory.