Error: BUG: current_target out of bounds

All,

I’m having some issues when trying to get libswd working with openocd. I can successfully read/write memory from libswd directly but when I try to do the same with openocd I am running into problems namely I am stuck with the error message:

Error: BUG: current_target out of bounds.

All I am doing in my config is:

interface_transports swd

transport select swd

I did have a target config but stripped everything out to see if that was causing the error but it appears the error lies in those two lines.

Any help is greatly appreciated.

David

Support for libSWD and OpenOCD was started but never completely finished.

Andreas has created a much simpler/faster SWD driver for OpenOCD - http://openocd.zylin.com/1958/

You will need to build OpenOCD from source to test.

Cheers

Spen

Spen,

This worked beautifully. Thank you!

David