Beagle Board Xm with OpenOCD debugger using ARM USB JTAG Debugger of NGX Technologies

Hi all,

I am a newbee to debugging,i have a hardware USB JTAG Debugger provided NGX Technologies which has 20 pin standard JTAG Header.
But BB-XM has only 14 pins,so i used a pin-pin connection between BB-XM and Hardware Debugger using Jumper wires between.

1.I have unused EMU0 and EMU1.
2.I have connected TDI of BB-xm to Debugger TDO and vice versa.

i started openocd by changing the tcl/target/amdm37x.cfg cortex-a to cortex-a8 @144

when i run the command on command prompt : openocd -f tcl/interface/ngxtech.cfg -f tcl/board/ti_beagleboard_xm.cfg -f tcl/target/amdm37x.cfg -c init -c “reset init”
it displays the fallowing log on the console
Open On-Chip Debugger 0.7.0 (2014-01-23-19:22)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect ‘jtag’
adapter speed: 10 kHz
Warn : dm37x.dsp: huge IR length 38
trst_only separate trst_push_pull
adapter speed: 10 kHz
Warn : dm37x.dsp: huge IR length 38
Runtime Error: embedded:startup.tcl:20: Command/target: dm37x.cpu Exists
in procedure ‘script’
at file “embedded:startup.tcl”, line 58
in procedure ‘target’ called at file “tcl/target/amdm37x.cfg”, line 144
in procedure ‘ocd_bouncer’
at file “embedded:startup.tcl”, line 20

am unable to step further,please help me out in this regard.
for your information:
http://shop.ngxtechnologies.com/download/Schematics/JTAG/NGX_ARM_USB_JTAG.pdf

When i started runing openocd with
openocd -f tcl/interface/ngxtech.cfg -f tcl/board/ti_beagleboard_xm.cfg -c init -c “reset init”
'Open On-Chip Debugger 0.7.0 (2014-01-23-19:22)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect ‘jtag’
adapter speed: 10 kHz
Warn : dm37x.dsp: huge IR length 38
trst_only separate trst_push_pull
Info : clock speed 10 kHz
Info : JTAG tap: dm37x.jrc tap/device found: 0xfff9cd17 (mfg: 0x68b, part: 0xff9c, ver: 0xf)
Warn : JTAG tap: dm37x.jrc UNEXPECTED: 0xfff9cd17 (mfg: 0x68b, part: 0xff9c, ver: 0xf)
Error: JTAG tap: dm37x.jrc expected 1 of 3: 0x2b89102f (mfg: 0x017, part: 0xb891, ver: 0x2)
Error: JTAG tap: dm37x.jrc expected 2 of 3: 0x1b89102f (mfg: 0x017, part: 0xb891, ver: 0x1)
Error: JTAG tap: dm37x.jrc expected 3 of 3: 0x0b89102f (mfg: 0x017, part: 0xb891, ver: 0x0)
Error: Trying to use configured scan chain anyway…
Error: dm37x.jrc: IR capture error; saw 0x31 not 0x01
Warn : Bypassing JTAG setup events due to errors
adapter speed: 10 kHz
Info : JTAG tap: dm37x.jrc tap/device found: 0xfff3aa17 (mfg: 0x50b, part: 0xff3a, ver: 0xf)
Warn : JTAG tap: dm37x.jrc UNEXPECTED: 0xfff3aa17 (mfg: 0x50b, part: 0xff3a, ver: 0xf)
Error: JTAG tap: dm37x.jrc expected 1 of 3: 0x2b89102f (mfg: 0x017, part: 0xb891, ver: 0x2)
Error: JTAG tap: dm37x.jrc expected 2 of 3: 0x1b89102f (mfg: 0x017, part: 0xb891, ver: 0x1)
Error: JTAG tap: dm37x.jrc expected 3 of 3: 0x0b89102f (mfg: 0x017, part: 0xb891, ver: 0x0)
Error: Trying to use configured scan chain anyway…
Error: dm37x.jrc: IR capture error; saw 0x39 not 0x01
Warn : Bypassing JTAG setup events due to errors
DEPRECATED! use ‘cortex_a’ not ‘cortex_a8’
Error: target not examined yet
Runtime Error: embedded:startup.tcl:378:
in procedure ‘amdm37x_dbginit’
in procedure ‘cortex_a8’ called at file “/usr/local/share/openocd/scripts/target/amdm37x.cfg”, line 203
in procedure ‘cortex_a’ called at file “embedded:startup.tcl”, line 378
getting Hanged over here…
i have started gdb on the other tab…
Info : accepting ‘gdb’ connection from 3333
DEPRECATED! use ‘cortex_a’ not ‘cortex_a8’
Error: target not examined yet
Runtime Error: embedded:startup.tcl:378:
in procedure ‘amdm37x_dbginit’
in procedure ‘cortex_a8’ called at file “/usr/local/share/openocd/scripts/target/amdm37x.cfg”, line 203
in procedure ‘cortex_a’ called at file “embedded:startup.tcl”, line 378

Warn : acknowledgment received, but no packet pending
undefined debug reason 6 - target needs reset
Segmentation fault (core dumped)

could any one help me in this regard or an idea…!!!