I am getting a "Stopped by vector catch". This isn't particularly informative. How does one find the code location where the fault is generated?
Thanks
I am getting a "Stopped by vector catch". This isn't particularly informative. How does one find the code location where the fault is generated?
Thanks
Hi.
A vector catch means that a debug event was generated by entry to a particular exception handler or reset.
You can read more about vector catch in the ARMv8-M Architecture Reference Manual: https://static.docs.arm.com/ddi0553/a/DDI0553A_e_armv8m_arm.pdf#G17.9101008
What it means, is that while you were debugging your application, an exception occurred, which caused the debugger to stop the execution. You can then inspect the registers in the CPU to help identify the cause of the exception.
Best regards,
Didrik
Is there anything in SEGGER to indicate where the problem occurred?
In Segger Embedded Studio, when debugging, you should have a panel in the bottom right corner called "Registers".
In that panel, you can read the value of the various registers on the chip. For more information, you should check ARMs documentation for the ARMv8-M architecthure and Cortex M-33 CPU.
You might also get some information from the call stack which is shown in a different panel.
In Segger Embedded Studio, when debugging, you should have a panel in the bottom right corner called "Registers".
In that panel, you can read the value of the various registers on the chip. For more information, you should check ARMs documentation for the ARMv8-M architecthure and Cortex M-33 CPU.
You might also get some information from the call stack which is shown in a different panel.