Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Can't create Ac6 Debug Configuration to CubeMX project

Hi, I use CubeMX and SW4STM32 to develop STM32F407VE MCU.
I have a problem in debug.

Previously, I created a CubeMX project for STM32F4Discovery, using board-selector.
Then, generated code for SW4STM32, import, build, debug was successful.

After that, I created a project for STM32F407VE, using mcu-selector.
Generating code, import and build were successfull.

When I tried to create debug configuration, from “Run” menu, there was no reaction.
Then tried from Project Propaties>>Run/Debug Settings>>New>>Ac6 STM32 Debugging, no reaction, although, C/C++ Application, successfull.

How can I add Debug Configuration?

Hi,

To launch debug, can you try :
Right click on the project, then choose Debug As > Ac6 STM32 C/C++ Application. It should automatically create the debug configuration and launch de debug.

To create debug configuration only :
Right click on the project, then choose Debug As > Debug configurations... then select Ac6 STM32 Debugging > New

Hope it solves your problem,
Kevin


Hi,
The solution proposed by Kevin is working for me.
There is no ST Board for the F407VE, but I can launch the debug on a custom board with the following steps :
- I choose Debug As > Debug configurations >> Ac6 STM32 C/C++ Application;
- I update the “Debug Device” and “Debug interface” fields depending on the custom board features (see snapshot);
... then it works


Thank you for your reply, Kevin, Vetch

I tried your suggestion, but It didn’t work.

When I make a Project from SW4STM32, your suggestion works.
But, Importing from CubeMX, it doesn’t work.

I could open Debug Configuration Dialog, and I double-clicked Ac6 STM32 Debugging,
An error has occured(see snapshot).

Does snapshot be any hint?

Hi,

Do you use the latest version of System Workbench ? Please verify it by selecting : Help > Check for updates...

Then delete every debug configuration previously created and associated to your project : Project properties > Run/Debug Settings, select all, then delete them.

Finally, try to recreate the Debug Configuration :
Right click on the project, then choose Debug As > Ac6 STM32 C/C++ Application. It should automatically create the debug configuration and launch de debug.
System Workbench should ask you to create a custom board as Vetch said.

Hope it works,
Kevin.

Thanks Kevin,

I checked version of Workbench and Updated, but it didn’t affect.

When I try ur suggestion, “Right click on the project, then choose Debug As > Ac6 STM32 C/C++ Application”
a messagebox is displayed a moment(too quickly closed to recognize what is wrriten). But debug dialog doesn’t appear.

Finally, I found a desperate solution.

1. Right click on the other project which can be debugged
2. choose Debug As > Debug Configuration(Debug Configulation Dialog open)
3. Create New Ac6 Configulation
4. Input the elf file path of the project in problem, to C/C++ Application: TextBox
5. Select the project in problem to Project: TextBox

After Do that,
I can debug the project as usual.


Dear Shuji_Mikami,
I faced the same error, but Kevin proposed to right-click on your project and select “Debug As” in the roll-down menu (as shown in the attached snapshot)
Sorry for asking you to check it again : please, may you confirm that there is no “Ac6 STM32 C/C++ Application” option for you after “Debug As”?

Thanks, Vetch,

As I reply to Kevin,
Right click on the project and select Debug As Ac6 doesn’t work.

I found a desperate solution(wrote in reply message to Kevin).
I hope it will be some hint of my fault.


 

Newest Forum Posts

  1. Можно ли установить камин на балконе или лоджии? by Grand3kpdErorb, 03:38
  2. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  3. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  5. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  6. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  7. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  8. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05

Last-Modified Blogs