Loading...
 
Skip to main content

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