i'm working with tms320f28035. At the moment i have a several problem with the stack size. One idea to enlarge the stack is to store constant data, wich i receive over i2c, in the on chip flash. Is this possible without using the flash api?
Best regards Lukas
To program the flash in an application, the flash API must be used. There is no way to do what you've suggested without it.
Perhaps you could allocate a buffer in RAM to store this constant data instead of using variables that will be placed on the stack?
i suspected this. I don't think that this will solve the problem because the stack overflow take place without accessing these data.The workaround is as follows, i have about 0x300h ram left in L0+L1 and a 0x320h stack in M0. The only way I see to maximize the stack is to minimize the data section instead.
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.