Created
June 17, 2022 23:04
-
-
Save sidprice/46ff8b1299ec72a2d1b8d56caed67b91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: D:\DataRoot\Projects\blackmagic\src\blackmagic.exe [-h | -l | [-vBITMASK] [-d PATH | -P NUMBER | -s SERIAL | -c TYPE] | |
[-n NUMBER] [-j] [-C] [-t | -T] [-e] [-p] [-R[h]] [-H] [-M STRING ...] | |
[-E | -w | -V | -r] [-a ADDR] [-S number] [file]] | |
Single-shot and verbosity options [-h | -l | -vBITMASK]: | |
-h Show the version version and this help, then exit | |
-l List available supported probes | |
-v<bitmask> Set the output verbosity level based on some combination of: | |
1 = INFO, 2 = GDB, 4 = TARGET, 8 = PROBE, 16 = WIRE | |
Probe selection arguments [-d PATH | -P NUMBER | -s SERIAL | -c TYPE]: | |
-d <path> Use a serial device at the given path (Deprecated!) | |
-P <number> Use the <number>th debug probe found while scanning the | |
system, see the output from list for the order | |
-s <serial> Select the debug probe with the given serial number | |
-c <type> Select the FTDI-based debug probe with of the given | |
type (cable) | |
The default is to start a debug server at localhost:2000 | |
General configuration options: [-n NUMBER] [-j] [-C] [-t | -T] [-e] [-p] [-R[h]] | |
[-H] [-M STRING ...] | |
-n <number> Select the target device at the given position in the | |
scan chain (use the -t option to get a scan chain listing) | |
-j Use JTAG instead of SWD | |
-C Connect to target under hardware reset | |
-t Perform a chain scan and display information about the | |
conected devices | |
-T Perform continues read- or write-back of a value to allow | |
measurement of protocol timing. Aborted by ^C | |
-e Assume external resistors for FTDI devices, that is having the | |
FTDI chip connected through resistors to TMS, TDI and TDO | |
-p Power the target from the probe (if possible) | |
-R[h] Reset the device. If followed by 'h', this will be done using | |
the hardware reset line instead of over the debug link | |
-H Do not use the high level command API (bmp-remote) | |
-M <string> Run target-specific monitor commands. This option | |
can be repeated for as many commands you wish to run. | |
If the command contains spaces, use quotes around the | |
complete command | |
SWD-specific configuration options [-f FREQUENCY | -m TARGET]: | |
-f <frequency> Set an operating frequency for SWD | |
-m <target> Use the given target ID for selection in SWD multi-drop | |
Flash operation selection options [-E | -w | -V | -r]: | |
-E Erase the target device Flash | |
-w Write the specified binary file to the target device | |
Flash (the default) | |
-V Verify the target device Flash against the specified | |
binary file | |
-r Read the target device Flash | |
Flash operation modifiers options: [-a ADDR] [-S number] [FILE] | |
-a <addr> Start address for the given Flash operation (defaults to | |
the start of Flash) | |
-S <number> Number of bytes to work on in the Flash operation (default | |
is till the operation fails or is complete) | |
<file> Binary file to use in Flash operations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment