Missing Undefined exception handler for CORTEX_A9_Zynq_ZC702

sssf wrote on Tuesday, January 09, 2018:


I am using FreeRTOS on the Xilinx7030, this has the ARM CORTEX A9 processor. I am using the GCC compiler.
Normally you might use the FreeRTOS environment provided by Xilinx, but I integrated FreeRTOS 9.0.0 separately into our application.

I have implemented custom exception handlers to ease the pain of such events. I have tested it with data abort exceptions because they are the easiest to create. I never tested them with unhandeld exception and today I just got one of these unhandled exception.

At that point I found out that for the unhandled exceptions the event is not forwarded correctly to the handler function in FreeRTOSv10.0.0\FreeRTOS\Demo\CORTEX_A9_Zynq_ZC702\RTOSDemo_bsp\ps7_cortexa9_0\libsrc\standalone_v5_4\src\vectors.c

After some more searching around I found two vector tables
one in:
and one in:

Currently I am using FreeRTOS_asm_vectors.S and this one is missing the forwarding call to vectors.c

Is there a reason I just don’t know that the exception is not forwarded to vectors.c?

Please let me know if this is the wrong place to ask, I might need to post it into the Xilinx forum.

rtel wrote on Tuesday, January 09, 2018:

Can you please open the reference demo documented on the link below,
which you will find in the FreeRTOS kernel download, and see which
vector table it is building and if it handles exceptions as you expect.
If not, what needs to change in the demo?