Forums » Software Development »
Any special thing to get new ObjectXXX to work.
Added by Edwin McKay over 8 years ago
I am new'ing an object and stepping through the assembly I end up in SYS_error with an error of 1 and a message of "MEM". (I think that was the word...).
I tried some simple "new int" and they worked ok. Without more work, I'm not sure of the size of the object I am creating.
Do I have to do something with the MEM_xxx routines to set something up? I think there is some heap setup. I'm not sure how to check size or starting point.
I have started with a another project's setup files.
Using CCS 5.5 on a DBRIC3 (MityDSP OMAP 138)
Replies (1)
RE: Any special thing to get new ObjectXXX to work. - Added by Gregory Gluszek over 8 years ago
Hi Edwin,
Your project should have a .tcf file. This should define how memory is configured and how large your heap is. Note that most likely you will need to edit this as a text file as CCSv5 does have GUI support for .tcf files.
Thanks,
\Greg