Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

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.