Quality RTOS & Embedded Software

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




Loading

Port for AT89C51ED2

Posted by Top1 on August 29, 2006
Hi all. I am trying to do a port for Atmel AT89C51ED2 (type 8052 as Cygnal) derived from port for Cygnal. AT89C51ED2 have 1792 bytes of XRAM. I have only three tasks, idle ,vErrorChecks and my test task. When the perogram try to do first time xTaskCreate it does not succeed to allocate memory (pvPortMalloc=NULL).
I have
#define configMINIMAL_STACK_SIZE( ( unsigned portSHORT ) 200 - ( unsigned portSHORT ) configSTACK_START )
#define configTOTAL_HEAP_SIZE( ( size_t ) ( 1 * 896 ) )

Is XRAM of AT89C51ED2 sufficient for this port or the problem is elsewhere?


[ 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