Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:openocd [2022/12/16 13:56] – [Install] darron | tools:openocd [2024/10/17 19:14] (current) – [Install] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== OpenOCD ==== | ==== OpenOCD ==== | ||
<wrap right> | <wrap right> | ||
- | {{: | + | {{: |
\\ \\ | \\ \\ | ||
- | {{: | + | {{: |
</ | </ | ||
Line 18: | Line 18: | ||
< | < | ||
- | sudo apt install build-essential git automake libtool libhidapi-dev libcapstone-dev libusb-1.0-0-dev | + | apt install build-essential git automake libtool libhidapi-dev libcapstone-dev libusb-1.0-0-dev |
</ | </ | ||
Line 25: | Line 24: | ||
< | < | ||
+ | mkdir -p /opt/src | ||
+ | cd /opt/src | ||
git clone https:// | git clone https:// | ||
cd openocd | cd openocd | ||
./bootstrap | ./bootstrap | ||
- | ./configure --enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio --enable-picoprobe --enable-jlink --enable-ft232r --enable-cmsis-dap --enable-cmsis-dap-v2 --with-capstone | + | ./ |
- | make | + | make -j 4 |
- | sudo make install | + | make install |
+ | </ | ||
+ | |||
+ | STMicroelectronics and RPi provide modified versions of OpenOCD for their processors | ||
+ | |||
+ | < | ||
+ | git clone https:// | ||
+ | ... | ||
+ | ./configure --prefix=/ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | git clone https:// | ||
+ | ... | ||
+ | ./configure --prefix=/ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | / | ||
+ | Open On-Chip Debugger 0.12.0+dev-gebec9504d (2024-10-17-18: | ||
+ | Licensed under GNU GPL v2 | ||
+ | For bug reports, read | ||
+ | http:// | ||
+ | Info : Hardware thread awareness created | ||
+ | Info : Hardware thread awareness created | ||
+ | Info : Hardware thread awareness created | ||
+ | Info : Hardware thread awareness created | ||
+ | cortex_m reset_config sysresetreq | ||
+ | adapter speed: 4000 kHz | ||
+ | Info : Listening on port 6666 for tcl connections | ||
+ | Info : Listening on port 4444 for telnet connections | ||
+ | Info : Using CMSIS-DAPv2 interface with VID: | ||
+ | Info : CMSIS-DAP: SWD supported | ||
+ | Info : CMSIS-DAP: Atomic commands supported | ||
+ | Info : CMSIS-DAP: Test domain timer supported | ||
+ | Info : CMSIS-DAP: FW Version = 2.0.0 | ||
+ | Info : CMSIS-DAP: Interface Initialised (SWD) | ||
+ | Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0 | ||
+ | Info : CMSIS-DAP: Interface ready | ||
+ | Info : clock speed 4000 kHz | ||
+ | Info : SWD DPIDR 0x4c013477 | ||
+ | Info : [rp2350.dap.core0] Cortex-M33 r1p0 processor detected | ||
+ | Info : [rp2350.dap.core0] target has 8 breakpoints, | ||
+ | Info : [rp2350.dap.core0] Examination succeed | ||
+ | Info : [rp2350.dap.core1] Cortex-M33 r1p0 processor detected | ||
+ | Info : [rp2350.dap.core1] target has 8 breakpoints, | ||
+ | Info : [rp2350.dap.core1] Examination succeed | ||
+ | Info : starting gdb server for rp2350.dap.core0 on 3333 | ||
+ | Info : Listening on port 3333 for gdb connections | ||
</ | </ | ||