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


Problems with System Workbench

Hey there! I just bought a STM32F103 as well as a ST Link V2, installed the SystemWorkbench and let the LED blink. So far so good. I still have some problems you might know more about: When I want to click on Project Properties -> C/C++ Build -> Settings, the workbench crashes. Why?
Sometimes, after importing a new CubeMX generated project,I get an error when I want to create a new Ac6 Debugging instance (Debus As -> Debug Configuration -> Double click on Ac6 STM32 Debugging). The error says: “Argument can’t be null”. Also my board doesn’t reset automatically when flashing. What do I need to do in order to change it?
Sorry if the questions are stupid, but I’m really a noob. Thanks!

Felix

Please ignore the debugging issue, this was caused by my own stupidness... the project needs to be build before a debugging instance can be added.

Hi Felix,

It is weird. Are you using Ubuntu ? If it is the case, you may refer to :
http://www.openstm32.org/tiki-view_faq.php?faqId=1#q22Question

I am trying to reproduce the issue you faced while launching a debug session : may you provide more details, is the project successfully compiled?


Hi,
Sorry, I did notice you answered.
Are you still facing a crash?


It still crashes when I want to check the settings under Properties -> C/C++ Build -> Settings... And I still don’t know how to automatically reset the controller :-( Thanks for the help! By the Way: I’m using Debian 8 right now


That worked well, thank you very much! Any tips on how to reset the stm automatically when flashing it?

I’m not sure what function you’re using to flash the board, but if you use the Run (Ctrl-F11) command from the Run menu, it will flash your latest build of the firmware onto your target, then reset and run it. I think this is the function you’re looking for.

I don’t recall if Run -> Run requires a pre-existing “Run configuration” to be created or not. You may be prompted to set one up the first time you attempt to run your application this way. You should be able to use default settings with the “AC6 STM32 Debugging” template if you are prompted to create one.


Hi Felix,

I collected the steps to reset my target, in the following topic :
http://www.openstm32.org/forumthread823Question

Here is the procedure :
- first halt the application,
- then select the Console window (typically located at the bottom of the Eclipse UI),
- then enter this command in the Console window: monitor reset halt
This will reset the target and stop the application at the very first instruction,
which is usually the startup assembly code.
Note that the source level debugger display will NOT update automatically after issuing the reset command. However, if you hit one of the single-step buttons (e.g. F6, Step Over) the source debug display will update.
You will then probably want to switch the debug display to your main()
and either highlight the first code line of main() and hit Ctrl-R (Run To Line) or set a breakpoint on it and hit F8 (Resume).
From this point, I am able to debug again my application normally.