OpenOCD throws "JTAG scan chain interrogation failed: all zeroes" error
This seems to have gotten rid of the errors for me


Go to the config file for the raspberry pi interface, this is most likely located in:



/usr/share/openocd/scripts/interface/sysfsgpio-raspberrypi.cfg




Add



  sysfsgpio_srst_num 7



Save the file, it should run now


EDITED: Edited because of comment that the original way wasn't the way to go