TM4C1294XL OPENOCD error

Hello,

I am new to OPENOCD. I am trying program/debug TIVA TM4C1294XL board with emBitz and OPENOCD. I am getting errors as shown below. I have also pasted output with -d3 switch at the bottom. Does anyone know how to resolve this?

After a couple of tries the processor does get programmed and halts at the RESET entry but its very unreliable.

Thanks.

#######################################################

Open On-Chip Debugger 0.9.0 (2015-05-19-12:06)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD

adapter speed: 500 kHz

Info : clock speed 1965625408 kHz

Info : ICDI Firmware version: 1263

Info : tm4c1294ncpdt.cpu: hardware has 6 breakpoints, 4 watchpoints

Info : accepting ‘gdb’ connection on tcp/3333

undefined debug reason 7 - target needs reset

adapter speed: 4541481 kHz

target state: halted

target halted due to debug-request, current mode: Thread

xPSR: 0x01000000 pc: 0x000061b4 msp: 0x20010a40

adapter speed: 4541481 kHz

target state: halted

target halted due to debug-request, current mode: Thread

xPSR: 0x01000000 pc: 0x000061b4 msp: 0x20010a40

target state: halted

target halted due to breakpoint, current mode: Thread

xPSR: 0x61000000 pc: 0x20000042 msp: 0x20010a40

adapter speed: 4541481 kHz

target state: halted

target halted due to debug-request, current mode: Thread

xPSR: 0x01000000 pc: 0x00000ad8 msp: 0x20000200

adapter speed: 4541481 kHz

Error: memory write failed: 0x7

Error: memory write failed: 0x7

Error: memory read failed: 0x7

Error: jtag status contains invalid mode value - communication failure

TARGET: tm4c1294ncpdt.cpu - Not halted

in procedure ‘reset’

in procedure ‘ocd_bouncer’

adapter speed: 4541481 kHz

target state: halted

target halted due to debug-request, current mode: Thread

xPSR: 0x01000000 pc: 0x00000ad8 msp: 0x20000200