| 1 |
:Version: 0.12.0 |
| 2 |
:Copyright: 2006-2013 ARM Limited |
| 3 |
:Title: pyocd-tool |
| 4 |
:subtitle: ARM Cortex-M programming tool |
| 5 |
:Manual section: "1" |
| 6 |
|
| 7 |
Description |
| 8 |
============ |
| 9 |
|
| 10 |
``pyocd-tool`` 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-tool [-h] [--version] [-H] [-N] [-k KHZ] [-b ID] [-t TARGET] |
| 39 |
[-d LEVEL] [-da DAPARG [DAPARG ...]] [cmd] [args [args ...]] |
| 40 |
|
| 41 |
Target inspection utility |
| 42 |
|
| 43 |
positional arguments: |
| 44 |
cmd Command |
| 45 |
args Arguments for the command. |
| 46 |
|
| 47 |
optional arguments: |
| 48 |
|
| 49 |
-h, --help show this help message and exit |
| 50 |
|
| 51 |
--version show program's version number and exit |
| 52 |
|
| 53 |
-H, --halt Halt core upon connect. |
| 54 |
|
| 55 |
-N, --no-init Do not init debug system. |
| 56 |
|
| 57 |
-k KHZ, --clock KHZ Set SWD speed in kHz. (Default 1 MHz.) |
| 58 |
|
| 59 |
-b ID, --board ID Use the specified board. |
| 60 |
|
| 61 |
-t TARGET, --target TARGET |
| 62 |
Override target. |
| 63 |
|
| 64 |
-d LEVEL, --debug LEVEL |
| 65 |
Set the level of system logging output. Supported |
| 66 |
choices are: debug, info, warning, critical, error |
| 67 |
|
| 68 |
-da DAPARG [DAPARG ...], --daparg DAPARG [DAPARG ...] |
| 69 |
Send setting to DAPAccess layer. |