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).
#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?
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.