This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex M0 - Returning from Interrupt

Dear Concern

 I connected the CMSDK timer example with the Cortex - M0 processor. I have written exception handler for a timer in assembly code. After a certain moment interrupt is generated from the timer module in CMSDK. I see that the processor enters the exception handler for the first time and executes the handler and stays there.  Please check the timer handler which basically sends a digit to a peripheral when triggered. The code is provided below. The processor does not return to the reset handler from the timer handler. I see that the processor when enters the timer handler for the first time responds to the interrupt and in the end of executing the timer handler provides the address like fffffff8. fffffff8,..fffffffc.....fffffffc...00000004 then gets stuck. The processor does not provide the other addresses. As a result, it does not go to reset handler hence does not respond to any peripherals. I am sharing the timer handler and reset handlers. Please help.

0