Flashing and debugging of externally compiled program
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
- Create a dummy project
- File > New C Project
Project name : dummy project
Project type : Executable > Empty Project
Toolchain : Ac6 STM32 MCU GCC - Select your board Or Create It
- Select No Firmware
- File > New C Project
- From menu : Run > Debug configurations
- Create a new Ac6 STM32 debugging configuration
Project : dummy project
C/C++ Application : browse for your elf file
Disable auto build
- Create a new Ac6 STM32 debugging configuration
- Launch your debug configuration
Please let me know if this is OK for you ? Or If I misundestood your request ?
Best Regards,
TarekB
ST