https://interrupt.memfault.com/blog/cortex-m-fault-debug
Some of the things found when using CubeIDE with nasam.
1) No Timer Interrupt/ No branch to task
As the vector table and remapped vector table are same and vector table is placed in ROM, the define interrupt function does not register the Timer interrupt.
Since some other function svc handler was linked without using yours, the SVC which is used to branch was not at all working
2) After using miine, there was an exception.
Since the `type` property of function was not used in the assembly, the SVC hander was not added +1 for Thumb mode. So, after jumping there, the Hardfault hander was raised.
No comments:
Post a Comment