|
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 | | -############################################################### |
21 | | -# -e : Enables persistant mode |
22 | | -############################################################### |
23 | | --e |
24 | | - |
25 | | -############################################################### |
26 | | -# -f <Log-File> : Name of log file. Please make sure |
27 | | -# that directory not is write protected. |
28 | | -# : Example |
29 | 1 | -f debug.log |
30 | | -############################################################### |
31 | | - |
32 | | -############################################################### |
33 | | -# -l <Log-Level> : Logging level between 0 & 31 |
34 | | -# 0 Disables logging |
35 | | -# >=1 Enables logging of error messages |
36 | | -# >=2 Adds warning messages |
37 | | -# >=4 Adds communication specific messages |
38 | | -# >=8 Adds all information messages |
39 | | -# >=16 Adds all HW specific messages |
40 | | -############################################################### |
41 | | -#-l 31 |
42 | | - |
43 | | -############################################################### |
44 | | -# -p <Port-Number> : TCP-Listen Port-Number. |
45 | | -############################################################### |
46 | | --p 61234 |
47 | | - |
48 | | -############################################################### |
49 | | -# -v : Enables verbose mode |
50 | | -############################################################### |
51 | | -#-v |
52 | | - |
53 | | -############################################################### |
54 | | -# -r <delay-sec> : Maximum Delay in status refresh |
55 | | -############################################################### |
| 2 | +-p 61235 |
56 | 3 | -r 15 |
57 | | - |
58 | | -############################################################### |
59 | | -# -d : Enables SWD mode |
60 | | -############################################################### |
61 | 4 | -d |
| 5 | +-cp D:\STM32CubeIDE_1.3.0\123\tools\bin |
0 commit comments