$ cd Desktop/
$ ls
edbg.exe
$ ./edbg -h
CMSIS-DAP SWD programmer. Built Nov 24 2021 06:54:03.
Usage: C:\Users\yuichi\Desktop\edbg.exe [options]
Options:
-h, --help print this help message and exit
-b, --verbose print verbose messages
-e, --erase perform a chip erase before programming
-p, --program program the chip
-v, --verify verify memory
-k, --lock lock the chip (set security bit)
-u, --unlock unlock the chip (forces chip erase in most cases)
-r, --read read the whole content of the chip flash
-f, --file <file> binary file to be programmed or verified; also read
output file name
-t, --target <name> specify a target type (use '-t list' for a list of
supported target types)
-l, --list list all available debuggers
-s, --serial <number> use a debugger with a specified serial number or in
dex in the list
-c, --clock <freq> interface clock frequency in kHz (default 16000)
-o, --offset <offset> offset for the operation
-z, --size <size> size for the operation
-F, --fuse <options> operations on the fuses (use '-F help' for details)