On Fri, Jul 18, 2014 at 05:33:39PM +0800, Andrii Anpilogov wrote: > When I run openocd with this config and it looks like nRF51 simple doesn’t > response to request command: > Debug: 223 192 ftdi.c:982 ftdi_swd_run_queue(): JUNK DP read reg 0 = ffffffff
You'll need this hack for now: https://gist.github.com/projectgus/224f06d0276affc69826 . > > ./openocd -f interface/stlink-v2.cfg -f target/nrf51_stlink.tcl > Open On-Chip Debugger 0.9.0-dev-00098-ge03eb89 (2014-07-15-18:05) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.sourceforge.net/doc/doxygen/bugs.html > Error: session's transport is not selected. > Info : session transport was not selected, defaulting to JTAG > Error: Debug adapter doesn't support 'jtag' transport openocd -f interface/stlink-v2.cfg -c "transport select hla_swd" -f target/nrf51_stlink.tcl HTH -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected] ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
