> It would help to know what revision of the SVN repository you checked out. > Either way, the first error is that you tried to call "reset_run" which > isn't a valid command. You want "reset run". Since that seems to be > originating from lpc2xxx_armusbocd.cfg, your target config isn't getting set > completely. I don't know enough about how the commands are registered, but > it could be possible that since your target config didn't run completely the > target didn't get set which causes 'halt' to be not defined. That last part > is just a guess at this point. > > First things first, fix the "reset_run" -> "reset run" and try it again.
The SVN is head as of this morning, what like 1117 or so? I have no reset_run in my file, just reset run. If you comment out reset run, the error goes away, and it errors on poll, or soft_reset_halt, or whatever comes next. Just to get rid of the guesswork, my enitre file: #daemon configuration telnet_port 4444 gdb_port 3333 #interface interface ft2232 ft2232_device_desc "Olimex OpenOCD JTAG A" ft2232_layout "olimex-jtag" ft2232_vid_pid 0x15BA 0x0003 jtag_speed 3 #use combined on interfaces or targets that can't set TRST/SRST separately reset_config none #jtag scan chain #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) jtag_device 4 0x1 0xf 0xe #target <type> <startup mode> #target arm7tdmi <reset mode> <chainpos> <endianness> <variant> target arm7tdmi little run_and_init 0 arm7tdmi-s_r4 #reset run sleep 100 #halt working_area 0 0x40000000 0x4000 nobackup target_script 0 reset /usr/home/steve/projects/include/arm/openocd_lpc2138_flash.script #flash bank lpc2000 <base> <size> 0 0 <target#> <variant> flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 12000 #soft_reset_halt poll # For more information about the configuration files, take a look at: # http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger Thanks, Steve _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development