SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By pinkesh
#176055
Hello Everyone,

I am novice to openocd. I am using Atmel_samD21_explained_pro board.

Open On-Chip Debugger 0.8.0-dev-00175-g8b7acca (2014-10-15-16:59)
Licensed under GNU GPL v2


I am gettng follwing error.

Error: flash driver 'at91samd' not found
Runtime Error: /usr/local/share/openocd/scripts/target/at91samdXX.cfg:60:
in procedure 'script'
at file "embedded:startup.tcl", line 58
at file "/usr/local/share/openocd/scripts/board/atmel_samr21_xplained_pro.cfg", line 8
in procedure 'flash' called at file "/usr/local/share/openocd/scripts/target/at91samdXX.cfg", line 60
make: *** [flash] Error 1
By 153rd
#176056
Hey pinkesh.

What did you try until now?
When looking at that config file:

# if srst is not fitted use SYSRESETREQ to
# perform a soft reset
cortex_m reset_config sysresetreq

It seems like ' something' goes wrong here.
Try to start looking there.

Good luck!
By pinkesh
#176063
I got this . It solved with newer version of openocd ..Thank u..