config.txt 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ###############################################################
  2. #### ST-LINK_gdbserver - Sample Configuration File
  3. #### Each Line Contains one argument
  4. #### Comment lines begin with #
  5. ####
  6. #### Use option -c <config-file> to start with config file
  7. #### ST-LINK_gdbserver -c config.txt
  8. ####
  9. #### Options without SWV
  10. #### 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
  11. ####
  12. #### Options with SWV, Core clock 168MHz, SWO Clock 1 MHz
  13. #### 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
  14. ####
  15. #### Get option information
  16. #### ST-LINK_gdbserver.exe -h
  17. ####
  18. #### The ST-LINK_gdbserver manual contains detailed information
  19. #### about options and program usage.
  20. ####
  21. ###############################################################
  22. ###############################################################
  23. # -e : Enables persistant mode
  24. ###############################################################
  25. -e
  26. ###############################################################
  27. # -f <Log-File> : Name of log file. Please make sure
  28. # that directory not is write protected.
  29. ###############################################################
  30. -f debug.log
  31. ###############################################################
  32. # -l <Log-Level> : Logging level between 0 & 31
  33. # 0 Disables logging
  34. # >=1 Enables logging of error messages
  35. # >=2 Adds warning messages
  36. # >=4 Adds communication specific messages
  37. # >=8 Adds all information messages
  38. # >=16 Adds all HW specific messages
  39. ###############################################################
  40. #-l 31
  41. ###############################################################
  42. # -p <Port-Number> : TCP-Listen Port-Number.
  43. ###############################################################
  44. -p 61234
  45. ###############################################################
  46. # -v : Enables verbose mode
  47. ###############################################################
  48. #-v
  49. ###############################################################
  50. # -r <delay-sec> : Maximum Delay in status refresh
  51. ###############################################################
  52. -r 15
  53. ###############################################################
  54. # -d : Enables SWD mode
  55. ###############################################################
  56. -d
  57. ###############################################################
  58. # -t : Shared mode using ST-LINK server
  59. ###############################################################
  60. #-t
  61. ###############################################################
  62. # -cp <path> : Path to STM32CubeProgrammer
  63. # Modify to correct path
  64. # for STM32_Programmer_CLI executable
  65. ###############################################################
  66. -cp <path to directory containing STM32_Programmer_CLI executable>