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


How to run a program stand-alone without debugger? (was: Run configuration for a CubeMX imported program)

Hello,

I have imported a CubeMX project as described elsewhere in this forum and can debug it correctly. Now I am finished and would like to compile and run a configuration without the debug symbols. How do I create a correct run configuration which I can upload to my board and which starts automatically at power on?

Thanks for a hint.

--mclane

Some precisions:

I can perfectly debug and run my program with the debugger connected, , but it does not start automatically at power up when the debugger is disconnected. What do I have to change in the debug / upload configuration?

I have a CubeMX “Debug” program in my board and it will automatically start/run at power on. The debug symbols are not loaded into the board. If your program won’t start at power on, removing the symbols from the elf file is unlikely to fix the problem.

Any changes you make to add a new configuration will likely be lost if you regenerate the CubeMX project. If you just need to create a stripped elf, it may be easier to do it outside of Eclipse.


To ulistermclane
Could you change the title of the topic? Something like: “How to run debugged program in standalone mode?”
From my perspective the current title provides wrong desciption of the problem.

I have the same problem: after debugging the program won’t run after power on :-(


Tried to start from scratch by using toggling example provided by STM on Nucleo board. The same story - starts without any problem in debug mode, but not is standalone.

However, there is a difference. While the board connected to the computer, this simple example starts to work after pressing reset It does not happen on my board. If disconnect from a computer and connect it again, the program won’t start either I press Reset or not.

Whether need to make Release configuration or just change some options in Debug - don’t know. Unfortunately those examples do not provide Release configuration.