Created Saturday 11 November 2023
In this example, MCU application is dynamically loaded to STM32 ram from Windows PC using custom GUI application. We can't use default Debug arrangements or STM32_Programmer_CLI.exe utility, because it will overwrite RAM contents.
Solution is to disable "Reset" and "Download" for debug configuration:
- Go to Run → Debug configurations...
- Double-click on "STM32 C/C++ Application" to create new debug configuration
- Open configuration → Debugger tab set "Reset behaviour" to None
- Open startup tab click on "Edit..." button and uncheck "Download" check box