Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
How can i monitor where an HardFault_Handler (for example) exception occured? which function, paramter or line rised this exception.. i think i would need to add a fuction to Handler functions so it will save the stack path to flash memory so i could watch it from the map file.
does it has to be an inline assembly function?
i would welcome any suggestion :)
thanks!
I think you'll find that article is using GCC - not Keil.
Inline assembler is very much an Implementation-Defined thing!
Take a look at the Keil App Note:
http://www.keil.com/appnotes/docs/apnt_209.asp