On Fri, Jul 18, 2014 at 06:15:28PM +1000, Angus Gratton wrote:
> Turns out this works.

Turns out it's even simpler than I previously thought! The only
problem seems to be the 1kHz initial clock rate in the driver. Not
anything about number of line reset edges, that was a red herring (and
improper power cycling was probably why I mis-diagnosed).

Patch submitted as http://openocd.zylin.com/#/c/2223/

Technically speaking openocd still doesn't meet the datasheet's stated
requirement of 150 clocks w/ SWDIO high to enable DAP. Stlink sends
more than the low level driver does, but probably not 150 either, so
perhaps it's not a problem - but I'm noting it here in case people are
having intermittent trouble with nrf51822 DAP in the future.

Angus

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

Reply via email to