Hi, I use git to download the newest OpenOCD, and compile with this configure" ./configure --enable-maintainer-mode ---enable-jlink"
I write the openocd.cfg like the following:
gdb_port 3333
telnet_port 4444
tcl_port 6666
source [find interface/jlink.cfg]
jtag_khz 1500
source [find board/dm355evm.cfg]
In dm355 evm board, I set EMU0 and EMU1 both as 0 througth switch. I connect a 20-pin Jlink to the board and power it up.
Then I enter command in linux: openocd
The screen displays:
Open On-Chip Debugger 0.4.0-rc1-dev-00130-g87cb29d (2010-01-21-09:50)
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
1500 kHz
RCLK - adaptive
fast memory access is enabled
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
Info : J-Link ARM V6 compiled Jun 30 2009 11:04:04
Info : JLink caps 0x99ff7bbf
Info : JLink hw version 60000
Info : JLink max mem block 8864
Info : Vref = 3.196 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 0 TRST = 0
Info : J-Link JTAG Interface ready
Info : RCLK (adaptive clock speed)
Info : JTAG tap: dm355.jrc tap/device found: 0x2b900f0f (mfg: 0x787, part: 0xb900, ver: 0x2)
Warn : JTAG tap: dm355.jrc UNEXPECTED: 0x2b900f0f (mfg: 0x787, part: 0xb900, ver: 0x2)
Error: JTAG tap: dm355.jrc expected 1 of 1: 0x0b73b02f (mfg: 0x017, part: 0xb73b, ver: 0x0)
Warn : Unexpected idcode after end of chain: 32 0x07926001
Warn : Unexpected idcode after end of chain: 64 0x0b73b02f
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Info : JTAG tap: dm355.jrc tap/device found: 0x2b900f0f (mfg: 0x787, part: 0xb900, ver: 0x2)
Warn : JTAG tap: dm355.jrc UNEXPECTED: 0x2b900f0f (mfg: 0x787, part: 0xb900, ver: 0x2)
Error: JTAG tap: dm355.jrc expected 1 of 1: 0x0b73b02f (mfg: 0x017, part: 0xb73b, ver: 0x0)
Warn : Unexpected idcode after end of chain: 32 0x07926001
Warn : Unexpected idcode after end of chain: 64 0x0b73b02f
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.
Can anyone help me? Thanks very much in advance.
Best Regards
Richard LIU