Skip to content

HydraFW OpenOCD guide

Baldanos edited this page Feb 4, 2019 · 12 revisions

OpenOCD mode

This guide is updated towards development firmware

OpenOCD can be used with the same protocol as the bus pirate. An example configuration file can be :

source [find interface/buspirate.cfg]

buspirate_mode open-drain
buspirate_pullup 1

buspirate_port /dev/ttyACM0

If you know the target JTAG pins, connect them on the default pins and run OpenOCD with your configuration file.

Combining pin discovery and OpenOCD mode

It is possible to discover the JTAG pins and use them without changing the wiring :

  • Use the brute commands to discover the pins.
  • Once the pins are discovered, validate them using bypass and idcode commands.
  • Run the openocd command
  • Leave the Hydrabus terminal
  • Run OpenOCD with your configuration file

Additional informations about OpenOCD mode

See tutorial here : https://cybermashup.com/2014/05/01/jtag-debugging-made-easy-with-bus-pirate-and-openocd/

How to Flash/Use HydraFW

How to Build/Flash/Use HydraFW

Developer Getting-Started with HydraBus and STM32CubeIDE

Hardware

Firmware (hydrafw) performances

Firmware (hydrafw) Application guides

Firmware (hydrafw) guides

How to Help

Clone this wiki locally