openocd configuration file nrf51.cfg not working

Open source ARM Debugger

Moderator: phalanx

Post Reply
Posts: 1
Joined: Sat Jul 22, 2017 9:34 am

openocd configuration file nrf51.cfg not working

Post by devz » Sat Jul 22, 2017 9:42 am

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
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.

Post Reply