Other Parts Discussed in Thread: TMS320F28335
Hello All,
I am using the TMS320F28335 Delfino Experimental kit. I am facing few problems running the code from the flash and need your guidance.
In my code for the 3-phase system, I have multiple arrays, I have combined the RAM sections to accommodate them. I have also increased the stack size to 0x380.
RAML4L6 : origin = 0x00C000, length = 0x003000
I required to add 5 more array each of size 200 but faced the following problem.
Code running from RAM, less array, code work fine.
Code running from Flash, less arrays, code works fine
Code running from RAM, more arrays, "Program will not fit into memory"
Code running from Flash, more arrays, ILLEGAL ISR.
After step wise execution, it was observed that when the control tries to exit a function with a float32 calculation, it goes into ITRAP0 and then into ILLEGAL ISR.
I commented that float32 function call then the code executes fine until it encounters another float32 calculation. I have concluded that the problem has something to do with memory as the code works fine with less arrays with the same float32 functions.
Awaiting for your valuable response.