Hi,
We are trying to port our EW application from V9.30 to V11.00. After porting, during run time, our system is getting a hard fault. While debugging, the stack shows the last call was to this function - EwMathRandInt32(). Inside this function, the last hitting point was rand(). There seems to be an issue with memory allocation. (rand() function uses malloc() - which returns a data section address). We are not able to trace the location of this function call.
The same function is used V9.30 but we did not face any such issues.
Is it OK to use our own logic to generate random number inside EwMathRandInt32() or is there any other way out?
NOTE: There are no hardware changes. Only the EW upgradation is involved.
Could you please help us out.
Thanks in advance!