I am trying to get openocd to connect to the usbScarab. However I get an error message " Command handler execution failed".
Details of my setup:
Host OS : Linux (Ubuntu 9.10 running on an i686 machine)
OpenOCD version : Open On-Chip Debugger 0.4.0 (2010-04-20-13:55)
usb-jtag hw: Kristech usbScarab
Target board : ETT ARM7 USB LPC2148
**Details of commands that I ran on the linux prompt:**openocd -f openocd_lpc2148.cfg -d
**Error Message Details:**User : 10 14 command.c:539 command_print(): debug_level: 3
Debug: 11 14 configuration.c:45 add_script_search_dir(): adding /home/tushar/.openocd
Debug: 12 14 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site
Debug: 13 14 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts
Debug: 14 15 configuration.c:87 find_file(): found openocd_lpc2148.cfg
Debug: 15 27 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_telnet_port 4444
Debug: 16 27 command.c:133 script_debug(): command - telnet_port ocd_telnet_port 4444
Debug: 18 27 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_gdb_port 3333
Debug: 19 27 command.c:133 script_debug(): command - gdb_port ocd_gdb_port 3333
Debug: 21 27 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_tcl_port 6666
Debug: 22 27 command.c:133 script_debug(): command - tcl_port ocd_tcl_port 6666
Debug: 24 27 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_gdb_memory_map enable
Debug: 25 27 command.c:133 script_debug(): command - gdb_memory_map ocd_gdb_memory_map enable
Debug: 27 27 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_usage gdb_memory_map
Debug: 28 27 command.c:133 script_debug(): command - usage ocd_usage gdb_memory_map
User : 33 27 command.c:909 command_help_show_wrap():
User : 34 28 command.c:824 openocd_jim_vfprintf(): Command handler execution failed
User : 37 28 command.c:824 openocd_jim_vfprintf():
User : 39 28 command.c:824 openocd_jim_vfprintf():
User : 42 28 command.c:824 openocd_jim_vfprintf():
User : 44 28 command.c:824 openocd_jim_vfprintf():
I have also attached the openocd cfg file that I am using. The extension has been changed as .cfg file upload failed.
Could you please help me for debugging the above error and getting openocd to connect to usbScarab hardware such that I can flash & debug programs on LPC2148 ?