Hi, I am working on the MPC5644. Recently when I am doing some functional source code developments, when I am calling a function like the following, I mean contains a local variable and the use of pointer, that the software will keep resetting. If I do not make the call, then the software keeping resetting will not happen. I checked in Lauterbach that if the call is used, the IP address will always be 0xFFFFFFFC.
I would like to ask that from your experience, for the chip MPC 5644, if I would like to find the real cause of the software exception and the make a modification of the currently mistake, which points I can take considerations from and how I can try and debug to find the solution.
void gvFUCA(void)
{
uint16 usFUNCRawValKl30F = 0;
float32 fFUNCPhyValkl30F = 0;
boolean bADFUNCKl30F;
bADFUNCKl30F = gbGetADValue(eKL30_F_ADC, &usSOPTRawValKl30F,&fSOPTPhyValkl30F);
}
hello, information seems not enough. let me try.
I noticed you pass '&fSOPTPhyValkl30F' as the a pointer.
But there is no declaration of this variable -- fSOPTPhyValkl30F
How is the variable fSOPTPhyValkl30F declared?
Is it possible that you try to access invalid adress?