Hello Community,
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
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?
Regards,
Trey
Trey German
C2000 Applications
Hello Trey,
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.
Regards Lukas