From: Angus G. <gu...@pr...> - 2014-12-10 04:00:29
|
On Fri, Nov 21, 2014 at 12:41:30PM -0800, Myles Watson wrote: > I'd like to disable the debugging mode as part of programming the chip. In > order to do that, the RESET register in the POWER module needs to be > written, and then swdioclk and swdio need to be held low for a minimum of > 100us. > > Since the nRF51822 has a shared swdio/nreset line, the reset doesn't work > if the chip is not returned to normal mode. > > Where should I add a "hard-reset" function which is specific to the > nRF51822 and SWD? Hi Myles, Did you have any luck with this? I saw the post when you originally made it, but I didn't reply as I didn't really have any good ideas - as far as I know you can't directly control the SWDIO and SWCLK pins on the STLinkv2 adapter, as it's a "high level adapter" (hla) type and its protocol doesn't give you that low level of control. :( Angus |