I am trying to reset and halt the target nRF51822 under SWD protocol. Could someone point out the register to achieve the same? I looked up the reference manual but couldn't locate anything. Or any sample code. Am I missing a point here?
I am trying to reset and halt the target nRF51822 under SWD protocol. Could someone point out the register to achieve the same? I looked up the reference manual but couldn't locate anything. Or any sample code. Am I missing a point here?
Write to the AIRCR (Application Interrupt and Reset Control Register) register in the System Control Block setting the SYSRESETREQ bit (and the vector key to the correct value). See the ARM V6M reference manual for details.
Write to the AIRCR (Application Interrupt and Reset Control Register) register in the System Control Block setting the SYSRESETREQ bit (and the vector key to the correct value). See the ARM V6M reference manual for details.