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.0FreeRTOSDemoCORTEXA9ZynqZC702RTOSDemobspps7cortexa90libsrcstandalonev54srcvectors.c
After some more searching around I found two vector tables
and one in:
Currently I am using FreeRTOSasmvectors.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.
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?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.