This message will disappear after all relevant tasks have been resolved.
Semantic MediaWiki
There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.This page is a candidate for renaming (move). The requested new name is: How to debug a user space application with STM32CubeIDE/User space CDT project in STM32CubeIDE. The supplied reason is: visibility. -- Registered User (-) 14:50, 22 March 2021 (CET). Wiki maintainers: remember to update the pages that link this page before renaming (moving) it. |
1. Create a "user space" project[edit source]
- Open new C Project wizard: File -> New -> Project... C Project.
- In first window, choose OpenSTLinux SDK
- then Next to setup configuration
- and Next to choose SDK version
- To populate this project with "main.c" file, select project, right click: New -> File -> main.c and fill it with some C code.
2. Build[edit source]
- Select your project, right-click and then Build Project.
3. Preparing Debug Configuration[edit source]
Your target must be Linux booted and network connected. In order to check it, please, start Target Status widget on the bottom right.
Please also check How to set up proxy and P2P Ethernet connection with STM32CubeIDE if you are in that case.
4. Debug Configuration[edit source]
- Select your project, right-click Debug as... > Debug Configurations.
- Then create a STM32 Cortex-A Remote Application debug configuration, double clicking on it.
5. Debug on STM32 MPU device[edit source]
Click Debug :
- Executable is downloaded to the target,
- GDBServer is launched on the target,
- GDBClient is launched on the workstation and can exchange via network with GDBServer,