Quality RTOS & Embedded Software

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


Loading

Missing Undefined exception handler for CORTEX_A9_Zynq_ZC702

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

https://www.freertos.org/RTOS-Xilinx-Zynq.html


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


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

Careers

FreeRTOS and other careers at AWS.


Latest News

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


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

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

Xilinx Microblaze and Zynq partner