SYSRST problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SYSRST problem

1,441 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by stanislaw on Fri Jun 10 07:41:34 MST 2011
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?
0 Kudos
Reply
8 Replies

1,359 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by stanislaw on Mon Jun 13 10:51:31 MST 2011
I checked without debug mode and it's works. Similar problem is with WDT reset.
Thanks
0 Kudos
Reply

1,359 Views
lpcware
NXP Employee
NXP Employee
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.
0 Kudos
Reply

1,359 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by atomicdog on Fri Jun 10 18:21:37 MST 2011

Quote: Zero
After clearing SYSRST, it is set again (as expected) after NVIC_SystemReset() at my 1343.


Oh, sorry, I don't have a 1343 but from the description it sounds like to me it wouldn't work.
0 Kudos
Reply

1,359 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Jun 10 16:55:48 MST 2011

Quote:
..probable does get set but it is cleared on reset...:confused:


After clearing SYSRST, it is set again (as expected) after NVIC_SystemReset() at my 1343.
0 Kudos
Reply

1,359 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by atomicdog on Fri Jun 10 16:24:06 MST 2011
...
0 Kudos
Reply

1,359 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jharwood on Fri Jun 10 10:08:18 MST 2011
Just a guess: since none of Reset Pin, POR, WDT or BOD are set, it implies that there must have been a software reset.  So there are five different possibilities
0 Kudos
Reply

1,359 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by stanislaw on Fri Jun 10 08:43:03 MST 2011
There is reset but bit SYSRST stay 0.
0 Kudos
Reply

1,359 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Jun 10 08:30:33 MST 2011
So  NVIC_SystemReset() isn't executed ?? No jump, no RESET ?
0 Kudos
Reply