PYOCD-GDBSERVER(1)
π pyocd-gdbserver β the manual page bestie π
okay so real quick, the manual name is pyocd-gdbserver and this is version 0.12.0. yes we're doing this. sit down, grab a snack π
β¨ Name β¨
pyocd-gdbserver β an ARM Cortex-M programming tool π¦
πΈ Description πΈ
pyocd-gdbserver is an ARM Cortex-M programming tool. that's it, that's the whole description, she's brief and she knows it π
π Summary π
pyOCD is an Open Source python based library for programming and debugging ARM Cortex-M microcontrollers using CMSIS-DAP. no cap.
It includes support for flashing new binaries, resetting the device, halt, step, resume, read/write memory and set/remove breakpoints. like⦠the whole toolkit? iconic.
π«Ά Support π«Ά
β οΈ listen bestie: the firmware files included in the upstream source are NOT included in the Debian package, due to a lack of source code. it's giving legal sadness π
Target files can be downloaded separately from <https://github.com/mbedmicro/pyOCD/tree/master/binaries>
Available targets for use with the --target option: lpc824, kinetis, w7500, kv11z7, lpc4088qsb, kv10z7, k20d50m, ncs36510, kl28z, kl25z, k82f25615, k28f15, maxwsnenv, max32600mbed, k22fa12, lpc4088, lpc4330, ke18f16, kl46z, stm32f103rc, kl82z7, lpc54114, kl43z4, kl26z, lpc11xx_32, lpc800, rtl8195am, kl05z, lpc1768, kw41z4, lpc4088dm, stm32f051, cortex_m, lpc11u24, kl02z, kw01z4, k64f, k22f, ke15z7, nrf51, nrf52, kl27z4, kw40z4, k66f18
that's 43 targets btw. we counted. we love a thorough list π
π§ Usage π§
here's the whole invocation vibe, verbatim, do not touch:
usage: pyocd-gdbserver [-h] [--version] [-p PORT_NUMBER] [-T
TELNET_PORT] [--allow-remote] [-b BOARD_ID] [-l] [--list-targets]
[--json] [-d LEVEL] [-t TARGET] [-n] [-r] [-C VECTOR_CATCH] [-s]
[-f FREQUENCY] [-o] [-bh] [-ce | -se] [-u] [-hp] [-fp] [-S] [-G]
[-c CMD [CMD ...]] [-da DAPARG [DAPARG ...]]
PyOCD GDB Server π₯οΈ
optional arguments:
-h,--helpβ show this help message and exit. the classic. the moment. π--versionβ show program's version number and exit.-p PORT_NUMBER,--port PORT_NUMBERβ Write the port number that GDB server will open.-T TELNET_PORT,--telnet-port TELNET_PORTβ Specify the telnet port for semihosting.--allow-remoteβ Allow remote TCP/IP connections (default is no). lowkey careful with this one bestie, default is a no for a reason π-b BOARD_ID,--board BOARD_IDβ Connect to board by board id. Use-lto list all connected boards.-l,--listβ List all connected boards.--list-targetsβ List all available targets.--jsonβ Output lists in JSON format. Only applies to--listand--list-targets.-d LEVEL,--debug LEVELβ Set the level of system logging output. Supported choices are:debug,info,warning,critical,error.-t TARGET,--target TARGETβ Override target to debug.-n,--nobreakβ Disable halt at hardfault handler. (Deprecated)-r,--reset-breakβ Halt the target when reset. (Deprecated)-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 fault,b=bus fault,m=mem fault,i=irq err,s=state err,c=check err,p=nocp,r=reset,a=all,n=none). (Default is hard fault.)-s,--step-intβ Allow single stepping to step into interrupts.-f FREQUENCY,--frequency FREQUENCYβ Set the SWD clock frequency in Hz.-o,--persistβ Keep GDB server running even after remote has detached.-bh,--soft-bkpt-as-hardβ Replace software breakpoints with hardware breakpoints.-ce,--chip_eraseβ Use chip erase when programming.-se,--sector_eraseβ Use sector erase when programming.-u,--unlockβ Unlock the device.-hp,--hide_progressβ Don't display programming progress.-fp,--fast_programβ Use only the CRC of each page to determine if it already has the same data.-S,--semihostingβ Enable semihosting.-G,--gdb-syscallβ Use GDB syscalls for semihosting file I/O.-c CMD [CMD ...],--command CMD [CMD ...]β Run command (OpenOCD compatibility).-da DAPARG [DAPARG ...],--daparg DAPARG [DAPARG ...]β Send setting to DAPAccess layer.
π Copyright π
2006-2013 ARM Limited
okay that's the whole page bestie, you ate it, go flash something πβ¨
this was pyocd-gdbserver from the pyocd-gdbserver() manual, version 0.12.0 β and the date slot in that footer is literally just empty quotes, so likeβ¦ timeless, I guess π¦ periodt π
π¦ where this page comes from
- ubuntu resolute: python3-pyocd 0.37.0-1 Β· Apache-2.0
- ubuntu stonking: python3-pyocd 0.45.0+ds-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms