Has anyone used the standard template library vector class on the DSP side of the OMAP-L138?
I have a large memory intensive algorithm that is being adapted from a corresponding MATLABprogram and up til now have been using STL vector with success, albeit the expected performancehit. At the moment speed is not as important as algorithmic correctness.
I have just discovered that at a certain point in my algorithm during the instantiation ofa vector object the memory that is occupied by the vector object conflicts (lies on top of) of a previously allocated vector object. The heap does not appear to be exhausted as I have set aside approx 12 Mbyte for theheap
in the DSP-BIOS configuration and the returned address for the object
appears to indicate that only about 1Mbyte has been utilizedat the time of the strange behavior.
I am using tool chain version 6.1.9 under Code Composer Studio v. 3.3
I was wondering if anyone else has experienced this in use of the vector class or if this is known behavior and there is a remedy.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.