logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pyocd-gdbserver - ARM Cortex-M programming tool

Description

pyocd-gdbserver is an ARM Cortex-M programming tool

   Summary
       pyOCD  is an Open Source python based library for programming and debugging ARM Cortex-M microcontrollers
       using CMSIS-DAP.

       Includes support for flashing new binaries, resetting the device, halt, step,  resume  read/write  memory
       and set/remove breakpoints.

   Support
       Firmware  files  included  in the upstream source are NOT included in the Debian package due to a lack of
       source      code.      Target       files       can       be       downloaded       separately       from
       <https://github.com/mbedmicro/pyOCD/tree/master/binaries>

       Available  targets  for  use  with  --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

   Usageusage:pyocd-gdbserver[-h][--version][-pPORT_NUMBER][-TTELNET_PORT][--allow-remote][-bBOARD_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

       optionalarguments:-h, --help
                     show this help message and exit

              --version
                     show program's version number and exit

              -pPORT_NUMBER, --portPORT_NUMBER
                     Write the port number that GDB server will open.

              -TTELNET_PORT, --telnet-portTELNET_PORT
                     Specify the telnet port for semihosting.

              --allow-remote
                     Allow remote TCP/IP connections (default is no).

              -bBOARD_ID, --boardBOARD_ID
                     Connect to board by board id. Use -l to 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 --list and --list-targets.

              -dLEVEL, --debugLEVEL
                     Set the level of system logging  output.  Supported  choices  are:  debug,  info,  warning,
                     critical, error

              -tTARGET, --targetTARGET
                     Override  target  to  debug.  -n,  --nobreak          Disable  halt  at  hardfault handler.
                     (Deprecated)

              -r, --reset-break
                     Halt the target when reset. (Deprecated)

              -CVECTOR_CATCH,--vector-catchVECTOR_CATCHEnablevectorcatchsources,oneletterperenabledsourceinanyorder,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.

              -fFREQUENCY, --frequencyFREQUENCY
                     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.

Name

       pyocd-gdbserver - ARM Cortex-M programming tool

See Also