Hi,
I’m a beginner with all this stuff and i have a problem that i can’t fixed :o
I’m using Eclipse/ARM-USB-TINY-H and a AT91sam7s256 microcontroler. I have the following configuration file :
daemon configuration
########################
telnet_port 4444
gdb_port 3333
interface : wigler olimex
#############################
#interface parport
#parport_port 0
#parport_cable wiggler
#jtag_speed 0
interface : arm-usb-ocd olimex
##################################
interface ft2232
ft2232_device_desc “Olimex OpenOCD JTAG”
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 srst_only 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
#daemon_startup attach
jtag_nsrst_delay 100
jtag_ntrst_delay 100
target
target arm7tdmi [variant]
target arm7tdmi little run_and_halt 0 arm7tdmi
run_and_halt_time 0 30
flash configuration
flash bank <chip_width> <bus_width> <target#>
flash bank at91sam7 0 0 0 0 0
zone de travail pour la gestion d’une flash cfi
je pense que cette zone ne sert pas a autre chose
mais je n’en suis pas sur…
working_area 0 0x00200000 0x4000 nobackup
cfi options
flash bank cfi <chip_width> <bus_width> <target#>
but when i start openocd with eclipse i have this error :
Runtime error, file “at91sam7s256-armusbocd.cfg”:
invalid command name “jtag_speed”
I try to change “jtag-speed 2” by “jtag_khz 1500” but when i do that the error is : invalid command name “jtag_device”
So if anyone could help me i would be greatful
and i apologise for my english !
Thanks in advance,
Regards,