openocd not connecting to target

Hi All

I am trying to connect olimex-ARM-USB-OCD to olimex SAM7-EX256 Rev C dev board in kubuntu 11.10 64 bit OS.

But i am getting the error below, please help

Thank you

Nithin

nithin@nithin-Inspiron-620s:~/project/olimex_sam7_dev_board/All_Interfaces/build$ sudo openocd -f interface/olimex-arm-usb-ocd.cfg -f board/olimex_sam7_ex256.cfg

Open On-Chip Debugger 0.5.0 (2011-08-26-10:36)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

Info : only one transport option; autoselect ‘jtag’

srst_only srst_pulls_trst srst_gates_jtag srst_open_drain

Warn : use ‘sam7x256.cpu’ as target identifier, not ‘0’

Error: flash driver ‘0’ not found

Runtime Error: /usr/share/openocd/scripts/target/sam7x256.cfg:49:

in procedure ‘script’

at file “embedded:startup.tcl”, line 58

at file “/usr/share/openocd/scripts/board/olimex_sam7_ex256.cfg”, line 3

in procedure ‘flash’ called at file “/usr/share/openocd/scripts/target/sam7x256.cfg”, line 49