Quality RTOS & Embedded Software

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


General Exception ulCause and ulStatus codes

Posted by The Hoplite on January 22, 2009
Hello all,

What do the numbers in ulCause and ulStatus in _general_exception_handler mean? I've tried searching the source code for the function name to see what was calling it but couldn't find anything. I presume there's a table somewhere in the code which describes what the error codes mean?



RE: General Exception ulCause and ulStatus co

Posted by MEdwards on January 22, 2009
I'm _guessing_ you are talking about PIC32, in which case the values hold the value of the cause and status registers when the exception occurred. You have to look at the PIC32 hardware manual to know what the values mean.

RE: General Exception ulCause and ulStatus codes

Posted by The Hoplite on January 22, 2009
Yes you're right - thanks for the info!

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

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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

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