This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ST-LINK and NRF51822

I'm trying to program nrf51822 via st-link and open ocd. Here command:

openocd-0.8.0.exe -f interface/stlink-v2.cfg -f target/nrf51_stlink.tcl -c "program address".

And gets this output:

Open On-Chip Debugger 0.8.0 (2014-04-28-08:39)

Licensed under GNU GPL v2

For bug reports, read

openocd.sourceforge.net/.../bugs.html

Info : This adapter doesn't support configurable speed

Info : STLINK v2 JTAG v17 API v2 SWIM v0 VID 0x0483 PID 0x3748

Info : using stlink api v2

Info : Target voltage: 2.903318

Error: hl_interface_init_target: target not found: idcode: 0x2ba01477

in procedure 'transport'

OpenOCD init Failed

shutdown command invoked

What's a problem, please help? And can somebody to give example of the eclipse's project?

Related