Difference between revisions of "STM32CubeIDE"
(3 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
== Setting up a project == |
== Setting up a project == |
||
− | *Click on '''File |
+ | *Click on '''File | New | STM32 Project''' |
*After The STM32 Target Selection has opened, select the desired device/board you want to create a project for and click on '''Next'''.<br>[[File:STM32CubeIDE_TargetSelection.png | 800px]] |
*After The STM32 Target Selection has opened, select the desired device/board you want to create a project for and click on '''Next'''.<br>[[File:STM32CubeIDE_TargetSelection.png | 800px]] |
||
*Select your desired Project Setup and click on '''Finish'''. |
*Select your desired Project Setup and click on '''Finish'''. |
||
== Setting up J-Link as debug Probe== |
== Setting up J-Link as debug Probe== |
||
− | *Open '''Run |
+ | *Open '''Run | Debug Configurations...''' |
**Right-click on '''STM32 Cortex-M C/C++ Application''' and click on '''New Configuration'''. |
**Right-click on '''STM32 Cortex-M C/C++ Application''' and click on '''New Configuration'''. |
||
**Go to '''Debugger''' Tab and Select SEGGER J-LINK as debug probe. <br>[[File:STM32CubeIDE_DBGConf_Debugger.png | 800px]] |
**Go to '''Debugger''' Tab and Select SEGGER J-LINK as debug probe. <br>[[File:STM32CubeIDE_DBGConf_Debugger.png | 800px]] |
||
Line 26: | Line 26: | ||
=Attach to running program= |
=Attach to running program= |
||
Unfortunately, the STM32CubeIDE does not support an attach to running program feature. |
Unfortunately, the STM32CubeIDE does not support an attach to running program feature. |
||
− | To attach to a running program, we recommend using |
+ | To attach to a running program, we recommend using [https://www.segger.com/products/development-tools/ozone-j-link-debugger/ Ozone]. |
Latest revision as of 17:06, 9 October 2020
STM32CubeIDE is an eclipse based IDE developed by ST. This article covers the usage of the STM32CubeIDE in combination with a SEGGER J-Link.
Contents
Using STM32CubeIDE with J-Link
This section is a short step-by-step tutorial about how to create a new STM32CubeIDE project to be used with J-Link.
Adding J-Link support at installation time
- In STM32CubeIDE, J-Link is supported out-of-the-box. If you do not yet have a J-Link driver installed, you should add it at installation time.
Setting up a project
- Click on File | New | STM32 Project
- After The STM32 Target Selection has opened, select the desired device/board you want to create a project for and click on Next.
- Select your desired Project Setup and click on Finish.
Setting up J-Link as debug Probe
- Open Run | Debug Configurations...
Ready for debugging
Attach to running program
Unfortunately, the STM32CubeIDE does not support an attach to running program feature. To attach to a running program, we recommend using Ozone.