Quality RTOS & Embedded Software

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


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


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

Latest News

Version 10.1.0 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.


Careers

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

Renesas

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