I'm having trouble with malloc function call while creating a sample project for S32G M7_0 core in S32DS 3.4, as the malloc call has jumped to an exception. Here is my snippet code:
p = (void *)malloc(100);
During debugging, I have seen that the exception occurred while malloc was trying to write to DDR (0x68A00010), however the DDR wasn't initialized yet, so I have tried to initialize the DDR, but the issue was the same.
Is there anything so far that could be the root-cause?
All support to S32G processors is currently done via tickets. I will contact you by e-Mail for this time to give some basic suggestions, to receive more help please open a Support Case.