Quality RTOS & Embedded Software

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




Loading

System Reset while using FreeRtos

Posted by Nobody/Anonymous on April 8, 2007
hi
I am using freertos with AVR Mega128. But there seems to some problem, as my system resets after some time.

Recently I called a funtion from task (with local functions from task as local variable), the system reseted it after some time. When I made those variable global, the code worked fine. Now I have added some further code ,the problem is recurring again. Reason is different this time, I dont know :(

Please tell me the various conditions in which freertos performs system reset.

RE: System Reset while using FreeRtos

Posted by Nobody/Anonymous on April 8, 2007
Most likely you are running out of stack. Making the variables global will mean that the function uses less stack. Try increasing the stack size allocated to the offending task.

RE: System Reset while using FreeRtos

Posted by Nobody/Anonymous on April 10, 2007
If you are using Watchdog timer then system reset after defined interval for WDT.


[ 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