Olimex JTAG adapter doesn't release reset / Reset timed out

Since yesterday OpenOCD fails after flashing my olimex p256 demo board. Programming seem to work, but afterwards the board is held in reset. Removing the JTAG plug releases the reset and the program works as expected. After that i have to powercycle the adapter to continue working with the JTAG adapter Debugging seems to work.

I noticed:

If I omit the “reset run” and “shutdown” commands from flash script and send them manually via telnet the reset is released and the device runs.

I would like to append configs and logs, but the board software obviously doesn’t want me to. I uploaded the stuff to:

http://people.ee.ethz.ch/~npreyss/openocd/

I did some further tests. And it seems the shutdown command is the problem. If I comment it out. The device starts after programming, but if I issue shutdown reset is low afterwards.