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.

Understanding Memory Needs



Hello,

I am very new to TI DSP programming and code composer. I am working on a project that is implementing some PID control system tuning algorithms on to a DSP via c++. At this point I do not have any physical hardware and am doing everything in simulation to check if it is working. My code is from scratch albeit two sources that do polynomial root finding and LP solving. I have successfully compiled and linked the project in code composer and ran it on the c674x simulator. Though considerably slow, it did run and function correctly.

I talked with a TI support rep over the phone a while ago before I even installed code composer, looking for help on choosing the right DSP. He suggested I get it all working in CCS and then analyze the memory reqs and other aspects of what the code requires. I am at that point now and have no idea where to begin in figuring out which DSP to use. In the beginning I had a lot of memory problems with the simulator but then discovered stack/heap size specification in the project properties. I made the stack and heap really big just to see if it worked (it did) and now I want to know what is the minimum stack/heap size I can make. Trial and error is not really an option due to this post(http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/216216.aspx).

Also I have been reading a lot about memory maps and specifying which parts of your code go into which memory registers/locations? What are good sources/tutorials on this and do I even need to worry with it? 

Lastly I am just discovering SYS/BIOS but have no idea if it is something I should apply to my project or what its benefits are?

any thoughts/suggestions/ideas/help would be greatly appreciated.

Thanks,

Aaron