The distribution contains a lot of pretested configurations. You can also read the manual, probably somewhere on your computer, or http://openocd.berlios.de/doc/index.html
Also new. I have found a chapter in the OpenOCD Docs at http://openocd.berlios.de/doc/html/Upgr … #Upgrading describing the language changes. It’s not all simple, so you’ll be spending time in the docs around the topics of Taps and Targets, I think.
I’ve found some sample scripts in the source code release with examples of the new target command, for example. Note that they also mix in old-style commands, so there’s some work for somebody there still.
Interesting, perhaps a bit disturbing, how well the old-style command files that people have put on the web work in the new-style program. I’m working with a wiggler clone and AT91SAM7S-EK, and could run and halt the processor, get and set registers, enumerate the flash, all based on an obsolete target description.