2024-11-05 05:43 AM
Hi,
I am new to the STM32 Discovery boards. I've chosen the STM32F072B-DISCO as my Discovery kit and am currently exploring how to begin developing applications with it.
As per the 'Getting Started with STM32F072DISCOVERY' video and the UM1715 User manual, the software development tools mentioned are IAR Embedded Workbench, Microcontroller Development Kit for ARM (MDK-ARM) by Keil, and TrueSTUDIO by Atollic.
Could you please inform me if the board is compatible with the ST Development tools such as STM32CubeMX and STM32CubeIDE? Could you kindly assist in identifying the IDE and SDK, along with a sample application, in order to kickstart the development process?
Thanks and regards,
Prasanth
Solved! Go to Solution.
2024-11-05 06:06 AM
The STM32F072B-DISCO Discovery kit is compatible with STM32CubeMX and STM32CubeIDE, two widely used development tools from STMicroelectronics. These tools are often more convenient than the legacy options (IAR Embedded Workbench, Keil MDK-ARM, and Atollic TrueSTUDIO), and they are well-integrated into the STM32 ecosystem. STM32CubeIDE allows debugging via the ST-LINK debugger built into the STM32F072B-DISCO board. Connect the board via USB, select ST-LINK in the debug configuration, and you’ll be able to set breakpoints, inspect variables, and step through your code.
https://www.theengineeringprojects.com/2021/10/first-project-using-stm32-in-stm32cubeide.html
2024-11-05 06:06 AM
The STM32F072B-DISCO Discovery kit is compatible with STM32CubeMX and STM32CubeIDE, two widely used development tools from STMicroelectronics. These tools are often more convenient than the legacy options (IAR Embedded Workbench, Keil MDK-ARM, and Atollic TrueSTUDIO), and they are well-integrated into the STM32 ecosystem. STM32CubeIDE allows debugging via the ST-LINK debugger built into the STM32F072B-DISCO board. Connect the board via USB, select ST-LINK in the debug configuration, and you’ll be able to set breakpoints, inspect variables, and step through your code.
https://www.theengineeringprojects.com/2021/10/first-project-using-stm32-in-stm32cubeide.html
2024-11-05 06:45 AM
Hello,
STM32CubeIDE and STM32CubeMx are compatible to all STM32 MCUs.
You can start from CubeMx and start a project based on the board:
Select the board:
In the project manager tab, select the IDE and generate the code:
You can inspire from the examples provided in Github: https://github.com/STMicroelectronics/STM32CubeF0/tree/master/Projects/STM32F072B-Discovery
Hope it helps.
2024-11-07 08:34 PM
Hi @liaifat85, I really appreciate your helpful response to my question. The link you provided was instrumental in guiding me on how to kick off a project with STM32CubeIDE and STM32CubeMX. Thank you!
2024-11-07 08:38 PM
Hi @SofLit,
I really appreciate your help in resolving my question. I checked out the link you shared, and I was able to access the example projects. Everything worked perfectly, and I could verify it with my hardware. Thanks for your support!
2024-11-07 08:48 PM
Hello,
I have another question. I'm currently working with the STM32F072B-DISCO and have begun with the 'Capacitive Touch' demonstration project. I would like to debug the application while it's running by monitoring and displaying the variables in real-time. Is there a tool available that supports this? I haven't been able to find this information in any of the user manuals. I would really appreciate your assistance in resolving this. Thanks.
Regards,
Prasanth