Debian Codegraph @

debian/pyocd-gdbserver.rst

raw
1 :Version: 0.12.0
2 :Copyright: 2006-2013 ARM Limited
3 :Title: pyocd-gdbserver
4 :subtitle: ARM Cortex-M programming tool
5 :Manual section: "1"
6
7 Description
8 ============
9
10 ``pyocd-gdbserver`` is an ARM Cortex-M programming tool
11
12 Summary
13 #######
14
15 pyOCD is an Open Source python based library for programming
16 and debugging ARM Cortex-M microcontrollers using CMSIS-DAP.
17
18 Includes support for flashing new binaries, resetting the device,
19 halt, step, resume read/write memory and set/remove breakpoints.
20
21 Support
22 #######
23
24 Firmware files included in the upstream source are NOT included in the
25 Debian package due to a lack of source code. Target files can be
26 downloaded separately from https://github.com/mbedmicro/pyOCD/tree/master/binaries
27
28 Available targets for use with --target option: lpc824, kinetis, w7500,
29 kv11z7, lpc4088qsb, kv10z7, k20d50m, ncs36510, kl28z, kl25z, k82f25615,
30 k28f15, maxwsnenv, max32600mbed, k22fa12, lpc4088, lpc4330, ke18f16, kl46z,
31 stm32f103rc, kl82z7, lpc54114, kl43z4, kl26z, lpc11xx_32, lpc800, rtl8195am,
32 kl05z, lpc1768, kw41z4, lpc4088dm, stm32f051, cortex_m, lpc11u24, kl02z,
33 kw01z4, k64f, k22f, ke15z7, nrf51, nrf52, kl27z4, kw40z4, k66f18
34
35 Usage
36 #####
37
38 usage: pyocd-gdbserver [-h] [--version] [-p PORT_NUMBER] [-T TELNET_PORT] [--allow-remote] [-b BOARD_ID] [-l] [--list-targets]
39 [--json] [-d LEVEL] [-t TARGET] [-n] [-r] [-C VECTOR_CATCH] [-s] [-f FREQUENCY] [-o] [-bh]
40 [-ce | -se] [-u] [-hp] [-fp] [-S] [-G] [-c CMD [CMD ...]] [-da DAPARG [DAPARG ...]]
41
42 PyOCD GDB Server
43
44 optional arguments:
45 -h, --help show this help message and exit
46 --version show program's version number and exit
47 -p PORT_NUMBER, --port PORT_NUMBER Write the port number that GDB server will open.
48 -T TELNET_PORT, --telnet-port TELNET_PORT Specify the telnet port for semihosting.
49 --allow-remote Allow remote TCP/IP connections (default is no).
50 -b BOARD_ID, --board BOARD_ID Connect to board by board id. Use -l to list all connected boards.
51 -l, --list List all connected boards.
52 --list-targets List all available targets.
53 --json Output lists in JSON format. Only applies to --list and --list-targets.
54 -d LEVEL, --debug LEVEL Set the level of system logging output. Supported choices are: debug, info, warning, critical, error
55 -t TARGET, --target TARGET Override target to debug. -n, --nobreak Disable halt at hardfault handler. (Deprecated)
56 -r, --reset-break Halt the target when reset. (Deprecated)
57
58 -C VECTOR_CATCH, --vector-catch VECTOR_CATCH Enable vector catch sources, one letter per enabled source in any order, or 'all' or 'none'. (h=hard
59 fault, b=bus fault, m=mem fault, i=irq err, s=state
60 err, c=check err, p=nocp, r=reset, a=all, n=none).
61 (Default is hard fault.)
62
63 -s, --step-int Allow single stepping to step into interrupts.
64 -f FREQUENCY, --frequency FREQUENCY Set the SWD clock frequency in Hz.
65 -o, --persist Keep GDB server running even after remote has detached.
66 -bh, --soft-bkpt-as-hard Replace software breakpoints with hardware breakpoints.
67 -ce, --chip_erase Use chip erase when programming.
68 -se, --sector_erase Use sector erase when programming.
69 -u, --unlock Unlock the device.
70 -hp, --hide_progress Don't display programming progress.
71 -fp, --fast_program Use only the CRC of each page to determine if it already has the same data.
72 -S, --semihosting Enable semihosting.
73 -G, --gdb-syscall Use GDB syscalls for semihosting file I/O.
74
75 -c CMD [CMD ...], --command CMD [CMD ...] Run command (OpenOCD compatibility).
76
77 -da DAPARG [DAPARG ...], --daparg DAPARG [DAPARG ...] Send setting to DAPAccess layer.