I wrote as follows:
#daemon configuration
telnet_port 4444
gdb_port 3333
tcl_port 6666
tell gdb our flash memory map
and enable flash programming
gdb_memory_map enable
gdb_flash_program enable
#interface
interface mmjtag
#jtag_speed 3
jtag_khz 1000
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
target create target0 arm920t -endian little -chain-position 0 -variant arm920t
#reset configuration
reset_config trst_and_srst separate
[new_target_name] configure -work-area-virt 0 -work-area-phys 0x200000 -work-area-size 0x4000 -work-area-backup 1
but when I send “halt” command in telnet.
Open On-Chip Debugger
halt
invalid mode value encountered
cpsr contains invalid mode value - communication failure
Runtime error, file “command.c”, line 436:
why?