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

Exceptions

Hi there,

I am using Keil uVision v4.71.2 with NXP LPC11U35. What I would like to ask is whether an exception is thrown at a Stack overflow? At the HardFault_Handler how can I determine the type of the exception and if possible the address of assembly where it was thrown?

Thanks in advance.

Parents
  • Hi Pier,

    Thank you for your answer.

    So if I understood correctly, I can move the stack to the start of memory and when an overflow occurs an exception will be thrown for the invalid address? If yes can you tell me how can I move the stack area?

    Thanks again.

Reply
  • Hi Pier,

    Thank you for your answer.

    So if I understood correctly, I can move the stack to the start of memory and when an overflow occurs an exception will be thrown for the invalid address? If yes can you tell me how can I move the stack area?

    Thanks again.

Children
No data