From: Myles W. <my...@gm...> - 2014-11-21 20:41:37
|
First of all, thanks for the great tool! I'm using OpenOCD 0.9.0 with an stlink to program a nRF51822 using hla_swd. 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? Thanks, Myles |