Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Ads

Discussion Groups

Discussion Groups | TMS320C55x | CCS3.1 Heap problem

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

CCS3.1 Heap problem - dpn...@dsp-bg.info - Jun 26 9:25:37 2006



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



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )