9 Appendix 2: Running the SoftConsole Project in Debug Mode from LSRAM or DDR Memory
(Ask a Question)The following steps describe how to run the SoftConsole project in Debug mode.
- 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
- Webserver SoftConsole project location:
- 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 - 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:
- 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 - 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 - In SoftConsole, select Run > Debug Configurations to debug the application from DDR memory.