sssf wrote on Tuesday, January 09, 2018:
Hi!
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:
FreeRTOSv10.0.0\FreeRTOS\Demo\CORTEX_A9_Zynq_ZC702\RTOSDemo\src\FreeRTOS_asm_vectors.S
and one in:
FreeRTOSv10.0.0\FreeRTOS\Demo\CORTEX_A9_Zynq_ZC702\RTOSDemo_bsp\ps7_cortexa9_0\libsrc\standalone_v5_4\src\asm_vectors.S
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.