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.
00AE85 761F MOVW DP,#0x032D 00AE87 C534 MOVL XAR7,@52 00AE88 3E67 LCR *XAR7 00AE89 761F MOVW DP,#0x032D
Hi Irfan,
Check these links out: they all emphasize on heap size
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/100641.aspx
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/289895.aspx
Regards,
Gautam
Thanks Gautam,
But I am not using DSP BIOS and therefore I have no mechanism to precisely determine the heap usage.
BR,
Irfan
Irfan,
From a C reference below:
"To allocate memory on the heap, you must use malloc()
or calloc()
, which are built-in C functions. Once you have allocated memory on the heap, you are responsible for using free()
to deallocate that memory once you don't need it any more. If you fail to do this, your program will have what is known as a memory leak. That is, memory on the heap will still be set aside (and won't be available to other processes)"
Please check the above and revert.
Regards,
Gautam
Gautam,
I am doing the same for deallocating the memory, but my error arises while I am still in the malloc() function. The assembly lines in the first post of mine are from malloc() function.
BR,
Irfan
Irfan, you're facing some kind of memory conflict. I would suggest you to wait for another half day to get some response from TI employee :)
Regards,
Gautam
Gautam, I think I digged the problem, but I have to verify it. As I have told that I am not using DSP BIOS and instead tried to develop my own BSP. When I looked back and debugged, I found that I am missing _c_int00 for copying initialization tables.
Thanks & Regards,
Irfan