Page 1 of 1

openocd configuration file nrf51.cfg not working

Posted: Sat Jul 22, 2017 9:42 am
by devz
Hi,
I am using st-link debugger with NRF51822 module.
I was trying to connect it openocd, but it failed. st-link is working with STM32 processor and able to flash through STM32 ST-LINK Utility
I was got error as follows.
Code: Select all
>openocd -f nrf51.cfg
Open On-Chip Debugger 0.9.0-dev-00415-g2d4ae3f-dirty (2015-06-12-17:54)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
nrf51.cfg:5: Error: Can't find target/swj-dp.tcl
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "nrf51.cfg", line 5
I tried nos. ways but it failing to connect. Any suggestion please.