lpcware

malloc failure

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by lifejoker on Mon Mar 10 01:38:57 MST 2014
hi,i download lpcopen_2_09_keil_iar_keil_mcb_4357 from here, and try to debug the project Freertos_tcpecho-iflash_keil_mcb_4357.
i use LPC4357 as the main CPU as the example, and also use DP83848 PHY. But everytime when it ran to
sys_thread_new("receive_thread", vPacketReceiveTask, netif->state,
   DEFAULT_THREAD_STACKSIZE, tskRECPKT_PRIORITY);
in lpc18xx_43xx_emac.c, there was a malloc mistake and went directly into vApplicationMallocFailedHook().

it is my first time to use freertos and Lpc4357, i have no idea what happend.
what should i do ?
Thanks

Outcomes