On Wed, Jul 16, 2014 at 6:04 AM, Paul Fertser <[email protected]> wrote: > On Wed, Jul 16, 2014 at 05:45:29AM -0700, Andrey Smirnov wrote: >> that was what I used for that purpose. Usually nRF51 kits/samples come >> with Segger J-Link Lite and there were number of patches floating >> around that should add SWD support for the driver(Those patches didn't >> work for me, but that may be because I was using OSX) > > Please retry the current version, http://openocd.zylin.com/2141 , > after Brian added a call for jtag2swd sequence, it should work with > all the supported targets.
It wasn't even getting to the point of talking to the HW, so that wouldn't really make a difference. It was failing at getting a response to the very first "get version" USB packet(USB reads were returning 0 bytes). I suspect it is some libusb on OSX related problem, but I need to look more into that. > >> > This morning I tried it with resistor hack. >> > It’s working for stm32f1x but doesn’t work for nRF51 at all. > > Probably the resistor is of unsuitable value? What is the log output > here? > >> > I can provide any logs and do tests if anyone can help with this. >> > >> > Does anyone has successful experience debugging nrf51 chip with FTDI based >> > tool? >> >> I have an irrational dislike/distrust of all things FTDI so I don't >> use it very often. Sorry I can't be on much help here. > > But with FTDI adapters you can have really low-level control of what's > going on. > Oh I was not arguing that those chips didn't have their merits, that's why I labeled my perceptions as irrational :-) > -- > 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
