Try a lower clock speed. That looks like signal integrity issues. Either that, 
or one of the wires isn't connected as solidly as it could be.

elex S <elexs...@gmail.com> wrote:



Hello,

I am new to JTAG and OpenOCD. I want to use Jlink-JTAG with my PHYTEC LPC3250 
board.
Hence, I have downloaded code from 
"http://developer.berlios.de/projects/openocd";. I built the code as follows:

   cd openocd-0.4.0
   ./configure --enable-jlink
   make
   make install

Then I tried 'openocd" executable as follows
sudo openocd -f /usr/local/share/openocd/scripts/interface/jlink.cfg -f 
/usr/local/share/openocd/scripts/board/phytec_lpc3250.cfg -c 'reset_config 
trst_and_srst'

However application fails to connect with JTAG and gets hang in between. Could 
you please provide me some pointers. I have captured log:

Open On-Chip Debugger 0.4.0 (2010-11-23-12:13)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.berlios.de/doc/doxygen/bugs.html
jtag_nsrst_delay: 200
jtag_ntrst_delay: 1
200 kHz
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
dcc downloads are enabled
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Info : J-Link initialization started / target CPU reset initiated
Error: J-Link command EMU_CMD_VERSION failed (-110)

Info : J-Link JTAG Interface ready
Info : clock speed 200 kHz
Info : JTAG tap: lpc3250.sjc tap/device found: 0x000000ff (mfg: 0x07f, part: 
0x0000, ver: 0x0)
Warn : JTAG tap: lpc3250.sjc       UNEXPECTED: 0x000000ff (mfg: 0x07f, part: 
0x0000, ver: 0x0)
Error: JTAG tap: lpc3250.sjc  expected 1 of 1: 0x1b900f0f (mfg: 0x787, part: 
0xb900, ver: 0x1)
Info : JTAG tap: lpc3250.cpu tap/device found: 0x000000ff (mfg: 0x07f, part: 
0x0000, ver: 0x0)
Warn : JTAG tap: lpc3250.cpu       UNEXPECTED: 0x000000ff (mfg: 0x07f, part: 
0x0000, ver: 0x0)
Error: JTAG tap: lpc3250.cpu  expected 1 of 1: 0x17900f0f (mfg: 0x787, part: 
0x7900, ver: 0x1)
Warn : Unexpected idcode after end of chain: 128 0xdec65cff
Warn : Unexpected idcode after end of chain: 160 0x000000da
Warn : Unexpected idcode after end of chain: 192 0x00000000
Warn : Unexpected idcode after end of chain: 224 0x00000000
Warn : Unexpected idcode after end of chain: 256 0x00000000
Warn : Unexpected idcode after end of chain: 288 0x00000000
Warn : Unexpected idcode after end of chain: 320 0x00000000
Warn : Unexpected idcode after end of chain: 352 0xe4000000
Warn : Unexpected idcode after end of chain: 384 0xe8d0ced2
Warn : Unexpected idcode after end of chain: 416 0x60606440
Warn : Unexpected idcode after end of chain: 448 0x60645a66
Warn : Unexpected idcode after end of chain: 480 0xfe407260
Warn : Unexpected idcode after end of chain: 512 0x1b900f0f
Warn : Unexpected idcode after end of chain: 544 0x17926f0f
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Info : JTAG tap: lpc3250.sjc tap/device found: 0x000000ff (mfg: 0x07f, part: 
0x0000, ver: 0x0)
Warn : JTAG tap: lpc3250.sjc       UNEXPECTED: 0x000000ff (mfg: 0x07f, part: 
0x0000, ver: 0x0)
Error: JTAG tap: lpc3250.sjc  expected 1 of 1: 0x1b900f0f (mfg: 0x787, part: 
0xb900, ver: 0x1)
Info : JTAG tap: lpc3250.cpu tap/device found: 0x000000ff (mfg: 0x07f, part: 
0x0000, ver: 0x0)
Warn : JTAG tap: lpc3250.cpu       UNEXPECTED: 0x000000ff (mfg: 0x07f, part: 
0x0000, ver: 0x0)
Error: JTAG tap: lpc3250.cpu  expected 1 of 1: 0x17900f0f (mfg: 0x787, part: 
0x7900, ver: 0x1)
Warn : Unexpected idcode after end of chain: 480 0xfe0000ff
Warn : Unexpected idcode after end of chain: 512 0x1b900f0f
Warn : Unexpected idcode after end of chain: 544 0x17926f0f
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.

^C

Please let me know, If I am missing some steps.

Regards,
Surendra


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to