############################################################### #### ST-LINK_gdbserver - Sample Configuration File #### Each Line Contains one argument #### Comment lines begin with # #### #### Use option -c to start with config file #### ST-LINK_gdbserver -c config.txt #### #### Options without SWV #### ST-LINK_gdbserver.exe -e -d -cp C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.3.0.202002181050/tools/bin #### #### Options with SWV, Core clock 168MHz, SWO Clock 1 MHz #### ST-LINK_gdbserver.exe -e -d -z 61235 -a 168000000 -b 168 -cp C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.3.0.202002181050/tools/bin #### #### Get option information #### ST-LINK_gdbserver.exe -h #### #### The ST-LINK_gdbserver manual contains detailed information #### about options and program usage. #### ############################################################### ############################################################### # -e : Enables persistant mode ############################################################### -e ############################################################### # -f : Name of log file. Please make sure # that directory not is write protected. ############################################################### -f debug.log ############################################################### # -l : Logging level between 0 & 31 # 0 Disables logging # >=1 Enables logging of error messages # >=2 Adds warning messages # >=4 Adds communication specific messages # >=8 Adds all information messages # >=16 Adds all HW specific messages ############################################################### #-l 31 ############################################################### # -p : TCP-Listen Port-Number. ############################################################### -p 61234 ############################################################### # -v : Enables verbose mode ############################################################### #-v ############################################################### # -r : Maximum Delay in status refresh ############################################################### -r 15 ############################################################### # -d : Enables SWD mode ############################################################### -d ############################################################### # -t : Shared mode using ST-LINK server ############################################################### #-t ############################################################### # -cp : Path to STM32CubeProgrammer # Modify to correct path # for STM32_Programmer_CLI executable ############################################################### -cp