programm about eTPU can not run in the flash of MPC5634,but performs well in RAM of MPC5634

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

programm about eTPU can not run in the flash of MPC5634,but performs well in RAM of MPC5634

641 Views
2039759305
Contributor I

my programm of main function is as follows:pastedImage_2.png

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? 

Tags (1)
0 Kudos
2 Replies

550 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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?

0 Kudos

550 Views
2039759305
Contributor I

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?

0 Kudos