Quality RTOS & Embedded Software

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




Loading

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! :)

thanks!

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 ]    [ Sitemap ]    [ ]




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

Latest News

FreeRTOS kernel V10 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