Preliminaries Get OpenOCD from git, $ git clone Compile, $ ./bootstrap $ ./configure --enable-bus-pirate $ make $ sudo make install Create configuration file, $ cat > openocd.cfg source [find interface/buspirate.cfg] buspirate_port /dev/ttyUSB0 buspirate_mode normal gdb_memory_map enable gdb_flash_program enable source [find target/lpc1768.cfg] Start OpenOCD, $ openocd -f openocd.cfg GDB Start GDB