This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1352P: XDC Runtime error and Program not fit into available memory.

Other Parts Discussed in Thread: SYSBIOS

Hi,

         I'm just modified the pinterrupt example based on my project requirement. I can produce the executable file but while debugging, I'm facing an issue internally Xdc_Runtime_error.

/*
 *  ======== ti_sysbios_rts_MemAlloc_alloc ========
 */
static Void *ti_sysbios_rts_MemAlloc_alloc(SizeT size)
{
    Header *packet;
    SizeT allocSize;
    xdc_runtime_Error_Block eb;

    allocSize = size + sizeof(Header);

    /*
     * If size is very large and allocSize overflows, the result will be
     * smaller than size. In this case, don't try to allocate.
     */
    if (allocSize < size) {
        return (NULL);
    }

    xdc_runtime_Error_init(&eb);

    packet = (Header *)xdc_runtime_Memory_alloc(NULL, allocSize, 0, &eb);

    if (packet == NULL) {
        return (NULL);
    }

    packet->header.actualBuf = (Ptr)packet;
    packet->header.size = allocSize;

    return (packet + 1);
}

So, I tried to change the (target).cmd file Heapsize and program stacksize from a reference working ( sensor and collector example modified project ). #10099-D: program will not fit into available memory error occurred.

How do I edit .cmd file to allocate more space? 

It would be immense help if anyone assist me.

Regards,

Keerthivasan