Other Parts Discussed in Thread: TM4C1290NCPDT
Tool/software: Code Composer Studio
CCS 7.2.0.00013
TI v16.9.6.LTS
m_ucArcnetInputBuffer = (uint8_t*)calloc((ucNumMsgs*MAX_USB_MESSAGE_SIZE),sizeof(uint8_t));
{
UARTprintf("Dynamic Memory Allocation Failed");
STATUS_DATA_SetLastErrorCode(ERROR_REPM_DYNAMIC_MEMORY_FAIL);
//Return response (Error)
ARCNET_SendCommandRespMsg();
return;
}
MAX_USB_MESSAGE_SIZE = 64
I am getting the dynamic memory allocation failed error when I run the application too
many times. Occasionally, the error doesn't happen. Attached are the linker basic option settings.
Why am I getting this error and do these linker settings need to change?
These values were increased past the default values (max values displayed). Increasing
them doesn't seem to make a difference with this error.
Thank you,
Priya