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


Flashing and debugging of externally compiled program

Tunisia

Hello Mat,

I do not know why you need such solutions, I prefer always using an IDE especially if it is eclipse based :-)

But this is possible.

As I have inderstood, you have already compiled your project => So you have an executable (elf) file : should contains debug informations (symbols + file paths + ...)

To program/debug an elf file without having a System Workbench I have done the following :
Note: This works only if source files are in the same location as compilation machine

  1. Create a dummy project
    1. File > New C Project
      Project name : dummy project
      Project type  : Executable > Empty Project
      Toolchain  : Ac6 STM32 MCU GCC
    2. Select your board Or Create It
    3. Select No Firmware
  2. From menu : Run > Debug configurations
    1. Create a new Ac6 STM32 debugging configuration
      Project  : dummy project
      C/C++ Application : browse for your elf file
      Disable auto build
  3. Launch your debug configuration



Please let me know if this is OK for you ? Or If I misundestood your request ?

Best Regards,
TarekB
ST