Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
Hello all, Recently I decided to check CCS 3.1 evaluation version. The code was working perfectly on 2.21 but now I face a heap problem. I use command file for the linker as 3.1 doesn't support visual linker I have specified the heap size in this file and I have allocated the .sysmem segment in DARAM1 I use the large memory model and I add the libray rts55x.lib I dump (through serial interface) the memory address returned by malloc function which is used intensively in my code. My heap starts at 0x4000 [Word address] and the first address I get is correctly 0x4002 then I get several correct allocations but suddenly I get again 0x4002 as a result of malloc. I am sure that I don't free the pointer (0x4002) I was previously allocated. I think that most probably I don't specify something which is critical for malloc working or there is a mistake in malloc from rts55x.lib with CCS 3.1. Is there someone who has observed the same problem? Best Regards Mitko