Add new debug tool named Black Magic Probe
This commit is contained in:
parent
a7a35dafbd
commit
88eebe18be
|
@ -19,6 +19,27 @@
|
|||
},
|
||||
"debug": {
|
||||
"tools": {
|
||||
"stlink": {
|
||||
"server": {
|
||||
"package": "tool-openocd",
|
||||
"executable": "bin/openocd",
|
||||
"arguments": [
|
||||
"-s", "share/openocd/scripts",
|
||||
"-f", "interface/stlink-v2-1.cfg",
|
||||
"-c", "transport select hla_swd",
|
||||
"-f", "target/stm32f1x.cfg",
|
||||
"-c", "reset_config srst_only"
|
||||
]
|
||||
},
|
||||
"gdbinit": [
|
||||
"target remote :3333",
|
||||
"monitor init",
|
||||
"monitor reset halt",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
},
|
||||
"bmp": {
|
||||
"hwids": [
|
||||
[
|
||||
|
|
|
@ -23,6 +23,49 @@
|
|||
"use_1200bps_touch": false,
|
||||
"wait_for_upload_port": false
|
||||
},
|
||||
"debug": {
|
||||
"tools": {
|
||||
"stlink": {
|
||||
"server": {
|
||||
"package": "tool-openocd",
|
||||
"executable": "bin/openocd",
|
||||
"arguments": [
|
||||
"-s", "share/openocd/scripts",
|
||||
"-f", "interface/stlink-v2-1.cfg",
|
||||
"-c", "transport select hla_swd",
|
||||
"-f", "target/stm32f1x.cfg",
|
||||
"-c", "reset_config srst_only"
|
||||
]
|
||||
},
|
||||
"gdbinit": [
|
||||
"target remote :3333",
|
||||
"monitor init",
|
||||
"monitor reset halt",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
},
|
||||
"bmp": {
|
||||
"hwids": [
|
||||
[
|
||||
"0x1d50",
|
||||
"0x6018"
|
||||
]
|
||||
],
|
||||
"require_debug_port": true,
|
||||
"gdbinit": [
|
||||
"target extended-remote $DEBUG_PORT",
|
||||
"monitor swdp_scan",
|
||||
"attach 1",
|
||||
"set mem inaccessible-by-default off",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103c8.html",
|
||||
"vendor": "Generic"
|
||||
}
|
|
@ -23,6 +23,49 @@
|
|||
"use_1200bps_touch": false,
|
||||
"wait_for_upload_port": false
|
||||
},
|
||||
"debug": {
|
||||
"tools": {
|
||||
"stlink": {
|
||||
"server": {
|
||||
"package": "tool-openocd",
|
||||
"executable": "bin/openocd",
|
||||
"arguments": [
|
||||
"-s", "share/openocd/scripts",
|
||||
"-f", "interface/stlink-v2-1.cfg",
|
||||
"-c", "transport select hla_swd",
|
||||
"-f", "target/stm32f1x.cfg",
|
||||
"-c", "reset_config srst_only"
|
||||
]
|
||||
},
|
||||
"gdbinit": [
|
||||
"target remote :3333",
|
||||
"monitor init",
|
||||
"monitor reset halt",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
},
|
||||
"bmp": {
|
||||
"hwids": [
|
||||
[
|
||||
"0x1d50",
|
||||
"0x6018"
|
||||
]
|
||||
],
|
||||
"require_debug_port": true,
|
||||
"gdbinit": [
|
||||
"target extended-remote $DEBUG_PORT",
|
||||
"monitor swdp_scan",
|
||||
"attach 1",
|
||||
"set mem inaccessible-by-default off",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103cb.html",
|
||||
"vendor": "Generic"
|
||||
}
|
|
@ -23,6 +23,49 @@
|
|||
"use_1200bps_touch": false,
|
||||
"wait_for_upload_port": false
|
||||
},
|
||||
"debug": {
|
||||
"tools": {
|
||||
"stlink": {
|
||||
"server": {
|
||||
"package": "tool-openocd",
|
||||
"executable": "bin/openocd",
|
||||
"arguments": [
|
||||
"-s", "share/openocd/scripts",
|
||||
"-f", "interface/stlink-v2-1.cfg",
|
||||
"-c", "transport select hla_swd",
|
||||
"-f", "target/stm32f1x.cfg",
|
||||
"-c", "reset_config srst_only"
|
||||
]
|
||||
},
|
||||
"gdbinit": [
|
||||
"target remote :3333",
|
||||
"monitor init",
|
||||
"monitor reset halt",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
},
|
||||
"bmp": {
|
||||
"hwids": [
|
||||
[
|
||||
"0x1d50",
|
||||
"0x6018"
|
||||
]
|
||||
],
|
||||
"require_debug_port": true,
|
||||
"gdbinit": [
|
||||
"target extended-remote $DEBUG_PORT",
|
||||
"monitor swdp_scan",
|
||||
"attach 1",
|
||||
"set mem inaccessible-by-default off",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103r8.html",
|
||||
"vendor": "Generic"
|
||||
}
|
|
@ -23,6 +23,49 @@
|
|||
"use_1200bps_touch": false,
|
||||
"wait_for_upload_port": false
|
||||
},
|
||||
"debug": {
|
||||
"tools": {
|
||||
"stlink": {
|
||||
"server": {
|
||||
"package": "tool-openocd",
|
||||
"executable": "bin/openocd",
|
||||
"arguments": [
|
||||
"-s", "share/openocd/scripts",
|
||||
"-f", "interface/stlink-v2-1.cfg",
|
||||
"-c", "transport select hla_swd",
|
||||
"-f", "target/stm32f1x.cfg",
|
||||
"-c", "reset_config srst_only"
|
||||
]
|
||||
},
|
||||
"gdbinit": [
|
||||
"target remote :3333",
|
||||
"monitor init",
|
||||
"monitor reset halt",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
},
|
||||
"bmp": {
|
||||
"hwids": [
|
||||
[
|
||||
"0x1d50",
|
||||
"0x6018"
|
||||
]
|
||||
],
|
||||
"require_debug_port": true,
|
||||
"gdbinit": [
|
||||
"target extended-remote $DEBUG_PORT",
|
||||
"monitor swdp_scan",
|
||||
"attach 1",
|
||||
"set mem inaccessible-by-default off",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103rb.html",
|
||||
"vendor": "Generic"
|
||||
}
|
|
@ -23,6 +23,49 @@
|
|||
"use_1200bps_touch": false,
|
||||
"wait_for_upload_port": false
|
||||
},
|
||||
"debug": {
|
||||
"tools": {
|
||||
"stlink": {
|
||||
"server": {
|
||||
"package": "tool-openocd",
|
||||
"executable": "bin/openocd",
|
||||
"arguments": [
|
||||
"-s", "share/openocd/scripts",
|
||||
"-f", "interface/stlink-v2-1.cfg",
|
||||
"-c", "transport select hla_swd",
|
||||
"-f", "target/stm32f1x.cfg",
|
||||
"-c", "reset_config srst_only"
|
||||
]
|
||||
},
|
||||
"gdbinit": [
|
||||
"target remote :3333",
|
||||
"monitor init",
|
||||
"monitor reset halt",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
},
|
||||
"bmp": {
|
||||
"hwids": [
|
||||
[
|
||||
"0x1d50",
|
||||
"0x6018"
|
||||
]
|
||||
],
|
||||
"require_debug_port": true,
|
||||
"gdbinit": [
|
||||
"target extended-remote $DEBUG_PORT",
|
||||
"monitor swdp_scan",
|
||||
"attach 1",
|
||||
"set mem inaccessible-by-default off",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103rc.html",
|
||||
"vendor": "Generic"
|
||||
}
|
|
@ -23,6 +23,49 @@
|
|||
"use_1200bps_touch": false,
|
||||
"wait_for_upload_port": false
|
||||
},
|
||||
"debug": {
|
||||
"tools": {
|
||||
"stlink": {
|
||||
"server": {
|
||||
"package": "tool-openocd",
|
||||
"executable": "bin/openocd",
|
||||
"arguments": [
|
||||
"-s", "share/openocd/scripts",
|
||||
"-f", "interface/stlink-v2-1.cfg",
|
||||
"-c", "transport select hla_swd",
|
||||
"-f", "target/stm32f1x.cfg",
|
||||
"-c", "reset_config srst_only"
|
||||
]
|
||||
},
|
||||
"gdbinit": [
|
||||
"target remote :3333",
|
||||
"monitor init",
|
||||
"monitor reset halt",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
},
|
||||
"bmp": {
|
||||
"hwids": [
|
||||
[
|
||||
"0x1d50",
|
||||
"0x6018"
|
||||
]
|
||||
],
|
||||
"require_debug_port": true,
|
||||
"gdbinit": [
|
||||
"target extended-remote $DEBUG_PORT",
|
||||
"monitor swdp_scan",
|
||||
"attach 1",
|
||||
"set mem inaccessible-by-default off",
|
||||
"file $PROG_PATH",
|
||||
"load $PROG_PATH",
|
||||
"b main"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103re.html",
|
||||
"vendor": "Generic"
|
||||
}
|
Loading…
Reference in New Issue