config.txt 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. #### Using STM32F4_Discovery, 168MHz, SWO Clock 1000 MHz.
  10. #### ST-LINK_gdbserver.exe -e -d -z 61235 -a 168000000 -b 168
  11. ####
  12. #### Programming elf file
  13. #### ST-LINK_gdbserver.exe -e -d -j C:\dev\workspace\MyProg\Debug\MyProg.elf
  14. ####
  15. #### Get option information
  16. #### ST-LINK_gdbserver.exe -h
  17. ####
  18. ###############################################################
  19. ###############################################################
  20. # -e : Enables persistant mode
  21. ###############################################################
  22. -e
  23. ###############################################################
  24. # -f <Log-File> : Name of log file. Please make sure
  25. # that directory not is write protected.
  26. # : Example
  27. -f debug.log
  28. ###############################################################
  29. ###############################################################
  30. # -l <Log-Level> : Logging level between 0 & 31
  31. # 0 Disables logging
  32. # >=1 Enables logging of error messages
  33. # >=2 Adds warning messages
  34. # >=4 Adds communication specific messages
  35. # >=8 Adds all information messages
  36. # >=16 Adds all HW specific messages
  37. ###############################################################
  38. #-l 31
  39. ###############################################################
  40. # -p <Port-Number> : TCP-Listen Port-Number.
  41. ###############################################################
  42. -p 61234
  43. ###############################################################
  44. # -v : Enables verbose mode
  45. ###############################################################
  46. #-v
  47. ###############################################################
  48. # -r <delay-sec> : Maximum Delay in status refresh
  49. ###############################################################
  50. -r 15
  51. ###############################################################
  52. # -d : Enables SWD mode
  53. ###############################################################
  54. -d