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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

646件の閲覧回数
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? 

タグ(1)
0 件の賞賛
2 返答(返信)

555件の閲覧回数
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 件の賞賛

555件の閲覧回数
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 件の賞賛