Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download OpenOCD configuration file for Raspberry Pi 2 or Raspberry Pi 3

  • Raspberry Pi 2: raspberry-pi2.cfg
  • Raspberry Pi 3: raspberry-pi3.cfg

Following line at the end of both configuration files enables SMP mode where single GDB will control all cores simultaneously. In case your use-case requires multiple GDB connections to each individual core just comment this line before running OpenOCD.

target smp $_TARGETNAME.0 $_TARGETNAME.1 $_TARGETNAME.2 $_TARGETNAME.3

Code Block
languagebash
themeEclipse
# Spawn OpenOCD session with Raspberry Pi 3 configuration
./openocd-src/src/openocd -f openocd-src/tcl/interface/ftdi/dp_busblaster.cfg -f ./raspberry-pi3.cfg

# Spawn OpenOCD session with Raspberry Pi 2 configuration
./openocd-src/src/openocd -f openocd-src/tcl/interface/ftdi/dp_busblaster.cfg -f ./raspberry-pi2.cfg

...