New OpenOCD 0.8 packages and Tiva Launchpad

Posted at 2014-10-31.

Today, I noticed Debian has new openocd packages available. The OpenOCD site mentions this. It seems we've gone to 0.8. The release post mentions "New TI Launchpads board configs".

$ find /usr/share/openocd/scripts/ | grep -i 123
/usr/share/openocd/scripts/board/ek-tm4c123gxl.cfg
...
$ openocd -f board/ek-tm4c123gxl.cfg
Open On-Chip Debugger 0.8.0 (2014-10-20-21:48)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : This adapter doesn't support configurable speed
Warn : unable to get ICDI version
Info : tm4c123gh6pm.cpu: hardware has 6 breakpoints, 4 watchpoints

It seems there's some differences in the operation: Load sometimes fails and the target starts running instead. Reset halt may also not work. On the other hand (re)loading works on a running target. ('Default GDB flashing events handlers to initialise and reset the target automatically when “load” is used'?) Most debugging commands I tried also seem to work just as before.