Quality RTOS & Embedded Software

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


PIC32, _general_exception_handle, call stack?

Posted by Robert H. Oujesky on June 2, 2011
Getting a lot better with PIC32 and FreeRTOS, but I have a real basic question. If I set a breakpoint in _general_exception_handle, how do I find out how it got there? the call stack does not help. Makes sense, since the program just kinda vectors there......
Is there a method that I am not aware of other than stepping and "discovering"? Trying to debug some USB stuff and things go real quick! :)


RE: PIC32, _general_exception_handle, call stack?

Posted by MEdwards on June 2, 2011
There is nothing in FreeRTOS that will give you that information, and probably nothing in the PIC32 manual either. You would have to reference the MIPS architecture manual for the call stack information. If the PC is not stored in the call stack, then it must be in a register somewhere, the MIPS M4K manual will tell you.

[ 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