my programm of main function is as follows:
I use the fs_etpu_init funtion,and fs_etpu_ic_init function to capture rising edges of signal without changing any parameters of function. I still can't find out why this programm runs well in RAM ,but can't run in Flash of MPC5634.
Anybody can help?
Hi, eTPU code always run from RAM (to be more precise from eTPU RAM), it is copied during startup from code memory to eTPU code RAM.
I suppose it does not properly with internal FLASH target? Does the issue happen debug flash code or only during standalone without debugger?
Thanks David.It happens during debug flash code.And if the programme doesn't properly with internal Flash target,how can I make sure that my programme could be saved when power off. I am not familiar with eTPU,and do you have any suggestions about debug this programme?