Content originally posted in LPCWare by atomicdog on Fri Jun 10 22:28:22 MST 2011
Quote: stanislaw
I noticed that in LPC1313 bit SYSRST isn't set after calling function NVIC_SystemReset(). I checked status of register in debug mode
In UM10375 this bit exist but in LPC1311/13/42/43 section RESET is wrote "Reset has four sources on the LPC1311/13/42/43: the RESET pin, the Watchdog reset,
power-on reset (POR), and the Brown-Out Detection (BOD) circuit."
Does LPc1313 have or no software reset?
Have you tried testing it when not in debug mode? With my LPC1114, when I test it with the debugger I get zeros in [I]SYSRSTSTAT [/I]sometimes other times it show [I]SYSRST [/I]and POR.
But when I just program the LPC and test NVIC_SystemReset() the SYSRST bit gets set properly and consistently.