Skip navigation

System Workbench for STM32

How to use J-Link with System Workbench for STM32

System Workbench for STM32 is an Eclipse based IDE that can be used free of charge. To use it with our J-Link debug probes the Eclipse plugin “GNU MCU Eclipse Plugin” needs to be installed. A how to is described here.

Sample Debug session

  • Start System Workbench for STM32
  • Open your project
  • Open the project properties with Alt+Enter or right clicking on your project and selecting properties
  • Navigate to MCU→SEGGER J-Link Path
  • Fill in for “Executable”: JLinkGDBServerCL (make sure to use the CL version for this IDE)
  • For “Folder” enter your current J-Link Software Package install path (in this example V6.16i was used)
  • Confirm your settings by pressing OK

  • Open the Debug Configurations window accessible by Run→Debug Configurations
  • Create a new debug configuration for GDB SEGGER J-Link Debugger

  • Switch to the Debugger tab

  • Set the Executable entry under step 1. to the absolute path of the J-LinkGDBServerCL.exe
  • Insert your target device name under 2.
  • All other settings can be left to default, simply hit debug to start the debug session