Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Missing Undefined exception handler for CORTEX_A9_Zynq_ZC702

Posted by sssf on January 9, 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.0FreeRTOSDemoCORTEXA9ZynqZC702RTOSDemobspps7cortexa90libsrcstandalonev54srcvectors.c

After some more searching around I found two vector tables one in: FreeRTOSv10.0.0FreeRTOSDemoCORTEXA9ZynqZC702RTOSDemosrcFreeRTOSasmvectors.S and one in: FreeRTOSv10.0.0FreeRTOSDemoCORTEXA9ZynqZC702RTOSDemobspps7cortexa90libsrcstandalonev54srcasmvectors.S

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.

Missing Undefined exception handler for CORTEX_A9_Zynq_ZC702

Posted by rtel on January 9, 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?


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS