Dear all, Recently happened to investigate an exception issue due to raising of exceptions from ISRs. I am using ARM based custom processor with vxworks 5.5.I have the following doubt:
The vxworks manual states that when ever an exception happens from ISR the system will get rebooted and it will print the reason behind exception on system console. My doubt is where exactly in physical memory is this exception related info stored?One of my colleague says it stores in SDRAM and which is configured in config.h of the BSP. I am not convinced by the reply,because when ever system reboots is it not that the SDRAM contents get cleared?My colleague argues that during
cold boot SDRAM contents are not cleared.
I wanted to confirm what he says is correct?How does the processor/OS ensure RAM contents not to be cleared incase my colleague is correct? What exactly is the difference wrt to memory contents when doing a cold
boot and warm boot?I understand cold boot will not have any memory contents other then in ROM.But I want to know RAM related stuff.I would
also like to know role of NVRAM here.I read that in nvram there will be
a cookie variable stored to decide whether its warm or cold boot.Is this understanding correct?
Advanced thanks for all your replys and looking farward for the same, Regards, s.subbarayan P.S:I posted this query in vxworks group also but since topic is generic in any processor /OS I am posting it here to attract more replys.Sorry incase this is wrong place to discuss.