MUS177/267 – “undefined debug reason 7 – target needs reset”

You may get this message when first starting your debug session. If you do, read the notes onĀ https://stackoverflow.com/questions/38994596/reason-7-target-needs-reset-unreliable-debugging-setup

I tried the second suggestion – using the version of OpenOCD fromĀ http://www.freddiechopin.info (under Download) – this worked well for me.