ARM-USB-OCD + Olimex SAM7S256 board + OpenOCD r 115 help

Hi all,

i have the following setup:

Windows xp/sp2 where the following is installed:

Yagarto GNU toolchain for windows

openocd-2006re115

Olimex ARM-USB-OCD + Olimex SAM7-P256 board

i can open a telnet connection using this cfg 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 0
jtag_nsrst_delay 500
jtag_ntrst_delay 500

#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

#target <type> <startup mode>
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
target arm7tdmi little run_and_halt 0 arm7tdmi
run_and_halt_time 0 30

# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger

the problem is that i cant use any command related to the flash command:

Open On-Chip Debugger
> halt
requesting target halt...
target already halted
> poll
target state: halted
target halted in Thumb state due to debug request, current mode: Supervisor
cpsr: 0x800000b3 pc: 0x002001de
> flash probe 0
Command probe not found
> flash info 0
Command info not found
>

what am i doing wrong ?

also is ARM-USB-OCD form Olimex not compatible with SAM-BA ?

cause i cant establish a connection to the board through SAM-BA v1.11

Hello “Barden”,

take a look here:

http://openfacts.berlios.de/index-en.ph … CD_scripts

Here you will find a script for the AT91SAM7.

Perhaps this will help you, because I could not find any

flash settings in your script.

Regards,

Michael

thank you :smiley: