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.

Larger Stack

Other Parts Discussed in Thread: TMS320F2808

I am starting a project with a TMS320F2808.  Running the examples and simple programs I've written work fine.  However, when I try to use sprintf or use malloc things seem to start going wrong.  From what I've read sprintf needs a larger stack than the stack provided in the example cmd files.  So far I have not been able to move the stack to another location or increase the size without random crashes or random ISR calls.  I would be grateful if somebody could point me to some docs on how to configure the  memory blocks or better yet provide a cmd file that has larger sections set up. 

Also I've notice that the stack pointer starts at a low address and grows to a higher address.  The docs say that the stack should start at the high address in decrement down.  Is this part of my problem?

Thanks!

Andy