openocd -f my.cfg
Open On-Chip Debugger 1.0 (2008-06-25-10:43) svn:
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Error: jtag.c:1684 handle_interface_command(): No valid jtag interface found (ft2232)
Error: jtag.c:1685 handle_interface_command(): compiled-in jtag interfaces:
Error: jtag.c:1688 handle_interface_command(): 0: amt_jtagaccel
Info: options.c:50 configuration_output_handler(): Command ft2232_device_desc not found
Info: options.c:50 configuration_output_handler(): Command ft2232_layout not found
Info: options.c:50 configuration_output_handler(): Command ft2232_vid_pid not found
Info: options.c:50 configuration_output_handler(): jtag_speed: 1, 1
Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-06-25-10:43) svn:
Error: jtag.c:1511 jtag_interface_init(): JTAG interface has to be specified, see “interface” command
ffli@ffli:~/Docs_ffli/trunk> more my.cfg
#daemon configuration
telnet_port 4444
gdb_port 3333
tell gdb our flash memory map
and enable flash programming
gdb_memory_map enable
gdb_flash_program enable
#interface
interface ft2232
ft2232_device_desc “Amontec JTAGkey A”
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xcff8
jtag_speed 0
#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 configuration
daemon_startup reset
#target
#target arm7tdmi
target arm7tdmi little run_and_halt 0 arm7tdmi
run_and_halt_time 0 30
#target_script 0 gdb_program_config .\prj\str710_program.script
working_area 0 0x2000C000 0x4000 nobackup
#flash bank str7x 0 0 <target#>
flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
For more information about the configuration files, take a look at:
http://openfacts.berlios.de/index-en.ph … p+Debugger
If have had someone tried?
how to solve my above problem?
have some special setting for me board??
Thanks in advance for your help!
FFLI