At91rm9200 + Jtagkey troubles

So, I just posted how I got the Jtagkey setup with openocd. The problem I’m having now is that I can’t halt the processor. I can telnet into 4444 and run commands like version, which returns “Open On-Chip Debugger 1.0 (2008-10-20-14:03) svn:1083” and poll, which returns “target state: running”. I know it is connected to something because if I disconnect it from the processor before I start openocd then I get errors, and when it is connected when I start I get:

jtag_speed: 3
Info:   JTAG device found: 0x15b0203f (Manufacturer: 0x01f, Part: 0x5b02, Version: 0x1)
Error:  unknown EmbeddedICE version (comms ctrl: 0x00000000)

My config file is:

#daemon configuration
telnet_port 4444
gdb_port 3333

#interface
interface ft2232
ft2232_device_desc "Amontec JTAGkey"
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xcff8
jtag_speed 3

#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst

#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe

#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
target arm920t little 0 arm920t

working_area 0 0x20000000 0x200000 nobackup

#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
flash bank cfi 0x00000000 0x800000 4 1 0

Is there something wrong with my config file? Is there a standard config file for the at91rm9200?

thanks,

Paul

there have been a few changes in the openocd config.

add the following to the bottom of the cfg file

init
reset halt

Does the “init” & “reset halt” fix your trouble ?

Laurent

http://www.amontec.com