Is there anyway to know the way OMAP got reset
Is there anyway on OMAP systems (or in general in embedded systems) to know a way in which the processor was reset, after the reset. I am using a system based on OMAP5912 OSK and its getting reset for no known reason. Thanks in advance, Suresh -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: Is there anyway to know the way OMAP got reset
Suresh Rajashekara wrote: Is there anyway on OMAP systems (or in general in embedded systems) to know a way in which the processor was reset, after the reset. I am using a system based on OMAP5912 OSK and its getting reset for no known reason. Not sure about the OMAP5912, but at least on the OMAP3430, there is a register (PRM_RSTST) that can logs the global reset sources. Reading this register after the reset should tell you the cause of the last reset. Maybe there is something similar in the OMAP5912. - Anand -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: Is there anyway to know the way OMAP got reset
Not sure about the OMAP5912, but at least on the OMAP3430, there is a register (PRM_RSTST) that can logs the global reset sources. Reading this register after the reset should tell you the cause of the last reset. Maybe there is something similar in the OMAP5912. You can look at the ARM_SYSST register on the 5912. This should tell you the source on the reset (external, watchdog, software, etc) that occured. Jon-- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html