Help! how to convert old command to new command?

I am a new hand.

I download openocd 0.10,but it’s very different from openocd r717.

I do not have any idea how to convert.

Thank you for your reply.

telnet_port 4444 
gdb_port 3333 

interface ft2232
ft2232_device_desc "Amontec JTAGkey A"
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xcff8
jtag_speed 0
jtag_nsrst_delay 50
jtag_ntrst_delay 50

reset_config trst_and_srst srst_pulls_trst trst_push_pull srst_open_drain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe

#target configuration
daemon_startup reset

#target  
target arm7tdmi little run_and_init 0 arm7tdmi-s_r4
run_and_halt_time 0 30
arm7_9 fast_memory_access enable

working_area 0 0x40000000 0x4000 
#initial script
target_script 0 reset C:\Config\w55pa71_80MHz.script

The distribution contains a lot of pretested configurations. You can also read the manual, probably somewhere on your computer, or http://openocd.berlios.de/doc/index.html

/Magnus

Also new. I have found a chapter in the OpenOCD Docs at http://openocd.berlios.de/doc/html/Upgr … #Upgrading describing the language changes. It’s not all simple, so you’ll be spending time in the docs around the topics of Taps and Targets, I think.

I’ve found some sample scripts in the source code release with examples of the new target command, for example. Note that they also mix in old-style commands, so there’s some work for somebody there still.

Interesting, perhaps a bit disturbing, how well the old-style command files that people have put on the web work in the new-style program. I’m working with a wiggler clone and AT91SAM7S-EK, and could run and halt the processor, get and set registers, enumerate the flash, all based on an obsolete target description.